Functions | Variables
pEqn.H File Reference

Go to the source code of this file.

Functions

surfaceScalarField rAUf ("rAUf", fvc::interpolate(rAU))
 
volVectorField HbyA (constrainHbyA(rAU *UEqn.H(), U, p_rgh))
 
surfaceScalarField phiHbyA ("phiHbyA", fvc::flux(HbyA)+fvc::interpolate(rho *rAU)*fvc::ddtCorr(U, Uf))
 
surfaceScalarField phig ((interface.surfaceTensionForce()-ghf *fvc::snGrad(rho))*rAUf *mesh.magSf())
 
 constrainPressure (p_rgh, U, phiHbyA, rAUf)
 
 if (pimple.transonic())
 
volScalarField p_rgh_0 (p_rgh)
 
 while (pimple.correctNonOrthogonal())
 
surfaceVectorField n (mesh.Sf()/mesh.magSf())
 
p_rgh correctBoundaryConditions ()
 

Variables

 phiHbyA = phig
 
tmp< fvScalarMatrix > p_rghEqnComp1
 
tmp< fvScalarMatrix > p_rghEqnComp2
 
 else
 
 Uf = n*(fvc::absolute(phi, U)/mesh.magSf() - (n & Uf))
 
 rho1 = psi1*(p_rgh - p_rgh_0)
 
 rho2 = psi2*(p_rgh - p_rgh_0)
 
 rho = alpha1*rho1 + alpha2*rho2
 
 p_rgh = p - rho*gh
 
 K = 0.5*magSqr(U)
 

Function Documentation

surfaceScalarField rAUf ( "rAUf"  ,
fvc::interpolate(rAU  
)
volVectorField HbyA ( constrainHbyA(rAU *UEqn.H(), U, p_rgh )
surfaceScalarField phiHbyA ( "phiHbyA"  ,
fvc::flux(HbyA)+fvc::interpolate(rho *rAU)*fvc::ddtCorr(U, Uf  
)
surfaceScalarField phig ( (interface.surfaceTensionForce()-ghf *fvc::snGrad(rho))*rAUf *mesh.magSf()  )
constrainPressure ( p_rgh  ,
U  ,
phiHbyA  ,
rAUf   
)
if ( pimple.  transonic())

Definition at line 31 of file pEqn.H.

References Foam::correction(), Foam::fvc::ddt(), Foam::deleteDemandDrivenData(), Foam::fvc::div(), Foam::MULES::interpolate(), p_rgh, phi, psi1, psi2, rho1, rho2, and Foam::fvc::Sp().

Here is the call graph for this function:

volScalarField p_rgh_0 ( p_rgh  )

Referenced by forAllConstIter(), and while().

Here is the caller graph for this function:

while ( pimple.  correctNonOrthogonal())
surfaceVectorField n ( mesh.  Sf)/mesh.magSf()
p_rgh correctBoundaryConditions ( )

Variable Documentation

phiHbyA = phig

Definition at line 20 of file pEqn.H.

tmp<fvScalarMatrix> p_rghEqnComp1

Definition at line 28 of file pEqn.H.

Referenced by while().

p_rghEqnComp2
Initial value:
=
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix.
psi2
Definition: TEqns.H:35
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
tmp< GeometricField< Type, fvPatchField, volMesh > > Sp(const volScalarField &sp, const GeometricField< Type, fvPatchField, volMesh > &vf)
Definition: fvcSup.C:67
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
rho2
Definition: pEqn.H:115
p_rgh
Definition: pEqn.H:120
phi
Definition: pEqn.H:18

Definition at line 29 of file pEqn.H.

Referenced by while().

else
Initial value:
{
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
tmp< GeometricField< Type, fvPatchField, volMesh > > Sp(const volScalarField &sp, const GeometricField< Type, fvPatchField, volMesh > &vf)
Definition: fvcSup.C:67
tmp< fvScalarMatrix > p_rghEqnComp1
Definition: pEqn.H:28
rho1
Definition: pEqn.H:114
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
p_rgh
Definition: pEqn.H:120
psi1
Definition: TEqns.H:34
phi
Definition: pEqn.H:18

Definition at line 57 of file pEqn.H.

Uf = n*(fvc::absolute(phi, U)/mesh.magSf() - (n & Uf))

Definition at line 110 of file pEqn.H.

rho1 = psi1*(p_rgh - p_rgh_0)
rho2 = psi2*(p_rgh - p_rgh_0)

Definition at line 115 of file pEqn.H.

Referenced by ORourkeCollision< CloudType >::collideSorted(), for(), forAll(), if(), and while().

Definition at line 117 of file pEqn.H.

p_rgh = p - rho*gh

Definition at line 120 of file pEqn.H.

Referenced by for(), forAllConstIter(), if(), and while().

K = 0.5*magSqr(U)

Definition at line 123 of file pEqn.H.