Hi,
how can I change the turbulent Pr number in my setup for code saturne 6?
I' ve only found advises about sigmas but it seems be available only in older version.
Thanks in advance,
Marco
Turbulent Prandtl number
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4079
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Turbulent Prandtl number
Hello,
The turbulent Schmidt (sigmas) is still available, as a field keyword, "turbulent_schmidt".
In C,
value = cs_field_get_key_double(f, cs_field_key_id("turbulent_schmidt"));
or
cs_field_set_key_double(f, cs_field_key_id("turbulent_schmidt"), value);
Best regards,
Yvan
The turbulent Schmidt (sigmas) is still available, as a field keyword, "turbulent_schmidt".
In C,
value = cs_field_get_key_double(f, cs_field_key_id("turbulent_schmidt"));
or
cs_field_set_key_double(f, cs_field_key_id("turbulent_schmidt"), value);
Best regards,
Yvan
Re: Turbulent Prandtl number
Thanks a lot.
In which subroutine should I specify this value?
Kind regards,
Marco
In which subroutine should I specify this value?
Kind regards,
Marco
-
- Posts: 4079
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Turbulent Prandtl number
Hello,
cs_user_parameters should do.
Best regards,
Yvan
cs_user_parameters should do.
Best regards,
Yvan