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  (
21  U,
22  phi,
23  p_rgh,
25  geometricZeroField(),
26  pimple,
27  false
28  );
29 
30  #include "continuityErrs.H"
31 }
32 else
33 {
35  (
36  U,
37  phi,
38  p_rgh,
39  dimensionedScalar(dimTime/rho.dimensions(), 1),
40  geometricZeroField(),
41  pimple,
42  false
43  );
44 
45  #include "continuityErrs.H"
46 }
volScalarField & p_rgh
pimpleNoLoopControl & pimple
surfaceScalarField & phi
engineTime & runTime
correctPhi
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:52
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
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
tmp< volScalarField > rAU
Definition: initCorrectPhi.H:1
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField