|
[Sponsors] |
rho1 and rho2 of compressibleInterFoam solver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 13, 2020, 04:37 |
rho1 and rho2 of compressibleInterFoam solver
|
#1 |
Senior Member
Nguyen Duy Trong
Join Date: Apr 2014
Posts: 124
Rep Power: 12 |
Hi everyone,
I am confusing the way to compute rho1 and rho2 of solver compressibleInterFoam. In createFields, they are declared as: const volScalarField& rho1 = mixture.thermo1().rho(); const volScalarField& rho2 = mixture.thermo2().rho(); and mixture is an object derived from twoPhaseMixtureThermo class as: twoPhaseMixtureThermo mixture(U, phi); when I look back the twoPhaseMixtureThermo class, I found the rhoThermo class inside. So, I am confusing that:
I thank you very much in advance. |
|
November 16, 2020, 02:40 |
|
#2 |
New Member
Join Date: May 2017
Posts: 7
Rep Power: 8 |
Hi, ndtrong.
The rho is computed by EOS in "specie/equationOfState". The perfectGas is usually for idea gas, and perfectFluid is for water. Best. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Formulation in compressibleInterFoam | scttmllr | OpenFOAM Running, Solving & CFD | 72 | June 26, 2023 07:42 |
[OpenFOAM.org] Error compiling VOF HARDT Solver on OpenFoam 2.4.0 | saddy | OpenFOAM Installation | 4 | December 1, 2020 02:36 |