Hi everyone,
I am setting an unsteady case in code_saturne (v5) using URANS modelling, and
I would like to compute the mean and the RMS fields (of the velocity and the temperature).
I can see that it is possible to compute the mean field already in the GUI, but I don't know how to compute
the RMS; probably by using some cs_user function.
Is there any example available to compute the RMS field?
Thanks in advance.
Kind regards,
Dante
compute rms field
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4209
- Joined: Mon Feb 20, 2012 3:25 pm
Re: compute rms field
Hello,
I am not sure this is exactly what you are looking for, but you can compute a field's variance in cs_user_time_moments.c. Check the time moment parameters in https://www.code-saturne.org/cms/sites/ ... eters.html.
It is also possible using the GUI to compute variances of scalar fields,, in the turbulence sense (in the additional species), but I am not sure about the equivalent for velocity.
Regards,
Yvan
I am not sure this is exactly what you are looking for, but you can compute a field's variance in cs_user_time_moments.c. Check the time moment parameters in https://www.code-saturne.org/cms/sites/ ... eters.html.
It is also possible using the GUI to compute variances of scalar fields,, in the turbulence sense (in the additional species), but I am not sure about the equivalent for velocity.
Regards,
Yvan