|
[Sponsors] |
how to use Tait Equaton of state in compressibleInterFoam? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 12, 2020, 11:15 |
how to use Tait Equaton of state in compressibleInterFoam?
|
#1 |
New Member
yahya rezvani
Join Date: Aug 2019
Posts: 18
Rep Power: 7 |
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 |
|
February 16, 2022, 04:45 |
|
#2 |
New Member
cbarring
Join Date: Sep 2014
Posts: 5
Rep Power: 12 |
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; } } |
|
June 30, 2024, 04:53 |
need help
|
#3 | |
New Member
Cuiwenbo
Join Date: Jun 2024
Posts: 2
Rep Power: 0 |
Quote:
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? |
||
July 5, 2024, 06:40 |
|
#4 | |
New Member
Cuiwenbo
Join Date: Jun 2024
Posts: 2
Rep Power: 0 |
Quote:
Or if possible,could you upload your "0" case files, I'm wondering if these initial files' setting may be somewhere wrong. Thank you!!! |
||
Tags |
compressibility, compressibleinterfoam, openfoam, tait equation of state |
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |