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

Go to the source code of this file.

Functions

surfaceScalarField faceMask (localMin< scalar >(mesh).interpolate(cellMask))
 
surfaceScalarField rAUf ("rAUf", fvc::interpolate(rAU))
 
volVectorField H ("H", UEqn.H())
 
volVectorField HbyA ("HbyA", U)
 
 if (massFluxInterpolation)
 
surfaceScalarField phiHbyA ("phiHbyA", fvc::flux(HbyA))
 
 if (ddtCorr)
 
MRF makeRelative (phiHbyA)
 
 if (p_rgh.needReference())
 
 if (adjustFringe)
 
surfaceScalarField phig ((mixture.surfaceTensionForce() - ghf *fvc::snGrad(rho)) *faceMask *rAUf *mesh.magSf())
 
 constrainPressure (p_rgh, U, phiHbyA, rAUf, MRF)
 
 while (pimple.correctNonOrthogonal())
 
surfaceVectorField n (mesh.Sf()/mesh.magSf())
 

Variables

 HbyA = constrainHbyA(rAU*H, U, p_rgh)
 
 phiHbyA = phig
 
 Uf = n*(phi/mesh.magSf() - (n & Uf))
 
phip == p_rgh + rho*gh
 

Function Documentation

◆ faceMask()

surfaceScalarField faceMask ( localMin< scalar >  mesh).interpolate(cellMask)

◆ rAUf()

surfaceScalarField rAUf ( "rAUf"  ,
fvc::interpolate(rAU  
)

◆ H()

volVectorField H ( "H"  ,
UEqn.  H() 
)

◆ HbyA()

volVectorField HbyA ( "HbyA"  ,
U   
)

◆ if() [1/4]

Definition at line 15 of file pEqn.H.

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA"  ,
fvc::flux(HbyA  
)

◆ if() [2/4]

if ( ddtCorr  )

Definition at line 22 of file pEqn.H.

References ddtCorr, interpolate(), mesh, phiHbyA, rAU(), rho, U, and Uf.

Here is the call graph for this function:

◆ makeRelative()

MRF makeRelative ( phiHbyA  )

◆ if() [3/4]

if ( p_rgh.  needReference())

Definition at line 33 of file pEqn.H.

References adjustPhi(), Foam::fvc::makeAbsolute(), makeRelative(), p_rgh, phiHbyA, and U.

Here is the call graph for this function:

◆ if() [4/4]

if ( adjustFringe  )

Definition at line 40 of file pEqn.H.

References Foam::fvc::makeAbsolute(), makeRelative(), Foam::oversetAdjustPhi(), phiHbyA, and U.

Here is the call graph for this function:

◆ phig()

surfaceScalarField phig ( (mixture.surfaceTensionForce() - ghf *fvc::snGrad(rho)) *faceMask *rAUf *mesh.magSf()  )

◆ constrainPressure()

constrainPressure ( p_rgh  ,
U  ,
phiHbyA  ,
rAUf  ,
MRF   
)

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 67 of file pEqn.H.

References Foam::fac::div(), fvOptions, Foam::getRefCellValue(), HbyA, Foam::fac::laplacian(), mesh, p_rgh, phi, phig(), phiHbyA, pimple, pRefCell, rAU(), rAUf(), Foam::fvc::reconstruct(), and U.

Here is the call graph for this function:

◆ n()

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

Variable Documentation

◆ HbyA

HbyA = constrainHbyA(rAU*H, U, p_rgh)

Definition at line 13 of file pEqn.H.

◆ phiHbyA

phiHbyA = phig

Definition at line 55 of file pEqn.H.

◆ Uf

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

Definition at line 100 of file pEqn.H.

◆ p

phi* p == p_rgh + rho*gh

Definition at line 109 of file pEqn.H.