Calculation of mass flow rate through a plane
Is there any way of calculating the mass flow rate through a given plane of the mesh that is not a patch boundary. I found in the forum the calcMassFlow utility, but I have some doubts if I can use for a non patch plane.
My idea was to use the simpleFunctionObjects in the controlDict file, but I do not understand what function should I use.
Also, is it possible to calculate two values of flow rate and then calculate the value of a parameter, all defined in the controlDict file? I believe this is better done in the code, right?
Anyone can help me out here?
Did you figure out how to calculate the mass flow-rate through a non patch plane?
I just now figured it out. if anybody is interested, they can use swak4Foam by
Bernhard Gschaider. here is the link:
it has a tutorial for angled duct which shows how it is done.
|All times are GMT -4. The time now is 23:11.|