Functions | Variables
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())

◆ rAtU()

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

◆ HbyA()

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

◆ clear()

tUEqn clear ( )

Referenced by cyclicPolyPatch::calcTransforms(), ILList< LListBase, T >::clear(), HashPtrTable< ThermoType >::clear(), DictionaryBase< DLPtrList< T >, T >::clear(), LPtrList< LListBase, T >::clear(), ZoneMesh< cellZone, polyMesh >::clear(), wordRe::clear(), LList< Foam::chemPointISAT< CompType, ThermoType > *>::clear(), DynamicList< Foam::Tensor >::clearStorage(), HashTable< Foam::phase *>::clearStorage(), DSMCCloud< ParcelType >::DSMCCloud(), fieldExpression::execute(), fieldsExpression::execute(), sampledPatch::expire(), sampledTriSurfaceMesh::expire(), moleculeCloud::moleculeCloud(), HashPtrTable< ThermoType >::operator=(), UILList< LListBase, T >::operator=(), tmp< Foam::surfaceInterpolationScheme< GType > >::operator=(), LPtrList< LListBase, T >::operator=(), LList< Foam::chemPointISAT< CompType, ThermoType > *>::operator=(), Matrix< RectangularMatrix< Type >, Type >::operator=(), HashTable< Foam::phase *>::operator=(), MeshedSurface< Foam::face >::operator=(), dictionary::parent(), reactingMixture< ThermoType >::reactingMixture(), extendedEdgeMeshFormat::read(), extendedFeatureEdgeMeshFormat::read(), NASedgeFormat::read(), OBJsurfaceFormat< Face >::read(), GTSsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), VTKsurfaceFormat< Face >::read(), OFFsurfaceFormat< Face >::read(), AC3DsurfaceFormat< Face >::read(), TRIsurfaceFormat< Face >::read(), STARCDsurfaceFormat< Face >::read(), edgeMeshFormat::read(), OFSsurfaceFormat< Face >::read(), STLsurfaceFormat< Face >::read(), MeshedSurface< Foam::face >::read(), GeometricField< Type, PatchField, GeoMesh >::Boundary::readField(), UPtrList< phaseModel >::setSize(), PtrList< transferModel >::setSize(), List< Field< scalar > >::setSize(), singleStepReactingMixture< ThermoType >::singleStepReactingMixture(), PtrList< transferModel >::transfer(), LPtrList< LListBase, T >::transfer(), LList< Foam::chemPointISAT< CompType, ThermoType > *>::transfer(), List< Field< scalar > >::transfer(), Matrix< RectangularMatrix< Type >, Type >::transfer(), HashTable< Foam::phase *>::transfer(), MeshedSurface< Foam::face >::transfer(), autoPtr< Foam::distributionModel >::~autoPtr(), HashPtrTable< ThermoType >::~HashPtrTable(), HashTable< Foam::phase *>::~HashTable(), LList< Foam::chemPointISAT< CompType, ThermoType > *>::~LList(), LPtrList< LListBase, T >::~LPtrList(), objectRegistry::~objectRegistry(), and tmp< Foam::surfaceInterpolationScheme< GType > >::~tmp().

◆ phiHbyA()

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

◆ makeRelative()

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

◆ rhorAtU()

volScalarField rhorAtU ( "rhorAtU"  ,
rho rAtU 
)

◆ constrainPressure()

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

◆ if() [1/4]

if ( simple.  transonic())

◆ while()

while ( simple.  correctNonOrthogonal())

Definition at line 67 of file pcEqn.H.

References Foam::fvc::div(), fvOptions, Foam::fvc::laplacian(), p, phi, phiHbyA, pressureControl, psi, rho, rhorAtU(), and simple().

Here is the call graph for this function:

◆ relax()

p relax ( )

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ correct()

fvOptions correct ( U  )

◆ if() [2/4]

if ( closedVolume  )

Definition at line 107 of file pcEqn.H.

References Foam::fvc::domainIntegrate(), initialMass, p, and psi.

Here is the call graph for this function:

◆ if() [3/4]

if ( pLimited||  closedVolume)

Definition at line 113 of file pcEqn.H.

References p, rho, and thermo.

◆ if() [4/4]

if ( !simple.  transonic())

Definition at line 120 of file pcEqn.H.

References rho.

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:
{
bool closedVolume
Definition: pcEqn.H:8
bool adjustPhi(surfaceScalarField &phi, const volVectorField &U, volScalarField &p)
Adjust the balance of fluxes to obey continuity.
Definition: adjustPhi.C:34
phiHbyA
Definition: pcEqn.H:73
U
Definition: pcEqn.H:107
volScalarField & p

Definition at line 61 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.