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

Go to the source code of this file.

Functions

surfaceScalarField rAUf ("rAUf", fvc::interpolate(rAU))
 
volVectorField HbyA ("HbyA", U)
 
UEqn clear ()
 
surfaceScalarField phig (-rAUf *ghf *fvc::snGrad(rhok) *mesh.magSf())
 
surfaceScalarField phiHbyA ("phiHbyA",(fvc::interpolate(HbyA) &mesh.Sf()))
 
MRF makeRelative (phiHbyA)
 
 adjustPhi (phiHbyA, U, p_rgh)
 
 setSnGrad< fixedFluxPressureFvPatchScalarField > (p_rgh.boundaryField(),(phiHbyA.boundaryField() - MRF.relative(mesh.Sf().boundaryField() &U.boundaryField()))/(mesh.magSf().boundaryField() *rAUf.boundaryField()))
 
 while (simple.correctNonOrthogonal())
 
 if (p_rgh.needReference())
 

Variables

 HbyA = rAU*UEqn().H()
 
 phiHbyA = phig
 
 p = p_rgh + rhok*gh
 

Function Documentation

◆ rAUf()

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

◆ HbyA()

volVectorField HbyA ( "HbyA"  ,
U   
)

◆ clear()

UEqn clear ( )

◆ phig()

surfaceScalarField phig ( -rAUf *ghf fvc::snGradrhok) *mesh.magSf()

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA"  ,
(fvc::interpolate(HbyA) &mesh.Sf())   
)

◆ makeRelative()

MRF makeRelative ( phiHbyA  )

◆ adjustPhi()

adjustPhi ( phiHbyA  ,
U  ,
p_rgh   
)

◆ setSnGrad< fixedFluxPressureFvPatchScalarField >()

setSnGrad< fixedFluxPressureFvPatchScalarField > ( p_rgh.  boundaryField(),
(phiHbyA.boundaryField() - MRF.relative(mesh.Sf().boundaryField() &U.boundaryField()))/(mesh.magSf().boundaryField() *rAUf.boundaryField())   
)

◆ while()

while ( simple.  correctNonOrthogonal())

Definition at line 33 of file pEqn.H.

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

Here is the call graph for this function:

◆ if()

if ( p_rgh.  needReference())

Definition at line 64 of file pEqn.H.

References Foam::getRefCellValue(), gh, p, p_rgh, pRefCell, pRefValue, and rhok.

Here is the call graph for this function:

Variable Documentation

◆ HbyA

HbyA = rAU*UEqn().H()

Definition at line 6 of file pEqn.H.

◆ phiHbyA

phiHbyA = phig

Definition at line 21 of file pEqn.H.

◆ p

p = p_rgh + rhok*gh

Definition at line 62 of file pEqn.H.