pcEqn.H File Reference
Include dependency graph for pcEqn.H:

Go to the source code of this file.

Functions

volScalarField rAU (1.0/UEqn.A())
 
volScalarField rAtU (1.0/(1.0/rAU - UEqn.H1()))
 
volVectorField HbyA (constrainHbyA(rAU *UEqn.H(), U, p))
 
 if (pimple.nCorrPISO()<=1)
 
 if (pimple.transonic())
 
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 
volScalarField rhorAtU ("rhorAtU", rho *rAtU)
 
 constrainPressure (p, rho, U, phiHbyA, rhorAtU, MRF)
 
 while (pimple.correctNonOrthogonal())
 
p relax ()
 
U correctBoundaryConditions ()
 
fvOptions correct (U)
 
 if (pressureControl.limit(p))
 
 if (thermo.dpdt())
 

Variables

 rho = thermo.rho()
 
 else
 
 phiHbyA = fvc::interpolate(rho*(rAtU - rAU))*fvc::snGrad(p)*mesh.magSf()
 
 HbyA = (rAU - rAtU)*fvc::grad(p)
 
 U = HbyA - rAtU*fvc::grad(p)
 
 K = 0.5*magSqr(U)
 

Function Documentation

◆ rAU()

volScalarField rAU ( 1.0/UEqn.  A())

Referenced by if().

Here is the caller graph for this function:

◆ rAtU()

volScalarField rAtU ( 1.0/  1.0/rAU - UEqn.H1())

Referenced by if(), and simple::mainIter().

Here is the caller graph for this function:

◆ HbyA()

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

◆ if() [1/4]

if ( pimple.nCorrPISO()<=  1)

Definition at line 7 of file pcEqn.H.

References tUEqn().

Here is the call graph for this function:

◆ if() [2/4]

if ( pimple.  transonic())

Definition at line 12 of file pcEqn.H.

References Foam::fac::ddt(), ddtCorr, Foam::fac::div(), Foam::fvc::flux(), fvOptions, Foam::fac::grad(), HbyA, Foam::fac::interpolate(), Foam::fac::laplacian(), mesh, MRF, p, phi, phic(), phid(), pimple, psi, rAtU(), rAU(), rho, rhorAtU(), Foam::fvc::snGrad(), and U.

Here is the call graph for this function:

◆ makeRelative()

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

◆ rhorAtU()

volScalarField rhorAtU ( "rhorAtU"  ,
rho rAtU 
)

Referenced by if(), and while().

Here is the caller graph for this function:

◆ constrainPressure()

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

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 81 of file pcEqn.H.

References Foam::fac::ddt(), Foam::fac::div(), fvOptions, Foam::fac::laplacian(), mesh, p, phi, phiHbyA, pimple, psi, rho, and rhorAtU().

Here is the call graph for this function:

◆ relax()

p relax ( )

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ correct()

fvOptions correct ( U  )

◆ if() [3/4]

if ( pressureControl.  limitp)

Definition at line 112 of file pcEqn.H.

References p, and rho.

◆ if() [4/4]

if ( thermo.  dpdt())

Definition at line 118 of file pcEqn.H.

References Foam::fac::ddt(), dpdt, and p.

Here is the call graph for this function:

Variable Documentation

◆ rho

rho = thermo.rho()

Definition at line 1 of file pcEqn.H.

Referenced by if(), and while().

◆ else

else
Initial value:

Definition at line 61 of file pcEqn.H.

◆ phiHbyA

phiHbyA = fvc::interpolate(rho*(rAtU - rAU))*fvc::snGrad(p)*mesh.magSf()

◆ HbyA

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

◆ U

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

Definition at line 107 of file pcEqn.H.

Referenced by if().

◆ K

K = 0.5*magSqr(U)

Definition at line 110 of file pcEqn.H.

Foam::fvc::flux
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
rAU
volScalarField rAU(1.0/UEqn.A())
HbyA
HbyA
Definition: pcEqn.H:74
MRF
IOMRFZoneList & MRF
Definition: setRegionFluidFields.H:22
phiHbyA
phiHbyA
Definition: pcEqn.H:73
rho
rho
Definition: pcEqn.H:1
phi
surfaceScalarField & phi
Definition: setRegionFluidFields.H:8
ddtCorr
ddtCorr
Definition: readControls.H:9
U
U
Definition: pcEqn.H:107
Foam::surfaceScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Definition: surfaceFieldsFwd.H:54
Foam::fac::interpolate
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.