Functions | Variables
pEqn.H File Reference
Include dependency graph for pEqn.H:

Go to the source code of this file.


volScalarField rAU (1.0/UEqn().A())
volVectorField HbyA ("HbyA", U)
surfaceScalarField phiHbyA ("phiHbyA",(fvc::interpolate(HbyA)&mesh.Sf())+fvc::interpolate(rAU)*fvc::ddtCorr(U, Uf))
MRF makeRelative (phiHbyA)
 if (p.needReference())
tmp< volScalarField > rAtU (rAU)
 if (pimple.consistent())
 if (pimple.nCorrPISO()<=1)
surfaceScalarField rAUf ("rAUf", fvc::interpolate(rAtU()))
 setSnGrad< fixedFluxPressureFvPatchScalarField > (p.boundaryField(),( phiHbyA.boundaryField() -MRF.relative(mesh.Sf().boundaryField()&U.boundaryField()) )/(mesh.magSf().boundaryField()*rAUf.boundaryField()))
 while (pimple.correctNonOrthogonal())
p relax ()
U correctBoundaryConditions ()
fvOptions correct (U)
surfaceVectorField n (mesh.Sf()/mesh.magSf())


 HbyA = rAU*UEqn().H()
 U = HbyA - rAtU*fvc::grad(p)
 Uf = n*(phi/mesh.magSf() - (n & Uf))

Function Documentation

volScalarField rAU ( 1.0/  UEqn).A()
volVectorField HbyA ( "HbyA"  ,
surfaceScalarField phiHbyA ( "phiHbyA"  ,
(fvc::interpolate(HbyA)&mesh.Sf())+fvc::interpolate(rAU)*fvc::ddtCorr(U, Uf  
MRF makeRelative ( phiHbyA  )
if ( p.  needReference())

Definition at line 14 of file pEqn.H.

References adjustPhi(), Foam::fvc::makeAbsolute(), makeRelative(), p, phiHbyA, rAtU(), rAU(), and U.

Here is the call graph for this function:

tmp<volScalarField> rAtU ( rAU  )
if ( pimple.  consistent())

Definition at line 23 of file pEqn.H.

References Foam::fvc::grad(), HbyA, Foam::MULES::interpolate(), Foam::max(), mesh, p, phiHbyA, rAtU(), rAU(), Foam::fvc::snGrad(), and UEqn().

Here is the call graph for this function:

if ( pimple.nCorrPISO()<=  1)

Definition at line 31 of file pEqn.H.

References Foam::MULES::interpolate(), mesh, MRF, p, phiHbyA, rAtU(), rAUf(), setSnGrad< fixedFluxPressureFvPatchScalarField >(), U, and UEqn().

Here is the call graph for this function:

surfaceScalarField rAUf ( "rAUf"  ,
setSnGrad< fixedFluxPressureFvPatchScalarField > ( p.  boundaryField(),
( phiHbyA.boundaryField() -MRF.relative(mesh.Sf().boundaryField()&U.boundaryField()) )/(mesh.magSf().boundaryField()*rAUf.boundaryField())   
while ( pimple.  correctNonOrthogonal())

Definition at line 49 of file pEqn.H.

References Foam::fvc::div(), Foam::fvc::laplacian(), mesh, p, phi, phiHbyA, pimple, pRefCell, and pRefValue.

Here is the call graph for this function:

p relax ( )
U correctBoundaryConditions ( )
fvOptions correct ( U  )
surfaceVectorField n ( mesh.  Sf)/mesh.magSf()

Variable Documentation

HbyA = rAU*UEqn().H()

Definition at line 3 of file pEqn.H.

U = HbyA - rAtU*fvc::grad(p)

Definition at line 71 of file pEqn.H.

Uf = n*(phi/mesh.magSf() - (n & Uf))