Search found 2502 matches

by Yvan Fournier
Fri Feb 15, 2019 10:22 pm
Forum: Code_Saturne usage
Topic: Neumann and Dirichlet conditions in subroutines
Replies: 3
Views: 33

Re: Neumann and Dirichlet conditions in subroutines

Hello, The Doxygen doc should also be in 4.0 If I remember correctly, but is not installed on this web site. In any case, this specific file has not changed much between versions 4.0 and 5.0, so the Doxygen doc from version 5.0 should mostly do. Also, in a regular case, in SRC/EXAMPLES you will have...
by Yvan Fournier
Fri Feb 15, 2019 7:55 pm
Forum: Installation issues
Topic: Starting calculation
Replies: 10
Views: 81

Re: Starting calculation

Hello, Yes, we had observed this also. One difference is that the "check mesh" directly runs an executable through Python while running a full case runs a shell script (which itself calls Python code). This is why I asked if you used a shell different than bash (just in case)... So we know the issue...
by Yvan Fournier
Fri Feb 15, 2019 7:52 pm
Forum: Code_Saturne usage
Topic: Reduction in time step leads to divergence of velocity
Replies: 1
Views: 23

Re: Reduction in time step leads to divergence of velocity

Hello, This is strange, but could be linked to several factors, possible the Rhie & Chow filter, or some other instability (in some LES cases adding a small amount of upwind, say 2% can help avoid some issues while not adding significant error). Also, your max CFL constraint leads to a very small me...
by Yvan Fournier
Fri Feb 15, 2019 7:46 pm
Forum: Code_Saturne usage
Topic: Neumann and Dirichlet conditions in subroutines
Replies: 3
Views: 33

Re: Neumann and Dirichlet conditions in subroutines

Hello, It might work, but I do not recommend checks such as if (nscal.gt.0) then followed by: ii = 3 Because the two tess are not consistent. if (nscal.gt.3) then would be better in this case. I recommend looking at examples in the src/user_examples or better using the Doxygen documentation for more...
by Yvan Fournier
Fri Feb 15, 2019 12:11 pm
Forum: Code_Saturne usage
Topic: steady/unsteady flow algorithm
Replies: 1
Views: 11

Re: steady/unsteady flow algorithm

Hello,

This is not a bug. To improve the logic of options grouping (and make them more consistent with the internal workings of the code), the "steady/unsteady" option has been moved to the time step managment page.

Best regards,

Yvan
by Yvan Fournier
Wed Feb 13, 2019 1:43 pm
Forum: Installation issues
Topic: Starting calculation
Replies: 10
Views: 81

Re: Starting calculation

Hello, I was not able to reproduce the issue on a Ubuntu 18.04 VM (under VirtualBox) runningon another Linux machine... Trying to think of other factors that might change from one machine to another, do you have environment modules loaded or use another shell than bash ? I assume no, but if it is th...
by Yvan Fournier
Tue Feb 12, 2019 6:57 pm
Forum: Code_Saturne usage
Topic: Can't use subroutine to define thermal conductivity
Replies: 8
Views: 39

Re: Can't use subroutine to define thermal conductivity

Hello,

This seems ok, but I recommend checking (for example printing) your value of ifcvsl first. If it is not correct, checj values from which it is built (isca, iscal(isca), ...).

Regards,

Yvan
by Yvan Fournier
Tue Feb 12, 2019 3:41 pm
Forum: Code_Saturne usage
Topic: Can't use subroutine to define thermal conductivity
Replies: 8
Views: 39

Re: Can't use subroutine to define thermal conductivity

Hello, For the undefined field, you probably did not define ifcvsl correctly. As for your simple subroutine, since you did not initialize cpro_vscal, it can fail or crash in strange manners, but is not correct. If you defined the thermal conductivity in the GUI, you do not need a user subroutine for...
by Yvan Fournier
Tue Feb 12, 2019 12:25 pm
Forum: Code_Saturne usage
Topic: Can't use subroutine to define thermal conductivity
Replies: 8
Views: 39

Re: Can't use subroutine to define thermal conductivity

Hello,

You did not call field_get_val_s on cpro_scalt, so it is probably not initialized, which can explain the crash.

Regards,

Yvan
by Yvan Fournier
Mon Feb 11, 2019 3:03 pm
Forum: Installation issues
Topic: Starting calculation
Replies: 10
Views: 81

Re: Starting calculation

Hello, I can try to check this on another Ubuntu 18.04 install on VirtualBox. which version of Qt is installed/detected in your case ? I would assume Qt 5 and not Qt4, but both might be possible based on the packages you have. If you can post your config.log for Code_Saturne 5.3.2, I can determine t...