Loading...
Searching...
No Matches
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 (constrainHbyA(rAU *UEqn.H(), U, p))
tUEqn clear ()
surfaceScalarField phiHbyA ("phiHbyA", fvc::interpolate(rho) *fvc::flux(HbyA))
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
volScalarField rhorAtU ("rhorAtU", rho *rAtU)
 constrainPressure (p, rho, U, phiHbyA, rhorAtU, MRF)
 if (simple.transonic())
 while (simple.correctNonOrthogonal())
p relax ()
U correctBoundaryConditions ()
fvOptions correct (U)
 if (closedVolume)
 if (pLimited||closedVolume)
 if (!simple.transonic())

Variables

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

Function Documentation

◆ rAU()

volScalarField rAU ( 1.0/UEqn. A())

References UEqn.

◆ rAtU()

volScalarField rAtU ( 1.0/ 1.0/rAU - UEqn.H1())

References rAU, and UEqn.

◆ HbyA()

volVectorField HbyA ( constrainHbyA(rAU *UEqn.H(), U, p) )

References p, rAU, U, and UEqn.

◆ clear()

tUEqn clear ( )

References tUEqn().

Here is the call graph for this function:

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA" ,
fvc::interpolate(rho) *fvc::flux(HbyA)  )

References HbyA, and rho.

◆ makeRelative()

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

References MRF, phiHbyA, and rho.

◆ rhorAtU()

volScalarField rhorAtU ( "rhorAtU" ,
rho * rAtU )

References rAtU(), and rho.

Here is the call graph for this function:

◆ constrainPressure()

constrainPressure ( p ,
rho ,
U ,
phiHbyA ,
rhorAtU ,
MRF  )

References MRF, p, phiHbyA, rho, rhorAtU(), and U.

Here is the call graph for this function:

◆ if() [1/4]

if ( simple. transonic())

Definition at line 18 of file pcEqn.H.

References fvOptions, HbyA, mesh, p, phi, phid(), phiHbyA, pressureControl, psi, rAtU(), rAU, rho, rhorAtU(), and simple.

Here is the call graph for this function:

◆ while()

while ( simple. correctNonOrthogonal())

Definition at line 67 of file pcEqn.H.

References fvOptions, p, phi, phiHbyA, pressureControl, psi, rho, rhorAtU(), and simple.

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.

◆ if() [2/4]

if ( closedVolume )

Definition at line 107 of file pcEqn.H.

References closedVolume, initialMass, p, and psi.

◆ if() [3/4]

if ( pLimited|| closedVolume)

Definition at line 113 of file pcEqn.H.

References closedVolume, p, and pLimited.

◆ if() [4/4]

if ( !simple. transonic())

Definition at line 120 of file pcEqn.H.

References rho, and simple.

Variable Documentation

◆ rho

rho = thermo.rho()

Definition at line 1 of file pcEqn.H.

◆ closedVolume

bool closedVolume = false

Definition at line 8 of file pcEqn.H.

◆ else

else
Initial value:
{
U
Definition pEqn.H:72
volScalarField & p
phiHbyA
Definition pcEqn.H:73
bool closedVolume
Definition pEqn.H:10
adjustPhi(phiHbyA, U, p_rgh)

Definition at line 60 of file pcEqn.H.

◆ phiHbyA

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

Definition at line 64 of file pcEqn.H.

◆ HbyA

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

Definition at line 65 of file pcEqn.H.

◆ U

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

Definition at line 99 of file pcEqn.H.

◆ pLimited

bool pLimited = pressureControl.limit(p)

Definition at line 103 of file pcEqn.H.

Referenced by if().