Search found 64 matches

by st268
Fri Jun 10, 2016 2:15 pm
Forum: code_saturne usage
Topic: Expression check failed unexpectedly
Replies: 6
Views: 9870

Re: Expression check failed unexpectedly

Thanks again!

I will try installing v4.0 out of interest though, could you provide a link to where other users have had PyQt/Qt problems using dialog box in different softwares? I can't find anything but that will no doubt be down to my very shallow understanding of the problem!

Thanks
by st268
Thu Jun 09, 2016 1:30 pm
Forum: code_saturne usage
Topic: Expression check failed unexpectedly
Replies: 6
Views: 9870

Re: Expression check failed unexpectedly

Thanks for your reply!

The error comes whenever I use the mathematical expression editor, not just the initialisation box.

I have version 4.0 on a different computer (also a mac, el capitan)) which works fine. I have not tried 4.0 on this computer.

I am using a Mac Pro (mid 2010) El Capitan, 2x2 ...
by st268
Thu Jun 09, 2016 1:22 pm
Forum: code_saturne usage
Topic: periodic channel flow pressure checker boarding
Replies: 0
Views: 40067

periodic channel flow pressure checker boarding

cs_user_source_terms.f90 Hello,

I am trying to model a simple channel flow (I have tried with two rough walls or two smooth) using LES where the flow is periodic between the outlet and inlet. Xml and source files attached.

I am consistently getting an error where after roughly one domain traverse ...
by st268
Thu Jun 09, 2016 11:25 am
Forum: code_saturne usage
Topic: Expression check failed unexpectedly
Replies: 6
Views: 9870

Expression check failed unexpectedly

Hello,

I am working with cs v 4.1 and have run into an error when using the mathematical expression editor. It doesn't matter what xml file I open, or if I start from a brand new one, it won't let me change the values I have in for my velocity initialisation.

I get a warning saying "Expression ...
by st268
Sat Jan 09, 2016 12:07 pm
Forum: code_saturne usage
Topic: free surface initial displacement initialization
Replies: 20
Views: 22399

Re: free surface initial displacement initialization

Hello and happy new year,

I am still struggling with this. Is Martin currently active on the forum? Or anyone who is knowledgeable about the free surface side of code_saturne? Or should I be enquiring somewhere else?

Thanks
by st268
Thu Dec 17, 2015 12:27 pm
Forum: code_saturne usage
Topic: free surface initial displacement initialization
Replies: 20
Views: 22399

Re: free surface initial displacement initialization

Thanks Yvan,

I do use the Doxygen pages a lot but I guess in this case I can't find a variable in an old tutorial so don't have a starting off point for what I am looking for other than asking on this forum.

Could you confirm that depale, impale and xyzno0 are what I should be using to initialise ...
by st268
Mon Dec 14, 2015 7:36 pm
Forum: code_saturne usage
Topic: free surface initial displacement initialization
Replies: 20
Views: 22399

Re: free surface initial displacement initialization

Hello,

So I need to initialise impale and depale with something like:

call field_get_val_s(ivarfl(),impale)
call field_get_val_v(ivarfl(),depale)

Here is part of my issue. I do not know what the variable is I should be calling! I took the impale, depale stuff from the ALE tutorial, and redefined ...
by st268
Mon Dec 14, 2015 6:02 pm
Forum: code_saturne usage
Topic: free surface initial displacement initialization
Replies: 20
Views: 22399

Re: free surface initial displacement initialization

Hi Yvan,

So it is now working with the GUI only, though of course this does not fully define my case since I need the free surface to be initially displaced which I cannot do through the GUI.

When I include my cs_user_initialisation script to do this it exits with a memory error:
"SIGSEGV signal ...
by st268
Mon Dec 14, 2015 4:17 pm
Forum: code_saturne usage
Topic: free surface initial displacement initialization
Replies: 20
Views: 22399

Re: free surface initial displacement initialization

Hi Yvan,

I set it up with the GUI and only the cs_user_initialisation subroutine and it crashes with the same error so I guess it is in that subroutine! I have posted on an older post where I was discussing setting up a standing wave with Martin Ferrand (http://code-saturne.org/forum/viewtopic.php ...