CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   field functions (https://www.cfd-online.com/Forums/star-ccm/222409-field-functions.html)

Laithz November 22, 2019 13:39

field functions
 
Hi,

I am trying to define the heat transfer coefficient in field functions in a cylindrical pipe with a constant surface temperature(400).
I only want to consider the center line temperature, but its not getting compiled.{volume average1} is my bulk temperature.
Here is the function:
(${Temperature}[0]==0 && ${Temperature}[1]==0) ? ${HeatTransferCoefficient} : (${ThermalConductivity}*(400-${Temperature}))/((400-${Volume Average 1})*0.25)

Thanks,
LZ


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