OpenFOAM
v2312
The open source CFD toolbox
solveFluid.H
Go to the documentation of this file.
1
// Pressure-velocity SIMPLE corrector
2
3
{
4
if
(
frozenFlow
)
5
{
6
#include "
EEqn.H
"
7
}
8
else
9
{
10
p_rgh
.storePrevIter();
11
rho
.storePrevIter();
12
13
#include "
UEqn.H
"
14
#include "
EEqn.H
"
15
if
(!
coupled
)
16
{
17
#include "
pEqn.H
"
18
turb
.correct();
19
}
20
}
21
}
frozenFlow
bool frozenFlow
Definition:
setRegionFluidFields.H:32
rho
rho
Definition:
readInitialConditions.H:88
turb
compressible::turbulenceModel & turb
Definition:
setRegionFluidFields.H:8
EEqn.H
pEqn.H
UEqn.H
coupled
bool coupled
Definition:
createCoupledRegions.H:1
p_rgh
volScalarField & p_rgh
Definition:
setRegionFluidFields.H:13
applications
solvers
heatTransfer
chtMultiRegionFoam
chtMultiRegionSimpleFoam
fluid
solveFluid.H
Generated by
1.8.14