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/)
-   -   thermophysicialProperties and H2O.C (https://www.cfd-online.com/Forums/openfoam-solving/133969-thermophysicialproperties-h2o-c.html)

vitors April 23, 2014 06:09

thermophysicialProperties and H2O.C
 
Hello all,

I use chtMultiRegionSimpleFoam solver and one of my regions is made of water. When defining the thermophysical properties for water

Code:

thermoType
{
    type            heRhoThermo;
    mixture        pureMixture;
    transport      polynomial;
    thermo          hPolynomial;
    equationOfState icoPolynomial;
    specie          specie;
    energy          sensibleEnthalpy;
}

in OpenFOAM 2.2.2 I was wondering if I could use the already defined water properties available in OpenFOAM in file:

Code:

/src/thermophysicalModels/properties/liquidProperties/H2O/H2O.C

mixture
{
    specie // Something like H2O here?
    {

(...)

So, my question is: is it possible to use the water properties in this file in my thermophysicalProperties file? If not, which are the aimed uses for this file?

Thank you very much,

Vitor

new2flow July 14, 2014 04:27

Solution update
 
Hi Vitor,

I was wondering if you found a solution this? I have similar needs.

Thanks

vitors July 14, 2014 10:42

Quote:

Originally Posted by new2flow (Post 501383)
Hi Vitor,

I was wondering if you found a solution this? I have similar needs.

Thanks

Actually, no. It's just a guess, but I don't think these water definitions are aimed to
general use.

My solution (until this moment not completely working) is to change the fluid properties
in file thermophysicalProperties.

Good luck,

Vitor

p.s.: I'm planning to go back to this after implementing my code. I'll let you know if I get any progress.


new2flow July 29, 2014 16:40

Thanks very much. That is the tactic I have adopted too.


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