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

Go to the source code of this file.

Functions

volScalarField rAU (1.0/UEqn().A())
 
volScalarField rAtU (1.0/(1.0/rAU-UEqn().H1()))
 
volVectorField HbyA ("HbyA", U)
 
UEqn clear ()
 
 if (simple.transonic())
 
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 
volScalarField rhorAtU ("rhorAtU", rho *rAtU)
 
 while (simple.correctNonOrthogonal())
 
p relax ()
 
U correctBoundaryConditions ()
 
fvOptions correct (U)
 
 if (closedVolume)
 
 if (!simple.transonic())
 

Variables

 HbyA = rAU*UEqn().H()
 
bool closedVolume = false
 
 else
 
 phiHbyA = fvc::interpolate(rho*(rAtU - rAU))*fvc::snGrad(p)*mesh.magSf()
 
 U = HbyA - rAtU*fvc::grad(p)
 
 rho = thermo.rho()
 

Function Documentation

volScalarField rAU ( 1.0/  UEqn).A()
volScalarField rAtU ( 1.0/  1.0/rAU-UEqn().H1())
volVectorField HbyA ( "HbyA"  ,
U   
)
UEqn clear ( )
if ( simple.  transonic())

Definition at line 11 of file pcEqn.H.

References Foam::fvc::div(), fvOptions, Foam::fvc::grad(), HbyA, Foam::MULES::interpolate(), Foam::fvc::laplacian(), mesh, MRF, p, phi, phic, phid(), pRefCell, pRefValue, psi, rAtU(), rAU(), rho, rhorAtU(), simple, and Foam::fvc::snGrad().

Here is the call graph for this function:

MRF makeRelative ( fvc::interpolate(rho ,
phiHbyA   
)
volScalarField rhorAtU ( "rhorAtU"  ,
rho rAtU 
)
while ( simple.  correctNonOrthogonal())

Definition at line 73 of file pcEqn.H.

References Foam::fvc::div(), fvOptions, Foam::fvc::laplacian(), p, phi, phiHbyA, pRefCell, pRefValue, psi, rho, rhorAtU(), and simple.

Here is the call graph for this function:

p relax ( )
U correctBoundaryConditions ( )
fvOptions correct ( U  )
if ( closedVolume  )

Definition at line 107 of file pcEqn.H.

References Foam::fvc::domainIntegrate(), initialMass, p, and psi.

Here is the call graph for this function:

if ( !simple.  transonic())

Definition at line 118 of file pcEqn.H.

References Foam::endl(), Foam::Info, Foam::max(), Foam::min(), and rho.

Here is the call graph for this function:

Variable Documentation

HbyA = rAU*UEqn().H()

Definition at line 5 of file pcEqn.H.

closedVolume = false

Definition at line 9 of file pcEqn.H.

else
Initial value:
{
(
"phiHbyA",
)
rho
Definition: pcEqn.H:1
phiHbyA
Definition: pcEqn.H:74
tmp< surfaceScalarField > interpolate(const RhoType &rho)
dynamicFvMesh & mesh
HbyA
Definition: pcEqn.H:9
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField

Definition at line 57 of file pcEqn.H.

phiHbyA = fvc::interpolate(rho*(rAtU - rAU))*fvc::snGrad(p)*mesh.magSf()

Definition at line 68 of file pcEqn.H.

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

Definition at line 101 of file pcEqn.H.

rho = thermo.rho()

Definition at line 114 of file pcEqn.H.