CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   retrieve material density (https://www.cfd-online.com/Forums/fluent/31690-retrieve-material-density.html)

rookie June 19, 2003 15:39

retrieve material density
 
Hello All,

Does anyone know the marco which could retrieve material density? something like MATERIAL_PROP(sp, PROP_mwi) for molecular weight?

Thank you all in advance!

Rooike

Mcgregor June 27, 2003 04:36

Re: retrieve material density
 
Hi Rooike,

If you want to retrieve density data just to annalyse the results then you can go to the solve/monitors/surface of solve/monitors/ volume sections.

This way you can report the maximum, minimum or average density on a face or volume node.

Hope this is of some help.

If you need the values for inclusion in a UDF, you can do this too, but it is a bit more difficult. You may have to store the values in User Defined memory

Mc

rookie June 30, 2003 11:12

Re: retrieve material density
 
Thank you! Mcgregor. I figured out the MARCO--it is MATERIAL_PROP(sp, PROP_rho). However, your solution helped me other problems.

Rookie


All times are GMT -4. The time now is 11:40.