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

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)
 
tUEqn clear ()
 
surfaceScalarField phiHbyA ("phiHbyA", fvc::interpolate(rho) *fvc::flux(HbyA))
 
volScalarField rhorAtU ("rhorAtU", rho *rAtU)
 
surfaceScalarField phid ("phid",(fvc::interpolate(psi)/fvc::interpolate(rho)) *phiHbyA)
 
 while (simple.correctNonOrthogonal())
 
 if (printToScreen)
 
p relax ()
 
U correctBoundaryConditions ()
 
 if (closedVolume)
 
 if (pLimited||closedVolume)
 

Variables

 rho = thermo.rho()
 
 HbyA = rAU * UEqn.H()
 
bool closedVolume = false
 
 phiHbyA
 
 U = HbyA - rAtU * fvc::grad(p)
 
bool pLimited = pressureControl.limit(p)
 

Function Documentation

◆ rAU()

volScalarField rAU ( 1.0/UEqn.  A())

◆ rAtU()

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

◆ HbyA()

volVectorField HbyA ( "HbyA"  ,
U   
)

◆ clear()

tUEqn clear ( )

◆ phiHbyA()

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

◆ rhorAtU()

volScalarField rhorAtU ( "rhorAtU"  ,
rho rAtU 
)

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

Here is the caller graph for this function:

◆ phid()

surfaceScalarField phid ( "phid"  ,
(fvc::interpolate(psi)/fvc::interpolate(rho)) *  phiHbyA 
)

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

Here is the caller graph for this function:

◆ while()

while ( simple.  correctNonOrthogonal())

Definition at line 33 of file pEqnRhoSimpleC.H.

References p, phi, phid(), phiHbyA, pressureControl, primalResidualControl< scalar >(), rhorAtU(), and simple.

Here is the call graph for this function:

◆ if() [1/3]

if ( printToScreen  )

Definition at line 59 of file pEqnRhoSimpleC.H.

◆ relax()

p relax ( )

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ if() [2/3]

if ( closedVolume  )

Definition at line 79 of file pEqnRhoSimpleC.H.

References initialMass_, p, and psi.

◆ if() [3/3]

if ( pLimited||  closedVolume)

Definition at line 85 of file pEqnRhoSimpleC.H.

References p.

Variable Documentation

◆ rho

rho = thermo.rho()

Definition at line 1 of file pEqnRhoSimpleC.H.

◆ HbyA

HbyA = rAU * UEqn.H()

◆ closedVolume

bool closedVolume = false

Definition at line 15 of file pEqnRhoSimpleC.H.

◆ phiHbyA

phiHbyA

◆ U

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

Definition at line 70 of file pEqnRhoSimpleC.H.

◆ pLimited

bool pLimited = pressureControl.limit(p)

Definition at line 75 of file pEqnRhoSimpleC.H.

rho
rho
Definition: pEqnRhoSimpleC.H:1
p
volScalarField & p
Definition: createRefsPimple.H:6
mesh
fvMesh & mesh
Definition: createRefsHeatTransfer.H:4
rAU
volScalarField rAU(1.0/UEqn.A())
phiHbyA
phiHbyA
Definition: pEqnRhoSimpleC.H:27
psi
const volScalarField & psi
Definition: createRefsRhoSimpleC.H:14
rAtU
volScalarField rAtU(1.0/(1.0/rAU - UEqn.H1()))