Search found 3287 matches

by Yvan Fournier
Sun Apr 11, 2021 11:06 pm
Forum: code_saturne usage
Topic: Changing boundary faces to interior faces
Replies: 1
Views: 9

Re: Changing boundary faces to interior faces

Hello, In code_saturne, faces belonging to a single cell are boundary faces, faces belonging to 2 cells are interior faces (if the 2 cells are on different sides), and faces belonging to no cell are isolated faces (and discarded). Meshes with faces with more than one cells on the same side are rejec...
by Yvan Fournier
Sun Apr 11, 2021 10:59 pm
Forum: code_saturne usage
Topic: Stop to avoid exceeding time allocation on cluster system
Replies: 12
Views: 66

Re: Stop to avoid exceeding time allocation on cluster system

Hello,

Actually, the armtps function in cs_resource.c is not an input, but the actual function (the CS_PROCF macros is an old macro used for C/Fortran calls prior to Fortran 2003 iso-c-bindings, used in more recent code).

So you can set a "return" there.

Best regards,

Yvan
by Yvan Fournier
Fri Apr 09, 2021 6:34 pm
Forum: code_saturne usage
Topic: Axail fan modelling usin cs_fan.h
Replies: 18
Views: 4638

Re: Axail fan modelling usin cs_fan.h

Hello Luciano,

I might be able to find an old report (in French) in which 1 or 2 pages describe the model and might provide a reference. I need to do a bit of archeology on my machine, but I'll let you know.

Best regards,

Yvan
by Yvan Fournier
Thu Apr 08, 2021 7:53 pm
Forum: code_saturne usage
Topic: Stop to avoid exceeding time allocation on cluster system
Replies: 12
Views: 66

Re: Stop to avoid exceeding time allocation on cluster system

Hello,

No, simply running "make install" should be enough.

Do you still have the message about a time limit ? It is handled in the same file (cs_resource.c), so returning immediately should avoid it...

Best regards,

Yvan
by Yvan Fournier
Wed Apr 07, 2021 9:23 pm
Forum: code_saturne usage
Topic: ALE simulation v5.0.3 vs v6.0.2 discrepancy
Replies: 1
Views: 24

Re: ALE simulation v5.0.3 vs v6.0.2 discrepancy

Hello, Yes, all v5.0.z and v6.0.z are normally stable versions. Versions 5.0.0 and 6.0.0 contain all bug fixes detected at validation, and later versions either ports to other machines or additional bug fixes. Actually, I am not sure we have an "internal coupling" test case in the validati...
by Yvan Fournier
Wed Apr 07, 2021 9:07 pm
Forum: code_saturne usage
Topic: Stop to avoid exceeding time allocation on cluster system
Replies: 12
Views: 66

Re: Stop to avoid exceeding time allocation on cluster system

Hello, Regarding the parsing of the wall time, I will need to add a test for cases where squeue -h -j $SLURM_JOBID -o %L returns a multi-line answer. Otherwise, it is possible that the margin is not computed correctly. You can try editing src/base/cs_resource.c, and add a "return;" stateme...
by Yvan Fournier
Wed Apr 07, 2021 1:51 am
Forum: code_saturne usage
Topic: k-omega SST discrepancy between v516 and v530
Replies: 1
Views: 32

Re: k-omega SST discrepancy between v516 and v530

Hello Frank,, both versions 5.1 and 5.3 are "retired" versions, which were never fully validated (compared to v5.0, v6.0, and soon v7.0) and are not maintained anymore, so we only run these versions anymore, except as a last resort to trace a regression, when all other means fail, as this ...
by Yvan Fournier
Wed Apr 07, 2021 1:41 am
Forum: code_saturne usage
Topic: Stop to avoid exceeding time allocation on cluster system
Replies: 12
Views: 66

Re: Stop to avoid exceeding time allocation on cluster system

Hello, In the post-install step, in code_saturne.cfg, just set (uncoment) batch=SLURM. You can also replace SLURM with an absolute path name ending in SLURM, if you wand to defined you own header model rather than that defined in extras/batch/batch.SLURM in the source tree. When that is done, if you...
by Yvan Fournier
Tue Apr 06, 2021 12:19 pm
Forum: code_saturne usage
Topic: Stop to avoid exceeding time allocation on cluster system
Replies: 12
Views: 66

Re: Stop to avoid exceeding time allocation on cluster system

Hello, I do not recommend running the whole "runcase" script under srun, and in any case, have never tried. If you install code_saturne correctly, including the post-install step with the "code_saturne.cfg" file (see installation documentation), you shoud just run "sbatch ru...