CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   How to define Cp using UDF? (https://www.cfd-online.com/Forums/fluent/35581-how-define-cp-using-udf.html)

Feng January 28, 2005 00:47

How to define Cp using UDF?
 
I am using FLUENT 6.1 to model solidification process. Since FLUENT can not define thermal-physical properties seperately for solid/liquid, I have to use UDF to realize the task. However, there is no "user defined" option for Cp. I don't know why and want to know how to define Cp for solid and liquid seperately. Any suggestions will be appreciated very much!

lily January 28, 2005 14:21

Re: How to define Cp using UDF?
 
Try to use DEFINE_PROPERTY and define Cp. Once complied, link the defined Cp to the material property.

Feng January 28, 2005 17:09

Re: How to define Cp using UDF?
 
Thanks for your reply. I was trying to do so. I can do this for density and conductivity, but this doesn't work for Cp, since there is no "user defined" option in the dropping list for Cp. I don't really know why there is no "user defined" option for Cp. Any further advice will be appreciated!

2L January 31, 2005 03:09

Re: How to define Cp using UDF?
 
According to Fluent user's guide, "UDFs cannot be used to define specific heat properties; specific heat data can only be accessed and not modified in FLUENT." So I think you should use the mixture model or something using species (one for liquid phase and one for solid phase). Hope it will help you.

FJ February 2, 2005 02:42

Re: How to define Cp using UDF?
 
Hi,

You have to customize the real gas model. Otherwise,you can't do that even via UDF in usual way.

Thanks,


ashrawage November 15, 2012 17:36

This might be too late i guess
 
but this is how you have to define specific heat using a UDF
DEFINE_SPECIFIC_HEAT(Cp, c, t)

hope it helps either you or someone else who stumbles on to this thread.


All times are GMT -4. The time now is 14:42.