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

Go to the source code of this file.


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


bool closedVolume = false
 phiHbyA = fvc::interpolate(rho*(rAtU - rAU))*fvc::snGrad(p)*mesh.magSf()
 HbyA = (rAU - rAtU)*fvc::grad(p)
 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 ( constrainHbyA(rAU *UEqn.H(), U, p )
tUEqn clear ( )
if ( simple.  transonic())
MRF makeRelative ( fvc::interpolate(rho ,
volScalarField rhorAtU ( "rhorAtU"  ,
rho rAtU 
constrainPressure ( p  ,
rho  ,
U  ,
phiHbyA  ,
rhorAtU  ,
while ( simple.  correctNonOrthogonal())

Definition at line 68 of file pcEqn.H.

References Foam::fvc::div(), fvOptions, Foam::fvc::laplacian(), p, phi, 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 102 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 113 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

closedVolume = false

Definition at line 6 of file pcEqn.H.

Initial value:
Definition: pcEqn.H:74
Definition: pcEqn.H:73
Definition: pcEqn.H:1
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
Definition: fvcFlux.C:32
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField

Definition at line 54 of file pcEqn.H.

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

Definition at line 60 of file pcEqn.H.

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

Definition at line 61 of file pcEqn.H.

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

Definition at line 96 of file pcEqn.H.

rho = thermo.rho()

Definition at line 109 of file pcEqn.H.