solveFluid.H
Go to the documentation of this file.
1if (finalIter)
2{
3 mesh.data::add("finalIteration", true);
4}
5
7{
8 #include "EEqn.H"
9}
10else
11{
12 if (oCorr == 0)
13 {
14 #include "rhoEqn.H"
15 }
16
17 #include "UEqn.H"
18 #include "YEqn.H"
19 #include "EEqn.H"
20
21 if (!coupled)
22 {
23 Info<< "\nSolving for fluid region " << fluidRegions[i].name() << endl;
24
25 // --- PISO loop
26 for (int corr=0; corr<nCorr; corr++)
27 {
28 #include "pEqn.H"
29 }
30
31 turbulence.correct();
32
33 rho = thermo.rho();
34 }
35}
36
37if (finalIter)
38{
39 mesh.data::remove("finalIteration");
40}
PtrList< fvMesh > fluidRegions(fluidNames.size())
bool frozenFlow
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
bool coupled(solutionDict.getOrDefault("coupledEnergyField", false))
dynamicFvMesh & mesh
compressible::turbulenceModel & turbulence
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:372