Functions | Variables
pEqnTurbo.H File Reference
Include dependency graph for pEqnTurbo.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 if (!simple.transonic())
 
volScalarField p0 (p)
 
volScalarField AU (UEqn.A())
 
volScalarField AtU (AU - UEqn.H1())
 
volVectorField HbyA ("HbyA", U)
 
volScalarField rAU (1.0/UEqn.A())
 
tUEqn clear ()
 
 if (simple.transonic())
 
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 
 while (simple.correctNonOrthogonal())
 
 if (printToScreen)
 
p relax ()
 
U correctBoundaryConditions ()
 
 if (closedVolume)
 

Variables

 rho = thermo.rho()
 
 HbyA = UEqn.H() / AU
 
bool closedVolume = false
 
 else
 
 phiHbyA = fvc::interpolate(rho / AtU - rho / AU) * fvc::snGrad(p) * mesh.magSf()
 
 U = HbyA - (fvc::grad(p0) * (1.0 / AU - 1.0 / AtU) + fvc::grad(p) / AtU)
 

Function Documentation

◆ if() [1/4]

if ( !simple.  transonic())

Definition at line 5 of file pEqnTurbo.H.

References rho.

◆ p0()

volScalarField p0 ( p  )

Referenced by Foam::checkCoupledPoints().

Here is the caller graph for this function:

◆ AU()

volScalarField AU ( UEqn.  A())

Referenced by DAResidualTurboFoam::calcResiduals().

Here is the caller graph for this function:

◆ AtU()

volScalarField AtU ( AU - UEqn.  H1())

Referenced by DAResidualTurboFoam::calcResiduals(), and while().

Here is the caller graph for this function:

◆ HbyA()

volVectorField HbyA ( "HbyA"  ,
U   
)

◆ rAU()

volScalarField rAU ( 1.0/UEqn.  A())

Referenced by if().

Here is the caller graph for this function:

◆ clear()

tUEqn clear ( )

◆ if() [2/4]

if ( simple.  transonic())

Definition at line 22 of file pEqnTurbo.H.

References HbyA, mesh, MRF, p, phi, phid(), pressureControl, primalResidualControl< scalar >(), psi, rAU(), rho, and simple.

Here is the call graph for this function:

◆ makeRelative()

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

◆ while()

while ( simple.  correctNonOrthogonal())

Definition at line 67 of file pEqnTurbo.H.

References AtU(), p, phi, phiHbyA, pressureControl, primalResidualControl< scalar >(), rho, and simple.

Here is the call graph for this function:

◆ if() [3/4]

if ( printToScreen  )

Definition at line 90 of file pEqnTurbo.H.

◆ relax()

p relax ( )

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ if() [4/4]

if ( closedVolume  )

Definition at line 109 of file pEqnTurbo.H.

References initialMass_, p, and psi.

Variable Documentation

◆ rho

rho = thermo.rho()

Definition at line 1 of file pEqnTurbo.H.

Referenced by if(), and while().

◆ HbyA

HbyA = UEqn.H() / AU

Definition at line 15 of file pEqnTurbo.H.

Referenced by if().

◆ closedVolume

closedVolume = false

Definition at line 20 of file pEqnTurbo.H.

◆ else

else
Initial value:
{
surfaceScalarField phiHbyA(
"phiHbyA",
fvc::interpolate(rho * HbyA) & mesh.Sf())

Definition at line 57 of file pEqnTurbo.H.

◆ phiHbyA

phiHbyA = fvc::interpolate(rho / AtU - rho / AU) * fvc::snGrad(p) * mesh.magSf()

Definition at line 65 of file pEqnTurbo.H.

Referenced by while().

◆ U

U = HbyA - (fvc::grad(p0) * (1.0 / AU - 1.0 / AtU) + fvc::grad(p) / AtU)

Definition at line 101 of file pEqnTurbo.H.

HbyA
HbyA
Definition: pEqnTurbo.H:15
mesh
fvMesh & mesh
Definition: createRefsHeatTransfer.H:4
rho
rho
Definition: pEqnTurbo.H:1
phiHbyA
phiHbyA
Definition: pEqnTurbo.H:65