All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
20 
22  (
23  U,
24  phi,
25  p_rgh,
27  divU,
28  pimple,
29  false
30  );
31 
32  #include "continuityErrs.H"
33 }
34 else
35 {
37  (
38  U,
39  phi,
40  p_rgh,
41  dimensionedScalar("rAUf", dimTime/rho.dimensions(), 1),
42  geometricZeroField(),
43  pimple,
44  false
45  );
46 
47  #include "continuityErrs.H"
48 }
volScalarField & p_rgh
pimpleNoLoopControl & pimple
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
engineTime & runTime
correctPhi
phi
Definition: pEqn.H:104
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:57
dynamicFvMesh & mesh
void CorrectPhi(volVectorField &U, surfaceScalarField &phi, const volScalarField &p, const RAUfType &rAUf, const DivUType &divU, nonOrthogonalSolutionControl &pcorrControl, const bool evaluateUBCs)
Definition: CorrectPhi.C:43
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
const dimensionSet dimDensity
tmp< surfaceScalarField > absolute(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given relative flux in absolute form.
Definition: fvcMeshPhi.C:188
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
zeroField divU
Definition: alphaSuSp.H:3
tmp< volScalarField > rAU
Definition: initCorrectPhi.H:1
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField