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()))
 
 if (useConstrainHbyA)
 
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()
 
autoPtr< volVectorField > HbyAPtr = nullptr
 
label useConstrainHbyA = daOptionPtr_->getOption<label>("useConstrainHbyA")
 
 else
 
volVectorField & HbyA = HbyAPtr()
 
bool closedVolume = false
 
 phiHbyA
 
 U = HbyA - rAtU * fvc::grad(p)
 
bool pLimited = pressureControl.limit(p)
 

Function Documentation

◆ rAU()

volScalarField rAU ( 1.0/UEqn.  A())

Referenced by if().

Here is the caller graph for this function:

◆ rAtU()

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

◆ if() [1/4]

if ( useConstrainHbyA  )

Definition at line 11 of file pEqnRhoSimpleC.H.

References HbyAPtr, p, rAU(), U, and UEqn.

Here is the call graph for this function:

◆ 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 42 of file pEqnRhoSimpleC.H.

References p, phi, phid(), phiHbyA, pressureControl, rhorAtU(), and simple.

Here is the call graph for this function:

◆ if() [2/4]

if ( printToScreen_  )

Definition at line 68 of file pEqnRhoSimpleC.H.

◆ relax()

p relax ( )

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ if() [3/4]

if ( closedVolume  )

Definition at line 88 of file pEqnRhoSimpleC.H.

References initialMass_, p, and psi.

◆ if() [4/4]

if ( pLimited||  closedVolume)

Definition at line 94 of file pEqnRhoSimpleC.H.

References p.

Variable Documentation

◆ rho

rho = thermo.rho()

Definition at line 1 of file pEqnRhoSimpleC.H.

◆ HbyAPtr

autoPtr<volVectorField> HbyAPtr = nullptr

Definition at line 9 of file pEqnRhoSimpleC.H.

Referenced by if().

◆ useConstrainHbyA

label useConstrainHbyA = daOptionPtr_->getOption<label>("useConstrainHbyA")

Definition at line 10 of file pEqnRhoSimpleC.H.

◆ else

else
Initial value:
{
HbyAPtr.reset(new volVectorField("HbyA", U))

Definition at line 16 of file pEqnRhoSimpleC.H.

◆ HbyA

HbyA = HbyAPtr()

Definition at line 20 of file pEqnRhoSimpleC.H.

◆ closedVolume

bool closedVolume = false

Definition at line 24 of file pEqnRhoSimpleC.H.

◆ phiHbyA

phiHbyA

◆ U

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

Definition at line 79 of file pEqnRhoSimpleC.H.

Referenced by if().

◆ pLimited

bool pLimited = pressureControl.limit(p)

Definition at line 84 of file pEqnRhoSimpleC.H.

HbyAPtr
autoPtr< volVectorField > HbyAPtr
Definition: pEqnRhoSimpleC.H:9
rho
rho
Definition: pEqnRhoSimpleC.H:1
U
U
Definition: pEqnRhoSimpleC.H:79
mesh
fvMesh & mesh
Definition: createRefsHeatTransfer.H:4
rAU
volScalarField rAU(1.0/UEqn.A())
phiHbyA
phiHbyA
Definition: pEqnRhoSimpleC.H:36
p
volScalarField & p
Definition: createRefsPimpleDyM.H:6
psi
const volScalarField & psi
Definition: createRefsRhoPimple.H:14
rAtU
volScalarField rAtU(1.0/(1.0/rAU - UEqn.H1()))