Search found 160 matches

by daniele
Tue Apr 07, 2026 12:55 pm
Forum: code_saturne usage
Topic: time step setting routine (former varpos.f90) in v9?
Replies: 1
Views: 7301

time step setting routine (former varpos.f90) in v9?

Hello,
I was used to edit the varpos.f90 routine in v7 for some specific time-step settings. However, this routine is not present anymore in v9. I made a grep of "ischtp" in the src, but could not really understand the place where it is set.
Can you please help me?
Thank you very much in advance ...
by daniele
Mon Jun 16, 2025 4:41 pm
Forum: code_saturne usage
Topic: fortran routine for v8
Replies: 1
Views: 30362

fortran routine for v8

Hello,
I wrote a large code inside cs_user_boundary_conditions_ale.f90 to impose some desired mesh displacement, in the version 7 of CS.
I would like to move to v8, but the cs_user_boundary_conditions_ale.f90 does not exist anymore. Is there a workaround to make it work on v8, to avoid writing one ...
by daniele
Fri Apr 04, 2025 11:01 am
Forum: code_saturne usage
Topic: Clipping of the Reynolds-stress tensor
Replies: 16
Views: 117898

Re: Clipping of the Reynolds-stress tensor

Hi Sean,

Thank you for explaining in details your issue.
I misunderstood that it was actually purely a numerical problem, not linked with the physics.
The flows in which I faced the clipping issue were iso-thermal. And the clipping occurred in specific flow regions, not linked with the partition ...
by daniele
Wed Mar 26, 2025 1:04 pm
Forum: code_saturne usage
Topic: Scale adaptive simulation
Replies: 1
Views: 26766

Re: Scale adaptive simulation

Hello,

Have you tried to define the turbulence model inside the cs_user_parameters.c?
It should be enough to make it work.
I have done it in the past, with v7.

Best regards,
Daniele
by daniele
Wed Mar 26, 2025 12:56 pm
Forum: code_saturne usage
Topic: Clipping of the Reynolds-stress tensor
Replies: 16
Views: 117898

Re: Clipping of the Reynolds-stress tensor

Hello,

I allow myself to jump inside this topic.
I have faced the clipping bahavior of EBRSM with CS for some configurations.
I guess what you call clipping here is the fact that the stresses are clipped to very low values, to prevent zero or negative values?
Could you share further details about ...
by daniele
Wed Mar 26, 2025 10:48 am
Forum: code_saturne usage
Topic: head losses coefficient - consistent definition
Replies: 2
Views: 25614

Re: head losses coefficient - consistent definition

Hello Yvan.

Thank you for your precious and accurate help, as usual.
That answers perfectly my question.

Best regards,
Daniele
by daniele
Tue Mar 25, 2025 6:47 pm
Forum: code_saturne usage
Topic: head losses coefficient - consistent definition
Replies: 2
Views: 25614

head losses coefficient - consistent definition

Hello,
I am wondering about the interpretation of the head loss coefficient in code_Saturne.

The "Head losses" panel in the GUI says:
"Head losses coefficients: ... = -0.5*rho*alpha_ij*|U|*U_j"
Which would indicate that only the "alpha" term must be specified by the user.
However, looking in the ...
by daniele
Wed Sep 04, 2024 11:46 am
Forum: code_saturne usage
Topic: mesh_output file not created
Replies: 0
Views: 94091

mesh_output file not created

Hello,

I would like to use a mesh deformed by a previous simulation, as input for a new one.
However, I cannot manage to get the mesh_output file (at the end of the deformable mesh simulation) created inside the checkpoint directory.
I have ticked "Save mesh if modified by preprocessing" (even if ...
by daniele
Wed Sep 04, 2024 11:46 am
Forum: code_saturne usage
Topic: mesh_output file not created
Replies: 1
Views: 14390

mesh_output file not created

Hello,

I would like to use a mesh deformed by a previous simulation, as input for a new one.
However, I cannot manage to get the mesh_output file (at the end of the deformable mesh simulation) created inside the checkpoint directory.
I have ticked "Save mesh if modified by preprocessing" (even if ...
by daniele
Tue Sep 03, 2024 7:06 pm
Forum: code_saturne usage
Topic: Restart not taken into account in v7
Replies: 14
Views: 94303

Re: Restart not taken into account in v7

Hello,

Sorry I missed your post.
My personal way of using cs_user_scripts.py to restart a calculation, is just to add:
domain.restart_input = 'RESU/"case_name"/checkpoint'.
Leaving all the other lines "None".

Let me know if it works.
Best regards,
Daniele