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

Go to the source code of this file.

Functions

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))
 
surfaceScalarField phiHbyA ("phiHbyA",(fvc::flux(rho *HbyA)+rhorAUf *fvc::ddtCorr(rho, U, phi)))
 
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 
 constrainPressure (p, rho, U, phiHbyA, rhorAUf, MRF)
 
fvScalarMatrix pDDtEqn (fvc::ddt(rho)+psi *correction(fvm::ddt(p))+fvc::div(phiHbyA)==parcels.Srho()+fvOptions(psi, p, rho.name()))
 
 while (pimple.correctNonOrthogonal())
 
p relax ()
 
thermo correctRho (psi *p - psip0)
 
U correctBoundaryConditions ()
 
fvOptions correct (U)
 
 if (thermo.dpdt())
 

Variables

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

Function Documentation

◆ psip0()

const volScalarField psip0 ( psi p)

◆ rAU()

volScalarField rAU ( 1.0/UEqn.  A())

◆ rhorAUf()

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

◆ HbyA()

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

◆ phiHbyA()

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

◆ makeRelative()

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

◆ constrainPressure()

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

◆ pDDtEqn()

fvScalarMatrix pDDtEqn ( fvc::ddt(rho)+psi *correction(fvm::ddt(p))+fvc::div(phiHbyA = =parcels.Srho()+fvOptions(psip, rho.name()))

Referenced by if(), and while().

Here is the caller graph for this function:

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 33 of file pEqn.H.

References Foam::fvc::laplacian(), mesh, p, pDDtEqn(), phi, phiHbyA, pimple, psi, psip0(), rhorAUf(), and thermo.

Here is the call graph for this function:

◆ relax()

p relax ( )

◆ correctRho()

thermo correctRho ( psi *p psip0)

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ correct()

fvOptions correct ( U  )

◆ if()

if ( thermo.  dpdt())

Definition at line 62 of file pEqn.H.

References Foam::fvc::ddt(), dpdt, Foam::endl(), Foam::Info, Foam::max(), Foam::min(), p, rho, rhoMax(), rhoMin(), and thermo.

Here is the call graph for this function:

Variable Documentation

◆ rho

rho = thermo.rho()

Definition at line 1 of file pEqn.H.

◆ U

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

Definition at line 57 of file pEqn.H.

◆ K

K = 0.5*magSqr(U)

Definition at line 60 of file pEqn.H.