Functions | Variables
pEqn.H File Reference

Go to the source code of this file.

Functions

surfaceScalarField rAUf ("rAUf", fvc::interpolate(rAU))
 
volVectorField HbyA ("HbyA", U)
 
surfaceScalarField phiHbyA ("phiHbyA",(fvc::interpolate(HbyA) &mesh.Sf())+fvc::interpolate(rho *rAU) *fvc::ddtCorr(U, Uf))
 
surfaceScalarField phig ((interface.surfaceTensionForce() - ghf *fvc::snGrad(rho)) *rAUf *mesh.magSf())
 
 setSnGrad< fixedFluxPressureFvPatchScalarField > (p_rgh.boundaryField(),(phiHbyA.boundaryField() -(mesh.Sf().boundaryField() &U.boundaryField()))/(mesh.magSf().boundaryField() *rAUf.boundaryField()))
 
 if (pimple.transonic())
 
volScalarField p_rgh_0 (p_rgh)
 
 while (pimple.correctNonOrthogonal())
 
surfaceVectorField n (mesh.Sf()/mesh.magSf())
 

Variables

 HbyA = rAU*UEqn.H()
 
 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
 
 K = 0.5*magSqr(U)
 

Function Documentation

◆ rAUf()

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

◆ HbyA()

volVectorField HbyA ( "HbyA"  ,
U   
)

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA"  ,
(fvc::interpolate(HbyA) &mesh.Sf())+fvc::interpolate(rho *rAU) *fvc::ddtCorr(U, Uf  
)

◆ phig()

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

◆ setSnGrad< fixedFluxPressureFvPatchScalarField >()

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

◆ if()

if ( pimple.  transonic())

◆ p_rgh_0()

volScalarField p_rgh_0 ( p_rgh  )

Referenced by while().

Here is the caller graph for this function:

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 80 of file pEqn.H.

References alpha1, alpha2, Foam::fvc::div(), gh, HbyA, Foam::fvc::laplacian(), Foam::max(), mesh, p, p_rgh, p_rghEqnComp1, p_rghEqnComp2, phi, phig(), phiHbyA, pimple, pMin(), Foam::pos(), rAU(), rAUf(), Foam::fvc::reconstruct(), rho1, rho2, solve(), and U.

Here is the call graph for this function:

◆ n()

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

Variable Documentation

◆ HbyA

HbyA = rAU*UEqn.H()

Definition at line 6 of file pEqn.H.

◆ phiHbyA

phiHbyA = phig

Definition at line 23 of file pEqn.H.

◆ p_rghEqnComp1

tmp<fvScalarMatrix> p_rghEqnComp1

Definition at line 38 of file pEqn.H.

Referenced by if(), and while().

◆ p_rghEqnComp2

p_rghEqnComp2
Initial value:

Definition at line 39 of file pEqn.H.

Referenced by if(), and while().

◆ else

else
Initial value:

Definition at line 67 of file pEqn.H.

◆ Uf

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

Definition at line 120 of file pEqn.H.

◆ rho1

rho1 = psi1*(p_rgh - p_rgh_0)

◆ rho2

rho2 = psi2*(p_rgh - p_rgh_0)

Definition at line 125 of file pEqn.H.

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

◆ rho

Definition at line 127 of file pEqn.H.

◆ K

K = 0.5*magSqr(U)

Definition at line 129 of file pEqn.H.

p_rghEqnComp1
tmp< fvScalarMatrix > p_rghEqnComp1
Definition: pEqn.H:38
psi1
psi1
Definition: TEqns.H:34
Foam::fvc::div
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
Foam::correction
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix.
phi
phi
Definition: pEqn.H:20
psi2
psi2
Definition: TEqns.H:35
rho2
rho2
Definition: pEqn.H:125
rho1
rho1
Definition: pEqn.H:124
Foam::fvc::ddt
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
Foam::fvc::Sp
tmp< GeometricField< Type, fvPatchField, volMesh > > Sp(const volScalarField &sp, const GeometricField< Type, fvPatchField, volMesh > &vf)
Definition: fvcSup.C:67
p_rgh
volScalarField & p_rgh
Definition: setRegionFluidFields.H:31