|
[Sponsors] |
Pressure Dependency of Density | Equation of State |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 29, 2021, 07:36 |
Pressure Dependency of Density | Equation of State
|
#1 |
New Member
Join Date: Apr 2021
Location: Ulm, Germany
Posts: 10
Rep Power: 5 |
Hello Community,
actually this might also be a quite general question, I try to get an answer here as I try to model my system with Star-CCM. I want to compare and validate my FDM C++ Code with a simulation of Star-CCM. In my Code I use an Equation of State for the pressure dependency of the density, from which I can calculate the pressure. In that equation I find the compressibility k. To compare the results I need a fluid with the same properties in Star. But I can't find the property compressibilty. Also if I look at the density property of Air it says constant. To validate my Code with the Simulation, am I somehow able to express the Equation of State in a kind of Field Function or is there another way to couple my density with an Equation of State in order to have a fluid that matches my properties? Kind Regards |
|
April 29, 2021, 09:46 |
|
#2 |
Senior Member
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18 |
There are various options for EOS of air, including incompressible (constant density) and ideal gas. If those don't satisfy your need, you can always define a user EOS and a custom fluid. I suggest reading the help material, it will tell you everything you need to know.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why we need rhoEqn.H in rhoPimpleFoam | cryabroad | OpenFOAM Running, Solving & CFD | 20 | May 19, 2021 06:57 |
rhoSimpleFoam pressure P is not satisfy perfect gas state equation at inlet patch | fxzf | OpenFOAM Running, Solving & CFD | 0 | September 18, 2017 07:40 |
incrompressible flow | Diger | FLUENT | 10 | January 10, 2017 08:09 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 14:59 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |