Functions | Variables
pcEqn.H File Reference
Include dependency graph for pcEqn.H:

Go to the source code of this file.


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


 rho = thermo.rho()
bool closedVolume = false
 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< DSMCParcel< 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(), OFFsurfaceFormat< Face >::read(), VTKsurfaceFormat< 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(), PtrList< transferModel >::setSize(), UPtrList< Foam::Field< Type > >::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(), and tmp< Foam::surfaceInterpolationScheme< GType > >::~tmp().

◆ phiHbyA()

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

◆ makeRelative()

MRF makeRelative ( fvc::interpolate(rho ,

◆ rhorAtU()

volScalarField rhorAtU ( "rhorAtU"  ,
rho rAtU 

◆ constrainPressure()

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

◆ if() [1/4]

if ( simple.  transonic())

Definition at line 18 of file pcEqn.H.

References Foam::fvc::div(), fvOptions, Foam::fvc::grad(), HbyA, Foam::fvc::interpolate(), Foam::fvc::laplacian(), mesh, p, phi, phid(), phiHbyA, psi, rAtU(), rAU(), rho, rhorAtU(), simple, and Foam::fvc::snGrad().

Here is the call graph for this function:

◆ while()

while ( simple.  correctNonOrthogonal())

Definition at line 67 of file pcEqn.H.

References Foam::fvc::div(), fvOptions, Foam::fvc::laplacian(), p, phi, phiHbyA, 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

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
Definition: pcEqn.H:70
Definition: pcEqn.H:104
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.