correctPhi.H
Go to the documentation of this file.
1 // Calculate absolute flux
2 // from the mapped surface velocity
3 phi = mesh.Sf() & Uf();
4 
5 correctUphiBCs(U, phi, true);
6 
8 (
9  phi,
10  U,
11  p_gh,
13  geometricZeroField(),
15  pimple
16 );
17 
18 #include "continuityErrs.H"
19 
20 // Make the flux relative to the mesh motion
pressureReference & pressureReference
pimpleNoLoopControl & pimple
U
Definition: pEqn.H:72
fvMesh & mesh
phi
Definition: correctPhi.H:3
autoPtr< surfaceVectorField > Uf
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.
CorrectPhi(phi, p, rho, psi, dimensionedScalar("rAUf", dimTime, 1), divrhoU(), pimple)
correctUphiBCs(rho, U, phi, true)
tmp< volScalarField > rAU
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
void makeRelative(surfaceScalarField &phi, const volVectorField &U)
Make the given flux relative.
Definition: fvcMeshPhi.C:89