Hi,
Few questions concerning the time average and the normalised residuals shown by trackcvg in Code_Saturne v.5.0.8 when unsteady algorithm is switched on.
First, how does the time-moments are computed in cs_user_parameters-time_moments.c and how can I know what is the moment_c_id[] value?
Secondly, what does the value of the residuals correspond to in the unsteady algorithm? i.e does it show the residuals at the end of each iteration or each iteration within each time step ?
Thanks
Costas
Time-averaging/residuals
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4251
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Time-averaging/residuals
Hello,
I don't remember the way the residuals are normalized, so you'd need to check the sources for this (unless someone more knowledgeable answers; there are other posts about this on this forum, so the search function might help, though I'm not sure in this case).
In cs_user_parameters-time_moments.c, moment_c_id[] is the user definition/choic of the component of a vector to select: -1 for all components, 0 for x, 1 for y, 2 for z, and indifferent for scalars.
Regards,
Yvan
I don't remember the way the residuals are normalized, so you'd need to check the sources for this (unless someone more knowledgeable answers; there are other posts about this on this forum, so the search function might help, though I'm not sure in this case).
In cs_user_parameters-time_moments.c, moment_c_id[] is the user definition/choic of the component of a vector to select: -1 for all components, 0 for x, 1 for y, 2 for z, and indifferent for scalars.
Regards,
Yvan