Monitoring flow rate

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
SimBu
Posts: 30
Joined: Tue Sep 13, 2022 4:13 pm

Monitoring flow rate

Post 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 !
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Monitoring flow rate

Post 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
SimBu
Posts: 30
Joined: Tue Sep 13, 2022 4:13 pm

Re: Monitoring flow rate

Post 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.
Post Reply