CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

how to use Tait Equaton of state in compressibleInterFoam?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2020, 10:15
Exclamation how to use Tait Equaton of state in compressibleInterFoam?
  #1
New Member
 
yahya rezvani
Join Date: Aug 2019
Posts: 18
Rep Power: 6
rezvani is on a distinguished road
hello. I want to use the Tait equation of state in compressibleInterFoam. in some documents, they said this is New compressibility models in OpenFOAMŪ but in help or tutorial, I can't see any guide to use it.
Thank You
rezvani is offline   Reply With Quote

Old   February 16, 2022, 03:45
Default
  #2
New Member
 
cbarring
Join Date: Sep 2014
Posts: 5
Rep Power: 11
cbarring is on a distinguished road
The Tait equation is the adiabaticPerfectFluid EOS. I am using the code below within the thermophysicalProperties.water file in compressibleInterFoam in OF7 (In OF8 & 9 I get a bunch of errors that I am trying to figure out).

I did a curve fit to isentropic liquid water data to get the gamma and B values. These are relevant for my particular project. In the open literature you will find a lot of different values for gamma and B. You will need to figure out the values that fit the fluid properties for your particular situation. This will require some (non-linear) curve fitting. This is really important or you may get very strange numbers. The values below for gamma and B may be totally wrong for your situation.

thermoType
{
type heRhoThermo;
mixture pureMixture;
transport const;
thermo eConst;
equationOfState adiabaticPerfectFluid;
specie specie;
energy sensibleInternalEnergy;
}

mixture
{
specie
{
nMoles 1;
molWeight 18.01528;
}

equationOfState
{
// water
rho0 1000; // approx
p0 100000;
gamma 7.15;
B 304913000;
}

thermodynamics
{
Cv 4186;
Hf 0;
}
transport
{
mu 3.645e-4;
Pr 6.99;
}
}
cbarring is offline   Reply With Quote

Reply

Tags
compressibility, compressibleinterfoam, openfoam, tait equation of state


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
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 21:43
Domain Reference Pressure and mass flow inlet boundary AdidaKK CFX 75 August 20, 2018 05:37
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
error message cuteapathy CFX 14 March 20, 2012 06:45
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56


All times are GMT -4. The time now is 10:34.