initCorrectPhi.H
Go to the documentation of this file.
1 tmp<volScalarField> rAU;
2 
4 {
5  rAU = new volScalarField
6  (
7  IOobject
8  (
9  "rAU",
10  runTime.timeName(),
11  mesh,
12  IOobject::READ_IF_PRESENT,
13  IOobject::AUTO_WRITE
14  ),
15  mesh,
17  );
18 
19  #include "correctPhi.H"
20 }
21 else
22 {
24  (
25  U,
26  phi,
27  p_rgh,
28  dimensionedScalar("rAUf", dimTime/rho.dimensions(), 1),
29  geometricZeroField(),
30  pimple
31  );
32 
33  #include "continuityErrs.H"
34 }
void CorrectPhi(volVectorField &U, surfaceScalarField &phi, const volScalarField &p, const RAUfType &rAUf, const DivUType &divU, pimpleControl &pimple)
Definition: CorrectPhi.C:43
volScalarField & p_rgh
pimpleNoLoopControl & pimple
surfaceScalarField & phi
engineTime & runTime
correctPhi
tmp< volScalarField > rAU
Definition: initCorrectPhi.H:1
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:52
dynamicFvMesh & mesh
const dimensionSet dimDensity
U
Definition: pEqn.H:72
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
Definition: dimensionSets.H:51