Search found 158 matches

by daniele
Fri Apr 04, 2025 11:01 am
Forum: code_saturne usage
Topic: Clipping of the Reynolds-stress tensor
Replies: 16
Views: 43519

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 int...
by daniele
Wed Mar 26, 2025 1:04 pm
Forum: code_saturne usage
Topic: Scale adaptive simulation
Replies: 1
Views: 8273

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: 43519

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 th...
by daniele
Wed Mar 26, 2025 10:48 am
Forum: code_saturne usage
Topic: head losses coefficient - consistent definition
Replies: 2
Views: 3802

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: 3802

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 use...
by daniele
Wed Sep 04, 2024 11:46 am
Forum: code_saturne usage
Topic: mesh_output file not created
Replies: 0
Views: 12899

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" (...
by daniele
Wed Sep 04, 2024 11:46 am
Forum: code_saturne usage
Topic: mesh_output file not created
Replies: 1
Views: 6880

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" (...
by daniele
Tue Sep 03, 2024 7:06 pm
Forum: code_saturne usage
Topic: Restart not taken into account in v7
Replies: 14
Views: 62195

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
by daniele
Mon Aug 26, 2024 11:25 am
Forum: code_saturne usage
Topic: Second-Order Temporal Discretization Except for Turbulence Model Equations
Replies: 7
Views: 26167

Re: Second-Order Temporal Discretization Except for Turbulence Model Equations

Hello, If it can help, my personal way of running "non LES" setups with second-order time scheme for the momentum equations, is to force the second order for the velocity inside the varpos routine, while keeping first order for the turbulence equations. It seems similar to what you do. But...
by daniele
Mon Apr 22, 2024 10:04 am
Forum: code_saturne usage
Topic: Mixture multiphase model
Replies: 7
Views: 73789

Re: Mixture multiphase model

Hello Luciano, Since you spoke about "slip model", I guessed you wanted to simulate some sort of dispersed phase inside a continuous field. Otherwise, if you use the VOF, the slip velocity is already solved, since the interface is sharp and you will have the gas velocity on one side and th...