CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   udf for paraffin wax density (https://www.cfd-online.com/Forums/fluent/196872-udf-paraffin-wax-density.html)

reslan December 19, 2017 13:03

udf for paraffin wax density
 
Hello
i need write this equation below for paraffin wax density in c++ ,but i do not know how to write it?
can any one write it to me , please

density = 750/(0.001(T-319.15)+1)

where T is temperature

solid Tem for paraffin = 319
liquid Tem for paraffin = 321

T solid < T < T liquid

EternalEnvy December 20, 2017 01:04

Use DEFINE_PROPERTY to define the density, then compile the UDF. If you require more information, Ansys help?


All times are GMT -4. The time now is 04:20.