CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Mass Flow Rate Custom Field Function (http://www.cfd-online.com/Forums/fluent/115061-mass-flow-rate-custom-field-function.html)

AJoubert March 22, 2013 12:39

Mass Flow Rate Custom Field Function
 
Hi everyone, I just have a pretty quick and simply question,

I am using Ansys Fluent 13.0 and I am trying to create a custom field function for mass flow rate in order to use it in addition to another custom field function. My question is where can I find the area value that I need for this? I know mass flow rate is rho*V*A but the only areas I can find are related to the cell faces and therefore gives me the incorrect mass flow rate.

I know I can find mass flow rate under the monitors, reports, and xy plots but I specifically need to write it as a custom field function for my purposes. If anyone can help me with this small problem I would greatly appreciate it.

Yanlong Li March 23, 2013 06:16

Maybe you should use UDF or UDM, I donot think you can do this by custome user define funciton.

AJoubert March 23, 2013 09:50

Thanks Yanlong, I actually managed to find a slightly less direct way to do it. I just calculated the mass flow rate with a surface integral and then made a custom field function to divide this calculated value by the instantaneous density and axial velocity in order to give me the area at any point along the flow and simply defined this field function as "area"


All times are GMT -4. The time now is 13:08.