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, 11:15
Exclamation how to use Tait Equaton of state in compressibleInterFoam?
  #1
New Member
 
yahya rezvani
Join Date: Aug 2019
Posts: 18
Rep Power: 7
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, 04:45
Default
  #2
New Member
 
cbarring
Join Date: Sep 2014
Posts: 5
Rep Power: 12
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

Old   June 30, 2024, 04:53
Default need help
  #3
New Member
 
Cuiwenbo
Join Date: Jun 2024
Posts: 2
Rep Power: 0
Beatcfd is on a distinguished road
Quote:
Originally Posted by cbarring View Post
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;
}
}

While I'm applying your set to my case, it comes error that:“request for volScalarField thermo: psi from objectRegistry region0 failed”.

Do you know what's wrong or maybe my settings wrong?
Beatcfd is offline   Reply With Quote

Old   July 5, 2024, 06:40
Default
  #4
New Member
 
Cuiwenbo
Join Date: Jun 2024
Posts: 2
Rep Power: 0
Beatcfd is on a distinguished road
Quote:
Originally Posted by Beatcfd View Post
While I'm applying your set to my case, it comes error that:“request for volScalarField thermo: psi from objectRegistry region0 failed”.

Do you know what's wrong or maybe my settings wrong?

Or if possible,could you upload your "0" case files, I'm wondering if these initial files' setting may be somewhere wrong.
Thank you!!!
Beatcfd 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 22:43
Domain Reference Pressure and mass flow inlet boundary AdidaKK CFX 75 August 20, 2018 06:37
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
error message cuteapathy CFX 14 March 20, 2012 07:45
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56


All times are GMT -4. The time now is 09:41.