CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   liquid properties in OF 2.2.0 (http://www.cfd-online.com/Forums/openfoam-pre-processing/115077-liquid-properties-2-2-0-a.html)

Chrisi1984 March 23, 2013 05:18

liquid properties in OF 2.2.0
 
Hi all,

when I am using a lagrangian solver and inject a liquid it is not possible to use non default coefficients for the fluid properties in the thermophysicalProperties file.

Quote:

CH4N2O
{
defaultCoeffs no;

CH4N2OCoeffs
{
W 60.056;
Tc 705.0;
Pc 9.050e+6;
Vc 0.218;
Zc 337.0;
Tt 405.85;
Pt 9.3131e+1;
Tb 425.15;
dipm 1.52e-29;
omega 0.3449;
delta 4.7813e+4;



rho { a 1230.006936; b 0.0; c 0.0; d 0.0; e 0.0; f 0.0;}
pv { a 3015.15611544; b -185497.059684; c -430.223621983; d 0.00017405122622; e 2.0; }
hl { Tc 705.0; a 2534249.0; b 0.5; c 0.0; d 0.0; e 0.0;}
Cp { a 2006.46063673904; b 0.0; c 0.0; d 0.0; e 0.0; f 0.0;}
h { a -6154107.41641135; b 2006.46063673904; c 0.0; d 0.0; e 0.0; f 0.0;}
Cpg { a 811.875582789397; b 2099.04089516451; c 1627.3; d 1603.63660583455; e 724.41;}
B {
a -0.000383641934194752;
b 0.447249234048222;
c -469062.208605302;
d 5.5628080458239e+18;
e -2.3040162514986e+21;
}
mu { a -51.964; b 3670.6; c 5.7331; d -5.3495e-29; e 10.0;}
mug { a 2.6986e-06; b 0.498; c 1257.7; d -19570.0;}
K { a -0.4267; b 0.0056903; c -8.0065e-06; d 1.815e-09; e 0.0; f 0.0;}
Kg { a 6.977e-05; b 1.1243; c 844.9; d -148850.0;}
sigma { Tc 705.0; a 1.0; b 0.0; c 0.0; d 0.0; e 0.0;} // note: set to constant
D { wf 147.18; wa 20.1; a 60.056; b 28.0;} // note: Same as nHeptane
}
Then I recieve the error message that Foam::scalar Foam::liquidProperties::pv(scalar, scalar) is not implemented.

Due to that error I compiled the liquid properties from OF 2.1.0 in OF 2.2.0.

Now it is possible to use non default coefficients.

Is there a bug in the liquidProperties.C file in OF 2.2.0?

Or is the way I give the non deafult coefficients wrong (it was the right way for OF 2.1.0)

Thanks your hints in advance!

Kind regards

Chrisi

novakm October 13, 2013 15:09

Quote:

Originally Posted by Chrisi1984 (Post 415824)
Hi all,

when I am using a lagrangian solver and inject a liquid it is not possible to use non default coefficients for the fluid properties in the thermophysicalProperties file.



Then I recieve the error message that Foam::scalar Foam::liquidProperties::pv(scalar, scalar) is not implemented.

Due to that error I compiled the liquid properties from OF 2.1.0 in OF 2.2.0.

Now it is possible to use non default coefficients.

Is there a bug in the liquidProperties.C file in OF 2.2.0?

Or is the way I give the non deafult coefficients wrong (it was the right way for OF 2.1.0)

Thanks your hints in advance!

Kind regards

Chrisi

Hi Chrisi,

I am now facing same issue?
Did you find out a solution?

Best regards

Martin

Chrisi1984 November 26, 2013 04:55

Hi Martin,

no I am sorry I did not find another solution besides from compiling the part of OF 2.1 in 2.2 as described above.

Kind regards

Chrisi


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