How to write UDF for Dynamic Viscosity
1 Attachment(s)
Dear All
I need your comments and suggestions for the given equation. Please find the attached file herewith. Thank you Ramakant |
How to write UDF for Dynamic Viscosity
You can find an example in UDF manual, following should work.
DEFINE_PROPERTY(visc_T, c, Tp) { real mu; real a = C_T(c,t); mu = 2.414e-05 * pow(10, 247.8/(Tp - 140)); return mu; } The linkhttp://cfdyna.com/CFDHT/scriptsMacros.html#UDF might help you understand how UDFs are written. |
Thank you very much...
|
hello everyone. i have to create udf for dynamic viscosity and thermal conductivity coefficient. but have no idea about codes.
here is the formulas. if anyone can help me, i wii be glad. mu=(3.4*10^-7*T^2)-(2.3*10^-4*T)+(3.9*10^-2) k=0.004961*T-0.8078 |
All times are GMT -4. The time now is 13:48. |