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, vector > rhoHbyA_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   
)

◆ rhorAUf()

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

◆ 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.

Referenced by if(), and while().

Here is the caller graph for this function:

◆ if() [1/2]

if ( pimple.nCorrPISO()<=  1)

Definition at line 26 of file pEqn.H.

References 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, argList::executable(), Foam::exit(), and Foam::FatalError.

Here is the call graph for this function:

◆ makeRelative()

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

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 54 of file pEqn.H.

References Foam::fac::ddt(), Foam::fac::div(), fvOptions, Foam::fac::laplacian(), p, phi, phiHbyA, pimple, psi, rho, and rhorAUf().

Here is the call graph for this function:

◆ relax()

p relax ( )

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ correct()

fvOptions correct ( U  )

Variable Documentation

◆ HbyA

HbyA = rAU*UEqn.H()

Definition at line 4 of file pEqn.H.

Referenced by for(), if(), and while().

◆ rhoHbyA_orig

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

◆ rhorAUfbf

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

Definition at line 15 of file pEqn.H.

◆ rhoHbyAfbf

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

Definition at line 16 of file pEqn.H.

◆ else

else
Initial value:
{
(
"phiHbyA",
(
(rhoHbyAf & mesh.Sf())
* fvc::alphaCorr(U, phiByRho, pimple.finalInnerIter())
)
)
rho
Definition: pEqn.H:1
phiHbyA
Definition: pEqn.H:20
tmp< GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > > ddtCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
Definition: fvcDdt.C:165
phiByRho
Definition: pEqn.H:76
dynamicFvMesh & mesh
tmp< GeometricField< scalar, fvsPatchField, surfaceMesh > > alphaCorr(const GeometricField< vector, fvPatchField, volMesh > &U, const GeometricField< scalar, fvsPatchField, surfaceMesh > &phiU, const bool finalIter)
pimpleControl & pimple
U
Definition: pEqn.H:72
mesh interpolate(rAU)
surfaceVectorField rhoHbyAf("rhoHbyAf", fvc::interpolate(rho) *fvc::interpolate(U)+rhorAUf *fvc::interpolate(fvc::grad(p)))
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))

Definition at line 38 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.