CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Derivatives wrt Temperature (https://www.cfd-online.com/Forums/openfoam-solving/134137-derivatives-wrt-temperature.html)

kalaikdr April 24, 2014 18:33

Derivatives wrt Temperature
 
How do I calculate derivative of a fluid property wrt temperature, like d(rho)/dT or d(viscosity)/dT?
I am working on heat transfer in two phase systems where temperature gradients create vast differences in properties.

Are there schemes to calculate these derivatives? I could find only divergence, laplacian and grad schemes. How do i incorporate a new discretization scheme for a derivative like above? I am currently using interFOAM with temeperature incorporated!

Thanks!:)

chriss85 April 25, 2014 04:19

Quote:

Originally Posted by kalaikdr (Post 488067)
How do I calculate derivative of a fluid property wrt temperature, like d(rho)/dT or d(viscosity)/dT?
I am working on heat transfer in two phase systems where temperature gradients create vast differences in properties.

Are there schemes to calculate these derivatives? I could find only divergence, laplacian and grad schemes. How do i incorporate a new discretization scheme for a derivative like above? I am currently using interFOAM with temeperature incorporated!

Thanks!:)

You might have to extend the thermophysical model that you're using, to provide a function that calculates this derivative. Then you can use it in the equation you are solving. Depending on the model this can be an analytical or numerical derivative.

kalaikdr June 5, 2014 14:19

Thank you Chriss. But I ended up giving a constant value for the derivative. It was a very small magnitude anyway.


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