CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   fluent udf, getting fluid density (http://www.cfd-online.com/Forums/fluent/72054-fluent-udf-getting-fluid-density.html)

mohsen zendehbad January 24, 2010 03:36

fluent udf, getting fluid density
 
how can we get fluid properties, density and viscocity of the fluid in a udf file?

vandadt January 26, 2010 22:17

Hi Mohsen
Are you doing time-dependent simulation? I think I can help you by sending you the C++ udf that I have written for my simulation and explain you how to change it regarding your targets. That will be easy. If you are interested just let me know.
v.talimi@mun.ca
Regards,
Vandad

mohsen zendehbad January 27, 2010 00:47

Dear Vandad:
it will be kind of you if you do that. my simulation is both steady and unsteady. I need some short words like C_U or C_V which will return the density or viscosity of fluid in that cell.

MERCI
Mohsen

vandadt January 27, 2010 13:13

Mohsen
pass me your email.
Thanks.

DoHander January 27, 2010 16:56

C_R(c,t) - access cell density
C_MU_L(c,t) - laminar viscosity
C_MU_T(c,t) - turbulent viscosity

For more macros read the Fluent UDF manual.

Do

mariachi January 29, 2010 13:26

Hey mohsen, can i have ur email???

i am also facing similar problem and would really appreciate ur help if ur problem is solved...

Thanks


All times are GMT -4. The time now is 21:18.