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

Go to the source code of this file.


volScalarField rAU (1.0/UEqn.A())
surfaceScalarField rhorAUf ("rhorAUf", fvc::interpolate(rho *rAU))
volVectorField HbyA ("HbyA", U)
surfaceScalarField phig (-rhorAUf *ghf *fvc::snGrad(rho)*mesh.magSf())
surfaceScalarField phiHbyA ("phiHbyA",( (fvc::interpolate(rho *HbyA)&mesh.Sf()) +rhorAUf *fvc::ddtCorr(rho, U, phi) )+phig)
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 setSnGrad< fixedFluxPressureFvPatchScalarField > (p_rgh.boundaryField(),( phiHbyA.boundaryField() -MRF.relative(mesh.Sf().boundaryField()&U.boundaryField()) *rho.boundaryField() )/(mesh.magSf().boundaryField()*rhorAUf.boundaryField()))
 while (pimple.correctNonOrthogonal())
 if (thermo.dpdt())


 rho = thermo.rho()
 HbyA = rAU*UEqn.H()
 p = p_rgh + rho*gh
 K = 0.5*magSqr(U)

Function Documentation

volScalarField rAU ( 1.0/UEqn.  A())
surfaceScalarField rhorAUf ( "rhorAUf"  ,
fvc::interpolate(rho *rAU  
volVectorField HbyA ( "HbyA"  ,
surfaceScalarField phig ( -rhorAUf *ghf fvc::snGradrho)*mesh.magSf()
surfaceScalarField phiHbyA ( "phiHbyA"  ,
( (fvc::interpolate(rho *HbyA)&mesh.Sf()) +rhorAUf *fvc::ddtCorr(rho, U, phi) )+  phig 
MRF makeRelative ( fvc::interpolate(rho ,
setSnGrad< fixedFluxPressureFvPatchScalarField > ( p_rgh.  boundaryField(),
( phiHbyA.boundaryField() -MRF.relative(mesh.Sf().boundaryField()&U.boundaryField()) *rho.boundaryField() )/(mesh.magSf().boundaryField()*rhorAUf.boundaryField())   
while ( pimple.  correctNonOrthogonal())

Definition at line 34 of file pEqn.H.

References Foam::fvc::ddt(), Foam::fvc::div(), fvOptions, gh, HbyA, Foam::fvc::laplacian(), mesh, p_rgh, phi, phig(), phiHbyA, pimple, psi, rAU(), Foam::fvc::reconstruct(), rho, rhorAUf(), surfaceFilm, and U.

Here is the call graph for this function:

if ( thermo.  dpdt())

Definition at line 66 of file pEqn.H.

References Foam::fvc::ddt(), dpdt, and p.

Here is the call graph for this function:

Variable Documentation

rho = thermo.rho()

Definition at line 1 of file pEqn.H.

HbyA = rAU*UEqn.H()

Definition at line 7 of file pEqn.H.

p = p_rgh + rho*gh

Definition at line 59 of file pEqn.H.

K = 0.5*magSqr(U)

Definition at line 64 of file pEqn.H.