Search found 4119 matches

by Yvan Fournier
Thu Jul 25, 2024 12:42 am
Forum: code_saturne usage
Topic: Usage of "field_get_coefaf_s" subroutine
Replies: 2
Views: 315

Re: Usage of "field_get_coefaf_s" subroutine

Hello, These arrays are "preprocessed" boundary condition codes (that are subject to a redesign in a future version), built from the icodcl/rcodcl arrays described in the user documentation. They match the a/b/af/bf coefficients described in the theoretical documentation's section on bound...
by Yvan Fournier
Thu Jul 25, 2024 12:33 am
Forum: code_saturne usage
Topic: Problem with cs_user_initialization not passing the values
Replies: 13
Views: 1592

Re: Problem with cs_user_initialization not passing the values

Hello, Your setup seems to be for v7.0. Could you try it in v8.0 ? Also, running the code in debug mode, I get a Fortran error in src/cogc/colecd.f90, line 607 (for v7.0), because iico2 is 0 (i.e. there is no CO2 variable), probably because the is no CO2 variable entry in your thermochemistry file. ...
by Yvan Fournier
Fri Jul 12, 2024 4:30 pm
Forum: code_saturne usage
Topic: Problem with cs_user_initialization not passing the values
Replies: 13
Views: 1592

Re: Problem with cs_user_initialization not passing the values

Hello,

Yes. The idea If you are not familiar with a debugger, I can do a quick test on my side (it seems all the required files are in your archive). Just remind me which version of the code you are using.

Best regards,

Yvan
by Yvan Fournier
Fri Jul 12, 2024 1:06 pm
Forum: code_saturne usage
Topic: Problem with cs_user_initialization not passing the values
Replies: 13
Views: 1592

Re: Problem with cs_user_initialization not passing the values

Hello, I suspect a reinitialization, but am not sure where it happens. If you are familiar with using a debugger, putting a breakpoint in your user initialization, and putting a watchpoint on the first value of one of your initialized fields would certainly help find this quickly. Otherwise adding &...
by Yvan Fournier
Thu Jul 11, 2024 9:24 pm
Forum: code_saturne usage
Topic: Problem with cs_user_initialization not passing the values
Replies: 13
Views: 1592

Re: Problem with cs_user_initialization not passing the values

Hello, Did you check the return codes for calls to fread and fopen, to make sure data is read correctly ? What are the min/max/mean values indicated in the run_solver.log at the computation start ? Maybe data is read and reinitialized for this model (that would be considered a bug). Best regards, Yvan
by Yvan Fournier
Thu Jul 11, 2024 1:25 pm
Forum: code_saturne usage
Topic: Problem with cs_user_initialization not passing the values
Replies: 13
Views: 1592

Re: Problem with cs_user_initialization not passing the values

Hello, If You see the messages you added (""Time in cs_user_initialization-ANN.c" and "END !" in the run_solver.log file, then it confirms the function was called correctly. Otherwise, this is strange. Just in case, you can try renaming cs_user_initialization-base.c to cs_us...
by Yvan Fournier
Thu Jul 11, 2024 9:35 am
Forum: code_saturne usage
Topic: Problem with cs_user_initialization not passing the values
Replies: 13
Views: 1592

Re: Problem with cs_user_initialization not passing the values

Hello,

Which version of code_saturne are you using and on which system ? Have you successfully used other user-defined functions with this build before ?

Best regards

Yvan
by Yvan Fournier
Fri Jul 05, 2024 6:45 pm
Forum: code_saturne usage
Topic: Elliptic Blending RSM
Replies: 1
Views: 852

Re: Elliptic Blending RSM

Hello, I do not think the EBRSM module has ever been tested with the compressible module, though I do not know if tgere is any incompatibility. In any case, if using this midel in a compressible context requires specific/modified source terms this is probably missing. Also, the compressible model us...
by Yvan Fournier
Wed Jul 03, 2024 1:22 pm
Forum: code_saturne usage
Topic: Initialization from a 3D post-processing output using MEDCoupling: issue in iteration index
Replies: 1
Views: 682

Re: Initialization from a 3D post-processing output using MEDCoupling: issue in iteration index

Hello,

The iteration number and order (i.e. sub-iteration) in the MED file may depend on how that file was written, so using 1,1 might be the solution. If no field gets updated after that, there may be another issue, such as a mismatch in field names, shifter coordinates, ...

Best regards,

Yvan
by Yvan Fournier
Wed Jul 03, 2024 1:08 pm
Forum: Installation issues
Topic: 2 small errors in Dockerfile of wiki/Code_Saturne-in-a-Docker-container
Replies: 1
Views: 1100

Re: 2 small errors in Dockerfile of wiki/Code_Saturne-in-a-Docker-container

Hello,

Thanks for the feedback. I updated/fixed the wiki entry just now.

Best regards,

Yvan