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

Go to the source code of this file.


rho relax ()
volScalarField rAU (1.0/UEqn.A())
volScalarField rAtU (1.0/(1.0/rAU-UEqn.H1()))
volVectorField HbyA (constrainHbyA(rAU *UEqn.H(), U, p))
 if (pimple.nCorrPISO()<=1)
 if (pimple.transonic())
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
volScalarField rhorAtU ("rhorAtU", rho *rAtU)
 constrainPressure (p, rho, U, phiHbyA, rhorAtU, MRF)
 while (pimple.correctNonOrthogonal())
U correctBoundaryConditions ()
fvOptions correct (U)
 if (thermo.dpdt())
 if (!pimple.transonic())


 rho = thermo.rho()
 phiHbyA = fvc::interpolate(rho*(rAtU - rAU))*fvc::snGrad(p)*mesh.magSf()
 HbyA = (rAU - rAtU)*fvc::grad(p)
 U = HbyA - rAtU*fvc::grad(p)
 K = 0.5*magSqr(U)

Function Documentation

rho relax ( )
volScalarField rAU ( 1.0/UEqn.  A())
volScalarField rAtU ( 1.0/  1.0/rAU-UEqn.H1())
volVectorField HbyA ( constrainHbyA(rAU *UEqn.H(), U, p )
if ( pimple.nCorrPISO()<=  1)

Definition at line 10 of file pcEqn.H.

References tUEqn().

Here is the call graph for this function:

if ( pimple.  transonic())
MRF makeRelative ( fvc::interpolate(rho ,
volScalarField rhorAtU ( "rhorAtU"  ,
rho rAtU 
constrainPressure ( p  ,
rho  ,
U  ,
phiHbyA  ,
rhorAtU  ,
while ( pimple.  correctNonOrthogonal())

Definition at line 81 of file pcEqn.H.

References Foam::fvc::ddt(), Foam::fvc::div(), fvOptions, Foam::fvc::laplacian(), mesh, p, phi, pimple, psi, rho, and rhorAtU().

Here is the call graph for this function:

U correctBoundaryConditions ( )
fvOptions correct ( U  )
if ( thermo.  dpdt())

Definition at line 112 of file pcEqn.H.

References Foam::fvc::ddt(), dpdt, Foam::max(), Foam::min(), p, rho, rhoMax(), rhoMin(), and thermo.

Here is the call graph for this function:

if ( !pimple.  transonic())

Definition at line 122 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

rho = thermo.rho()

Definition at line 1 of file pcEqn.H.

Initial value:
surfaceScalarField & phi
volScalarField rAU(1.0/UEqn.A())
tmp< GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > > ddtCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
Definition: fvcDdt.C:155
tmp< surfaceScalarField > interpolate(const RhoType &rho)
Definition: pcEqn.H:74
Definition: pcEqn.H:73
Definition: pcEqn.H:1
Definition: pcEqn.H:107
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 61 of file pcEqn.H.

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

Definition at line 73 of file pcEqn.H.

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

Definition at line 74 of file pcEqn.H.

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

Definition at line 107 of file pcEqn.H.

K = 0.5*magSqr(U)

Definition at line 110 of file pcEqn.H.