CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   How can I add an equation of state for rho and cp ?? (http://www.cfd-online.com/Forums/openfoam-programming-development/76126-how-can-i-add-equation-state-rho-cp.html)

Canesin May 14, 2010 17:52

How can I add an equation of state for rho and cp ??
 
Hi all,

I'm doing modifications in chtMultiRegionFoam and I'm facing two problems,

1- How I add an equation of state for rho ?? I want it to be an constant, so incompressible...

2- How do I add an polinomial that is solved together with the heat equation ?? My cp is a polinomial of Temperature and Magnetic field. So I need to replace the constant one with a new cp that is a function cp(T,M).

Any insite or reading material for doing so will be apreciated.

Thanks,
Fábio C. Canesin


All times are GMT -4. The time now is 12:26.