Page 1 of 1

Monitoring flow rate

Posted: Fri Sep 16, 2022 11:37 am
by SimBu
Hello,
I am a very new user of Code Saturne, and I try to get monitoring information such as the flow rate which requires a control surface. But I don't see any way to do that with monitoring points. I have searched in this forum, as well as in the documentation but no trace of this question. Please, excuse me if the question is stupid or inappropriate.
Thank you in advance !

Re: Monitoring flow rate

Posted: Fri Sep 16, 2022 7:23 pm
by Yvan Fournier
Hello,

This is not available in the GUI yet, and monitoring points are not a good way to measure a flux (you might as well do it in an externam tool like ParaView, though that invoves loss of precision due to added interpolations), but this user-defined function example might help (though it relates to a given scalar and not the mass flow) https://www.code-saturne.org/documentat ... one_p.html.

Regards,

Yvan

Re: Monitoring flow rate

Posted: Tue Sep 20, 2022 8:50 am
by SimBu
Thank you very much, it is exactly what I was searching for, the mass flow balance is already in the log, detailed by boundary type, and cs_flux_through_surface() is what I was searching for for others parameters.