Loading...
Searching...
No Matches
pEqn.H File Reference
Include dependency graph for pEqn.H:

Go to the source code of this file.

Functions

volVectorField HbyA ("HbyA", U)
surfaceScalarField rhorAUf ("rhorAUf", fvc::interpolate(rho)/fvc::interpolate(UEqn.A()))
surfaceVectorField rhoHbyAf ("rhoHbyAf", fvc::interpolate(rho) *fvc::interpolate(U)+rhorAUf *fvc::interpolate(fvc::grad(p)))
 forAll (U.boundaryField(), patchi)
 if (pimple.nCorrPISO()<=1)
 if (pimple.transonic())
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 while (pimple.correctNonOrthogonal())
p relax ()
U correctBoundaryConditions ()
fvOptions correct (U)

Variables

 HbyA = rAU*UEqn.H()
const Foam::FieldField< Foam::fvsPatchField, vectorrhoHbyA_orig (fvc::interpolate(rho.boundaryField() *HbyA.boundaryField()))
surfaceScalarField::Boundary & rhorAUfbf = rhorAUf.boundaryFieldRef()
surfaceVectorField::Boundary & rhoHbyAfbf = rhoHbyAf.boundaryFieldRef()
 else
 phiByRho = phi/fvc::interpolate(rho)
 U = HbyA - rAU*fvc::grad(p)
 rho = thermo.rho()

Function Documentation

◆ HbyA()

volVectorField HbyA ( "HbyA" ,
U  )

References U.

◆ rhorAUf()

surfaceScalarField rhorAUf ( "rhorAUf" ,
fvc::interpolate(rho)/fvc::interpolate(UEqn.A())  )

References rho, and UEqn.

◆ rhoHbyAf()

surfaceVectorField rhoHbyAf ( "rhoHbyAf" ,
fvc::interpolate(rho) *fvc::interpolate(U)+rhorAUf *fvc::interpolate(fvc::grad(p))  )

◆ forAll()

forAll ( U. boundaryField(),
patchi  )

Definition at line 18 of file pEqn.H.

References p, rho, rhorAUf(), and U.

Here is the call graph for this function:

◆ if() [1/2]

if ( pimple.nCorrPISO()<= 1)

Definition at line 26 of file pEqn.H.

References pimple, and tUEqn().

Here is the call graph for this function:

◆ if() [2/2]

if ( pimple. transonic())

Definition at line 31 of file pEqn.H.

References args, and pimple.

◆ makeRelative()

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

References MRF, phiHbyA, and rho.

◆ while()

while ( pimple. correctNonOrthogonal())

Definition at line 54 of file pEqn.H.

References fvOptions, p, phi, phiHbyA, pimple, psi, rho, and rhorAUf().

Here is the call graph for this function:

◆ relax()

p relax ( )

References p.

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

References U.

◆ correct()

fvOptions correct ( U )

References fvOptions, and U.

Variable Documentation

◆ HbyA

HbyA = rAU*UEqn.H()

Definition at line 4 of file pEqn.H.

◆ rhoHbyA_orig

const Foam::FieldField< Foam::fvsPatchField, vector > rhoHbyA_orig(fvc::interpolate(rho.boundaryField() *HbyA.boundaryField())) ( fvc::interpolate(rho.boundaryField() *HbyA.boundaryField()) )
Initial value:
{
(
fvc::interpolate(rho.boundaryField()*rAU.boundaryField())
)
A field of fields is a PtrList of fields with reference counting.
Definition FieldField.H:77
tmp< volScalarField > rAU

Referenced by forAll().

◆ rhorAUfbf

surfaceScalarField::Boundary& rhorAUfbf = rhorAUf.boundaryFieldRef()

Definition at line 15 of file pEqn.H.

Referenced by forAll().

◆ rhoHbyAfbf

surfaceVectorField::Boundary& rhoHbyAfbf = rhoHbyAf.boundaryFieldRef()

Definition at line 16 of file pEqn.H.

Referenced by forAll().

◆ else

else
Initial value:
{
surfaceScalarField phiHbyA
(
"phiHbyA",
(
(rhoHbyAf & mesh.Sf())
+ rhorAUf*fvc::interpolate(rho)*fvc::ddtCorr(U, phiByRho)
+ fvc::interpolate(rho)
* fvc::alphaCorr(U, phiByRho, pimple.finalInnerIter())
)
)
pimpleControl & pimple
U
Definition pEqn.H:72
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))
phiHbyA
Definition pcEqn.H:73
phiByRho
Definition pEqn.H:76
surfaceVectorField rhoHbyAf("rhoHbyAf", fvc::interpolate(rho) *fvc::interpolate(U)+rhorAUf *fvc::interpolate(fvc::grad(p)))
dynamicFvMesh & mesh

Definition at line 37 of file pEqn.H.

◆ phiByRho

phiByRho = phi/fvc::interpolate(rho)

Definition at line 76 of file pEqn.H.

◆ U

U = HbyA - rAU*fvc::grad(p)

Definition at line 84 of file pEqn.H.

◆ rho

rho = thermo.rho()

Definition at line 89 of file pEqn.H.