running simulation with frozen turbulence

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
nvm67
Posts: 3
Joined: Fri Nov 01, 2024 2:16 pm

running simulation with frozen turbulence

Post by nvm67 »

Hi
I'm looking to run a frozen turbulence RANS simulation. Once the turbulence field is initialised at the start of the simulation I wanted to switch off the update of the turbulence quantities for the subsquent time steps. The iccvfg=1 option turns off the update of the momentum equation as well but I want the velocity field to be updated.

What is the best way to achieve this?

Many thanks
Yvan Fournier
Posts: 4206
Joined: Mon Feb 20, 2012 3:25 pm

Re: running simulation with frozen turbulence

Post by Yvan Fournier »

Hello,

Though we plan adding cs_time_control_t options to fields so as to be able to have a finer control over when fields are updated, there is no such setting available today, so in your case, simply modifying the code to avoid the update of turbulence quantities is probably best.

Although this can be very useful fo debugging (to locate/pinpoint a change in results), updating the velocity while not updating the turbulent quantities, which are strongly coupled with the velocity, usually makes no sense in a production study.

Best regards,

Yvan
Post Reply