Loading...
Searching...
No Matches
pEqn.H File Reference
Include dependency graph for pEqn.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

surfaceScalarField rhorAUf ("rhorAUf", fvc::interpolate(rho *rAU))
volVectorField HbyA (constrainHbyA(rAU *UEqn.H(), U, p_rgh))
surfaceScalarField phig (-rhorAUf *ghf *fvc::snGrad(rho) *mesh.magSf())
surfaceScalarField phiHbyA ("phiHbyA", fvc::flux(rho *HbyA))
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 constrainPressure (p_rgh, rho, U, phiHbyA, rhorAUf, MRF)
 for (int nonOrth=0;nonOrth<=nNonOrthCorr;nonOrth++)
 if (closedVolume)
rho clamp_range (rhoMin[i], rhoMax[i])
rho relax ()

Variables

bool closedVolume = adjustPhi(phiHbyA, U, p_rgh)
 phiHbyA = phig
dimensionedScalar compressibility = fvc::domainIntegrate(psi)
bool compressible = (compressibility.value() > SMALL)
 p = p_rgh + rho*gh
 rho = thermo.rho()

Function Documentation

◆ rhorAUf()

surfaceScalarField rhorAUf ( "rhorAUf" ,
fvc::interpolate(rho *rAU)  )

References rAU, and rho.

◆ HbyA()

volVectorField HbyA ( constrainHbyA(rAU *UEqn.H(), U, p_rgh) )

References p_rgh, rAU, U, and UEqn.

◆ phig()

surfaceScalarField phig ( -rhorAUf *ghf * fvc::snGradrho) *mesh.magSf()

References ghf, mesh, rho, and rhorAUf().

Here is the call graph for this function:

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA" ,
fvc::flux(rho *HbyA)  )

References HbyA, and rho.

◆ makeRelative()

MRF makeRelative ( fvc::interpolate(rho) ,
phiHbyA  )

References MRF, phiHbyA, and rho.

◆ constrainPressure()

constrainPressure ( p_rgh ,
rho ,
U ,
phiHbyA ,
rhorAUf ,
MRF  )

References MRF, p_rgh, phiHbyA, rho, rhorAUf(), and U.

Here is the call graph for this function:

◆ for()

for ( int nonOrth = 0; nonOrth<=nNonOrthCorr; nonOrth++)

Definition at line 28 of file pEqn.H.

References fvOptions, HbyA, nNonOrthCorr, p_rgh, phi, phig(), phiHbyA, pRefCell, rAU, rhorAUf(), and U.

Here is the call graph for this function:

◆ if()

if ( closedVolume )

Definition at line 61 of file pEqn.H.

References closedVolume, compressibility, compressible, gh, initialMass, p, p_rgh, pRefCell, pRefValue, psi, and rho.

◆ clamp_range()

rho clamp_range ( rhoMin [i],
rhoMax [i] )

References rho, rhoMax, and rhoMin.

Referenced by GeometricField< Type, PatchField, GeoMesh >::clamp_range(), and GeometricField< Type, PatchField, GeoMesh >::clamp_range().

Here is the caller graph for this function:

◆ relax()

rho relax ( )

References rho.

Variable Documentation

◆ closedVolume

bool closedVolume = adjustPhi(phiHbyA, U, p_rgh)

Definition at line 17 of file pEqn.H.

◆ phiHbyA

phiHbyA = phig

Definition at line 19 of file pEqn.H.

◆ compressibility

dimensionedScalar compressibility = fvc::domainIntegrate(psi)

Definition at line 24 of file pEqn.H.

◆ compressible

bool compressible = (compressibility.value() > SMALL)

Definition at line 25 of file pEqn.H.

◆ p

p = p_rgh + rho*gh

Definition at line 55 of file pEqn.H.

◆ rho

rho = thermo.rho()

Definition at line 80 of file pEqn.H.