CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

liquid properties in OF 2.2.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2013, 05:18
Default liquid properties in OF 2.2.0
  #1
Senior Member
 
Join Date: Jan 2010
Location: Stuttgart
Posts: 150
Rep Power: 16
Chrisi1984 is on a distinguished road
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:v(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
Chrisi1984 is offline   Reply With Quote

Old   October 13, 2013, 16:09
Default
  #2
Member
 
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 14
novakm is on a distinguished road
Quote:
Originally Posted by Chrisi1984 View Post
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:v(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
novakm is offline   Reply With Quote

Old   November 26, 2013, 04:55
Default
  #3
Senior Member
 
Join Date: Jan 2010
Location: Stuttgart
Posts: 150
Rep Power: 16
Chrisi1984 is on a distinguished road
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
Chrisi1984 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
Material Properties for Sat. Liquid and Sat. Vapor Blackhawks84 FLUENT 0 September 17, 2012 20:11
error message cuteapathy CFX 14 March 20, 2012 07:45
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56
Addiotional scalar properties: gas or liquid? Julie Polyakh Siemens 0 June 20, 2004 16:54


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