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, phi))
 
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())
 

Variables

 HbyA = rAU*UEqn.H()
 
 phiHbyA = phig
 
tmp< fvScalarMatrix > p_rghEqnComp1
 
tmp< fvScalarMatrix > p_rghEqnComp2
 
 else
 
 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

surfaceScalarField rAUf ( "rAUf"  ,
fvc::  interpolaterAU 
)
volVectorField HbyA ( "HbyA"  ,
U   
)
surfaceScalarField phiHbyA ( "phiHbyA"  ,
(fvc::interpolate(HbyA)&mesh.Sf())+fvc::interpolate(rho *rAU)*fvc::ddtCorr(U, phi  
)
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())

Definition at line 77 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, pos(), rAU(), rAUf(), Foam::fvc::reconstruct(), rho1, rho2, solve(), and U.

Here is the call graph for this function:

Variable Documentation

HbyA = rAU*UEqn.H()

Definition at line 6 of file pEqn.H.

phiHbyA = phig

Definition at line 23 of file pEqn.H.

tmp<fvScalarMatrix> p_rghEqnComp1

Definition at line 35 of file pEqn.H.

p_rghEqnComp2
Initial value:
=
psi2
Definition: TEqns.H:35
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 > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
rho2
Definition: pEqn.H:125
tmp< GeometricField< Type, fvPatchField, volMesh > > Sp(const volScalarField &sp, const GeometricField< Type, fvPatchField, volMesh > &vf)
Definition: fvcSup.C:67
volScalarField & p_rgh
phi
Definition: pEqn.H:20

Definition at line 36 of file pEqn.H.

else
Initial value:
{
rho1
Definition: pEqn.H:124
tmp< fvScalarMatrix > p_rghEqnComp1
Definition: pEqn.H:38
psi1
Definition: TEqns.H:34
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 > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
tmp< GeometricField< Type, fvPatchField, volMesh > > Sp(const volScalarField &sp, const GeometricField< Type, fvPatchField, volMesh > &vf)
Definition: fvcSup.C:67
volScalarField & p_rgh
phi
Definition: pEqn.H:20

Definition at line 64 of file pEqn.H.

rho1 = psi1*(p_rgh - p_rgh_0)

Definition at line 117 of file pEqn.H.

rho2 = psi2*(p_rgh - p_rgh_0)

Definition at line 118 of file pEqn.H.

Definition at line 120 of file pEqn.H.

K = 0.5*magSqr(U)

Definition at line 122 of file pEqn.H.