CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Implementation of a new chemical in OpenFOAM (https://www.cfd-online.com/Forums/openfoam/87048-implementation-new-chemical-openfoam.html)

Volkon April 10, 2011 06:09

Implementation of a new chemical in OpenFOAM
 
Hallo


I have a question about implementation of a new chemical in OpenFOAM 1.7. I am trying to implement 2-propanol / isopropyl.


I found this guide from Chen Huang, Alexey Vdovin and Håkan Nilsson:
http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2009/ChenHuang/OFProject0122.pdf

But I don’t understand, which values I have to insert in c file bracket

(see page 10, in the guide)


rho_(),
pv_(),
hl_(),
cp_(),
etc.

For inspiration I looked at the H2O.c file in the H2O directory. I look like I have to insert some sort of polynomial function, is this correct?


Is it just to insert how rho_(), pv_(), hl_(), cp_(), etc. is depending on the temperature?


Best Regards
Allan Holm Nielsen
Aalborg University, Denmark


All times are GMT -4. The time now is 21:36.