Functions | Variables
pEqnRhoSimple.H File Reference
Include dependency graph for pEqnRhoSimple.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())
 
surfaceScalarField rhorAUf ("rhorAUf", fvc::interpolate(rho *rAU))
 
 if (useConstrainHbyA)
 
tUEqn clear ()
 
surfaceScalarField phiHbyA ("phiHbyA", fvc::interpolate(rho) *fvc::flux(HbyA))
 
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 
 constrainPressure (p, rho, U, phiHbyA, rhorAUf, MRF)
 
 while (simple.correctNonOrthogonal())
 
 if (printToScreen_)
 
p relax ()
 
U correctBoundaryConditions ()
 
fvOptions correct (U)
 
 if (closedVolume)
 
 if (pLimited||closedVolume)
 

Variables

autoPtr< volVectorField > HbyAPtr = nullptr
 
label useConstrainHbyA = daOptionPtr_->getOption<label>("useConstrainHbyA")
 
 else
 
volVectorField & HbyA = HbyAPtr()
 
bool closedVolume = false
 
 U = HbyA - rAU * fvc::grad(p)
 
bool pLimited = pressureControl.limit(p)
 
 rho = thermo.rho()
 

Function Documentation

◆ rAU()

volScalarField rAU ( 1.0/UEqn.  A())

Referenced by if().

Here is the caller graph for this function:

◆ rhorAUf()

surfaceScalarField rhorAUf ( "rhorAUf"  ,
fvc::interpolate(rho *rAU  
)

Referenced by while().

Here is the caller graph for this function:

◆ if() [1/4]

if ( useConstrainHbyA  )

Definition at line 9 of file pEqnRhoSimple.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  
)

Referenced by while().

Here is the caller graph for this function:

◆ makeRelative()

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

Referenced by DAPimpleDyMFoam::CorrectPhiDF(), and DAPimpleDyMFoam::solvePrimal().

Here is the caller graph for this function:

◆ constrainPressure()

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

Referenced by DAResidualSimpleFoam::calcResiduals(), and DAResidualRhoSimpleFoam::calcResiduals().

Here is the caller graph for this function:

◆ while()

while ( simple.  correctNonOrthogonal())

Definition at line 35 of file pEqnRhoSimple.H.

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

Here is the call graph for this function:

◆ if() [2/4]

if ( printToScreen_  )

Definition at line 58 of file pEqnRhoSimple.H.

◆ relax()

p relax ( )

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ correct()

fvOptions correct ( U  )

◆ if() [3/4]

if ( closedVolume  )

Definition at line 79 of file pEqnRhoSimple.H.

References initialMass_, p, and psi.

◆ if() [4/4]

if ( pLimited||  closedVolume)

Definition at line 85 of file pEqnRhoSimple.H.

References p.

Variable Documentation

◆ HbyAPtr

autoPtr<volVectorField> HbyAPtr = nullptr

Definition at line 7 of file pEqnRhoSimple.H.

Referenced by if().

◆ useConstrainHbyA

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

Definition at line 8 of file pEqnRhoSimple.H.

◆ else

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

Definition at line 14 of file pEqnRhoSimple.H.

◆ HbyA

volVectorField& HbyA = HbyAPtr()

Definition at line 18 of file pEqnRhoSimple.H.

◆ closedVolume

closedVolume = false

Definition at line 22 of file pEqnRhoSimple.H.

◆ U

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

Definition at line 69 of file pEqnRhoSimple.H.

Referenced by if().

◆ pLimited

bool pLimited = pressureControl.limit(p)

Definition at line 75 of file pEqnRhoSimple.H.

◆ rho

rho = thermo.rho()

Definition at line 90 of file pEqnRhoSimple.H.

Referenced by while().

U
U
Definition: pEqnRhoSimple.H:69
HbyAPtr
autoPtr< volVectorField > HbyAPtr
Definition: pEqnRhoSimple.H:7