Loading...
Searching...
No Matches
pEqn.H File Reference
Include dependency graph for pEqn.H:

Go to the source code of this file.

Functions

 if (!pimple.SIMPLErho())
const volScalarField psip0 (psi *p)
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::interpolate(rho) *fvc::flux(HbyA)+MRF.zeroFilter(rhorAUf *fvc::ddtCorr(rho, U, phi, rhoUf)))
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 constrainPressure (p, rho, U, phiHbyA, rhorAUf, MRF)
 if (pimple.transonic())
 while (pimple.correctNonOrthogonal())
p relax ()
U correctBoundaryConditions ()
fvOptions correct (U)
 if (pressureControl.limit(p))
thermo correctRho (psi *p - psip0, rhoMin, rhoMax)
 if (thermo.dpdt())

Variables

 else
 U = HbyA - rAU*fvc::grad(p)
 K = 0.5*magSqr(U)
 rho = thermo.rho()

Function Documentation

◆ if() [1/5]

if ( !pimple. SIMPLErho())

Definition at line 1 of file pEqn.H.

References pimple, and rho.

◆ psip0()

const volScalarField psip0 ( psi * p)

References p, and psi.

◆ rAU()

volScalarField rAU ( 1.0/UEqn. A())

References UEqn.

◆ rhorAUf()

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

References rAU, and rho.

◆ HbyA()

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

References p, rAU, U, and UEqn.

◆ if() [2/5]

if ( pimple.nCorrPISO()<= 1)

Definition at line 14 of file pEqn.H.

References pimple, and tUEqn().

Here is the call graph for this function:

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA" ,
fvc::interpolate(rho) *fvc::flux(HbyA)+MRF.zeroFilter(rhorAUf *fvc::ddtCorr(rho, U, phi, rhoUf))  )

References HbyA, MRF, phi, phiHbyA, rho, rhorAUf(), rhoUf, and U.

Here is the call graph for this function:

◆ makeRelative()

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

References MRF, phiHbyA, and rho.

◆ constrainPressure()

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

References MRF, p, phiHbyA, rho, rhorAUf(), and U.

Here is the call graph for this function:

◆ if() [3/5]

if ( pimple. transonic())

Definition at line 32 of file pEqn.H.

References fvOptions, p, pDDtEqn(), phi, phid(), phiHbyA, pimple, psi, rho, and rhorAUf().

Here is the call graph for this function:

◆ while()

while ( pimple. correctNonOrthogonal())

Definition at line 75 of file pEqn.H.

References p, pDDtEqn(), phi, phiHbyA, pimple, and rhorAUf().

Here is the call graph for this function:

◆ relax()

p relax ( )

References p.

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

References U.

◆ correct()

fvOptions correct ( U )

References fvOptions, and U.

◆ if() [4/5]

if ( pressureControl. limitp)

Definition at line 97 of file pEqn.H.

References p, and pressureControl.

◆ correctRho()

thermo correctRho ( psi *p - psip0,
rhoMin ,
rhoMax  )

References p, psi, psip0(), rhoMax, and rhoMin.

Here is the call graph for this function:

◆ if() [5/5]

if ( thermo. dpdt())

Definition at line 112 of file pEqn.H.

References dpdt, mesh, p, rho, and U.

Variable Documentation

◆ else

else
Initial value:
{
fvScalarMatrix pDDtEqn
(
fvc::ddt(rho) + psi*correction(fvm::ddt(p))
+ fvc::div(phiHbyA)
==
fvOptions(psi, p, rho.name())
)
fv::options & fvOptions
volScalarField & p
const volScalarField & psi
phiHbyA
Definition pcEqn.H:73
fvScalarMatrix pDDtEqn(fvc::ddt(rho)+psi *correction(fvm::ddt(p))+fvc::div(phiHbyA)==fvOptions(psi, p, rho.name()))

Definition at line 65 of file pEqn.H.

◆ U

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

Definition at line 92 of file pEqn.H.

◆ K

K = 0.5*magSqr(U)

Definition at line 95 of file pEqn.H.

◆ rho

rho = thermo.rho()

Definition at line 107 of file pEqn.H.