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

Go to the source code of this file.

Functions

volScalarField rAU (1.0/UEqn.A())
 
surfaceScalarField rhorAUf ("rhorAUf", fvc::interpolate(rho *rAU))
 
volVectorField HbyA (constrainHbyA(rAU *UEqn.H(), U, p))
 
 if (pimple.nCorrPISO()<=1)
 
surfaceScalarField phiHbyA ("phiHbyA", fvc::flux(rho *HbyA)+rhorAUf *fvc::ddtCorr(rho, U, rhoUf))
 
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 
 constrainPressure (p, rho, U, phiHbyA, rhorAUf, MRF)
 
 if (pimple.transonic())
 
U correctBoundaryConditions ()
 
fvOptions correct (U)
 
 if (pressureControl.limit(p))
 
surfaceVectorField n (mesh.Sf()/mesh.magSf())
 
 if (thermo.dpdt())
 

Variables

 rho = thermo.rho()
 
 else
 
 U = HbyA - rAU*fvc::grad(p)
 
 K = 0.5*magSqr(U)
 
 rhoUf = n*(fvc::absolute(phi, rho, U)/mesh.magSf() - (n & rhoUf))
 

Function Documentation

◆ rAU()

volScalarField rAU ( 1.0/UEqn.  A())

◆ rhorAUf()

surfaceScalarField rhorAUf ( "rhorAUf"  ,
fvc::interpolate(rho *rAU  
)

◆ HbyA()

volVectorField HbyA ( constrainHbyA(rAU *UEqn.H(), U, p )

◆ if() [1/4]

if ( pimple.nCorrPISO()<=  1)

Definition at line 7 of file pEqn.H.

References constrainPressure(), Foam::fvc::ddtCorr(), Foam::fvc::flux(), HbyA, Foam::fvc::interpolate(), makeRelative(), MRF, p, phiHbyA, rho, rhorAUf(), rhoUf, tUEqn(), and U.

Here is the call graph for this function:

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA"  ,
fvc::flux(rho *HbyA)+rhorAUf *fvc::ddtCorr(rho, U, rhoUf  
)

◆ makeRelative()

MRF makeRelative ( fvc::interpolate(rho ,
phiHbyA   
)

◆ constrainPressure()

constrainPressure ( p  ,
rho  ,
U  ,
phiHbyA  ,
rhorAUf  ,
MRF   
)

◆ if() [2/4]

if ( pimple.  transonic())

Definition at line 25 of file pEqn.H.

References Foam::correction(), Foam::fvc::ddt(), Foam::fvc::div(), fvOptions, Foam::fvc::interpolate(), Foam::fvc::laplacian(), mesh, p, phi, phid(), pimple, psi, rho, and rhorAUf().

Here is the call graph for this function:

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ correct()

fvOptions correct ( U  )

◆ if() [3/4]

if ( pressureControl.  limitp)

Definition at line 92 of file pEqn.H.

References Foam::fvc::interpolate(), mesh, n(), p, rho, rhoUf, thermo, and U.

Here is the call graph for this function:

◆ n()

surfaceVectorField n ( mesh.  Sf)/mesh.magSf()

◆ if() [4/4]

if ( thermo.  dpdt())

Definition at line 104 of file pEqn.H.

References Foam::fvc::ddt(), Foam::fvc::div(), dpdt, mesh, Foam::fvc::meshPhi(), p, rho, and U.

Here is the call graph for this function:

Variable Documentation

◆ rho

rho = thermo.rho()

Definition at line 1 of file pEqn.H.

◆ else

else
Initial value:
{
while (pimple.correctNonOrthogonal())
{
(
==
fvOptions(psi, p, rho.name())
);
pEqn.solve(mesh.solver(p.select(pimple.finalInnerIter())));
if (pimple.finalNonOrthogonalIter())
{
phi = phiHbyA + pEqn.flux();
}
}
}
p.relax()
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix.
fvMatrix< scalar > fvScalarMatrix
Definition: fvMatricesFwd.H:42
p
Definition: pEqn.H:50
phiHbyA
Definition: pEqn.H:20
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
const dictionary & pimple
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Definition: fvcLaplacian.C:45
fv::options & fvOptions
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
dynamicFvMesh & mesh
phi
Definition: pEqn.H:18
const volScalarField & psi
rho
Definition: pEqn.H:1

Definition at line 59 of file pEqn.H.

◆ U

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

Definition at line 87 of file pEqn.H.

◆ K

K = 0.5*magSqr(U)

Definition at line 90 of file pEqn.H.

◆ rhoUf

rhoUf = n*(fvc::absolute(phi, rho, U)/mesh.magSf() - (n & rhoUf))

Definition at line 101 of file pEqn.H.