pEqn.H File Reference

Go to the source code of this file.

Functions

surfaceScalarField rAUf ("rAUf", fvc::interpolate(rAU))
 
volVectorField HbyA (constrainHbyA(rAU *UEqn.H(), U, p_rgh))
 
surfaceScalarField phiHbyA ("phiHbyA", fvc::flux(HbyA)+fvc::interpolate(rho *rAU) *fvc::ddtCorr(U, phi))
 
surfaceScalarField phig ((mixture.surfaceTensionForce() - ghf *fvc::snGrad(rho)) *rAUf *mesh.magSf())
 
 constrainPressure (p_rgh, U, phiHbyA, rAUf)
 
PtrList< fvScalarMatrix > p_rghEqnComps (mixture.phases().size())
 
 forAllConstIters (mixture.phases(), phase)
 
volScalarField p_rgh_0 (p_rgh)
 
 while (pimple.correctNonOrthogonal())
 
mixture correctRho (p_rgh - p_rgh_0)
 
p_rgh correctBoundaryConditions ()
 

Variables

 phiHbyA = phig
 
label phasei = 0
 
 p = max(p_rgh + mixture.rho()*gh, pMin)
 
 rho = mixture.rho()
 
 p_rgh = p - rho*gh
 
 K = 0.5*magSqr(U)
 

Function Documentation

◆ rAUf()

surfaceScalarField rAUf ( "rAUf"  ,
fvc::interpolate(rAU  
)

◆ HbyA()

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

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA"  ,
fvc::flux(HbyA)+fvc::interpolate(rho *rAU) *fvc::ddtCorr(U, phi  
)

◆ phig()

surfaceScalarField phig ( (mixture.surfaceTensionForce() - ghf *fvc::snGrad(rho)) *rAUf *mesh.magSf()  )

◆ constrainPressure()

constrainPressure ( p_rgh  ,
U  ,
phiHbyA  ,
rAUf   
)

◆ p_rghEqnComps()

PtrList<fvScalarMatrix> p_rghEqnComps ( mixture.  phases).size()

Referenced by forAllConstIters(), and while().

Here is the caller graph for this function:

◆ forAllConstIters()

forAllConstIters ( mixture.  phases(),
phase   
)

Definition at line 28 of file pEqn.H.

References Foam::correction(), Foam::fac::ddt(), Foam::fac::div(), p_rgh, p_rghEqnComps(), phasei, phi, rho, and Sp.

Referenced by greyMeanAbsorptionEmission::aCont(), wideBandAbsorptionEmission::aCont(), ISAT< CompType, ThermoType >::add(), snappyRefineDriver::addFaceZones(), ABAQUSCore::readHelper::addNewElset(), boundaryRegion::append(), cellTable::append(), IOobjectList::append(), distribution::approxTotalEntries(), lumpedPointMovement::areas(), boundaryRegion::boundaryTypes(), forces::calcForcesMoment(), cellMatcher::calcLocalFaces(), GAMGAgglomeration::calculateRegionMaster(), argList::check(), primitiveMesh::checkCommonOrder(), primitiveMesh::checkDuplicateFaces(), IOobjectList::classesImpl(), objectRegistry::classesImpl(), probes::classifyFields(), cellTable::combine(), hexRef8::consistentSlowRefinement(), fvPatch::constraintTypes(), polyPatch::constraintTypes(), regionProperties::count(), objectRegistry::count(), IOobjectList::countImpl(), objectRegistry::countImpl(), IOobjectList::countTypeImpl(), objectRegistry::countTypeImpl(), nearWallFields::createFields(), phaseSystem::createSubModels(), simpleControl::criteriaSatisfied(), pimpleControl::criteriaSatisfied(), edgeSurface::edgeSurface(), energyTransport::energyTransport(), polySurface::findFieldObject(), boundaryRegion::findIndex(), cellTable::findIndex(), namesList< solutionEntry >::findNames(), coupleGroupIdentifier::findOtherPatchID(), polyMeshAdder::findSharedPoints(), lumpedPointMovement::forcesAndMoments(), namesList< solutionEntry >::found(), phaseSystem::generatePairs(), phaseSystem::generatePairsAndSubModels(), genericFaPatchField< Type >::genericFaPatchField(), genericFvPatchField< Type >::genericFvPatchField(), genericFvsPatchField< Type >::genericFvsPatchField(), genericPointPatchField< Type >::genericPointPatchField(), undoableMeshCutter::getAddedCells(), combineFaces::getMergeSets(), undoableMeshCutter::getSplitFaces(), leastSquareGrad< T >::grad(), greyMeanAbsorptionEmission::greyMeanAbsorptionEmission(), if(), LocalInteraction< CloudType >::info(), StandardWallInteraction< CloudType >::info(), forces::initialiseBins(), surfaceInterpolate::interpolateFields(), interfaceDefinitions::isInterface(), triSurfaceMesh::isSurfaceClosed(), lduPrimitiveMesh::lduPrimitiveMesh(), objectRegistry::lookupClass(), IOobjectList::lookupClassImpl(), IOobjectList::lookupClassTypeImpl(), IOobjectList::lookupImpl(), basicThermo::lookupThermo(), Foam::MapConsistentVolFields(), Foam::MapDimensionedFields(), Foam::MapGeometricFields(), Foam::MapLagrangianFields(), Foam::MapVolFields(), reconstructedDistanceFunction::markCellsNearSurf(), polyBoundaryMesh::matchGroups(), cellTable::materialTypes(), fieldTable::maxCellId(), fieldTable::maxFaceId(), meshRefinement::mergeBaffles(), meshRefinement::mergePatchFacesUndo(), multiBandZoneAbsorptionEmission::multiBandZoneAbsorptionEmission(), boundaryRegion::names(), cellTable::names(), IOobjectList::namesImpl(), objectRegistry::namesImpl(), IOobjectList::namesTypeImpl(), objectRegistry::namesTypeImpl(), surfaceFeatures::nearestEdges(), surfaceFeatures::nearestSamples(), mapDistribute::transformPosition::operator()(), Foam::operator<<(), WeberNumberReacting< CloudType >::postEvolve(), fvMeshDistribute::printFieldInfo(), ABAQUSsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), wallBoundedStreamLine::read(), Time::readDict(), lagrangianReconstructor::reconstructPositions(), regionSplit::reduceRegions(), refinementSurfaces::refinementSurfaces(), boundaryRegion::rename(), fieldAverage::restoreWindowFieldsType(), ISAT< CompType, ThermoType >::retrieve(), cellTable::selectType(), lumpedPointMovement::setInterpolator(), duplicatePoints::setRefinement(), refinementIterator::setRefinement(), faceCollapser::setRefinement(), boundaryCutter::setRefinement(), undoableMeshCutter::setRefinement(), meshCutAndRemove::setRefinement(), meshCutter::setRefinement(), edgeCollapser::setRefinement(), regionProperties::sortedNames(), Cloud< passivePositionParticle >::storeGlobalPositions(), syncTools::syncEdgeMap(), syncTools::syncPointMap(), distribution::totalEntries(), Foam::UnMapped(), dynamicRefineFvMesh::unrefine(), uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs(), edgeVertex::updateLabels(), boundaryCutter::updateMesh(), localPointRegion::updateMesh(), meshCutAndRemove::updateMesh(), meshCutter::updateMesh(), hexRef8::updateMesh(), meshRefinement::updateMesh(), Foam::HashTableOps::values(), meshReader::warnDuplicates(), reader::warnDuplicates(), polySurface::whichRegistry(), while(), wideBandAbsorptionEmission::wideBandAbsorptionEmission(), jplotGraph::write(), gnuplotGraph::write(), xmgrGraph::write(), areaWrite::write(), regionSizeDistribution::write(), fvExprDriver::writeCommon(), IOPosition< CloudType >::writeData(), fieldAverage::writeFields(), Cloud< passivePositionParticle >::writePositions(), writer::writeSolution(), exprDriver::writeTable(), graph::writeTable(), and Foam::ensightOutput::writeVolField().

Here is the call graph for this function:

◆ p_rgh_0()

volScalarField p_rgh_0 ( p_rgh  )

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 48 of file pEqn.H.

References Foam::fac::div(), forAllConstIters(), HbyA, Foam::fac::laplacian(), Foam::max(), mesh, mixture, p_rgh, p_rghEqnComps(), phasei, phi, phig(), phiHbyA, pimple, Foam::pos0(), rAU(), rAUf(), Foam::fvc::reconstruct(), rho, solve(), thermo, and U.

Here is the call graph for this function:

◆ correctRho()

mixture correctRho ( p_rgh p_rgh_0)

◆ correctBoundaryConditions()

p_rgh correctBoundaryConditions ( )

Variable Documentation

◆ phiHbyA

phiHbyA = phig

Definition at line 20 of file pEqn.H.

◆ phasei

label phasei = 0

Definition at line 27 of file pEqn.H.

Referenced by phaseSystem::calcPhi(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud > >::componentNames(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud > >::Cp(), MomentumTransferPhaseSystem< BasePhaseSystem >::ddtCorrByAs(), energyTransport::energyTransport(), phaseSystem::fillFields(), for(), forAll(), forAllConstIters(), phaseSystem::generatePairsAndSubModels(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud > >::H(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud > >::Hc(), OneResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud > >::Hs(), if(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud > >::L(), Foam::MULES::limitSum(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud > >::localId(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud > >::localToCarrierId(), PhaseTransferPhaseSystem< BasePhaseSystem >::massTransfer(), MomentumTransferPhaseSystem< BasePhaseSystem >::momentumTransferf(), multiphaseSystem::multiphaseSystem(), multiphaseSystem::nearInterface(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialElimination(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialEliminationf(), phaseSystem::phaseSystem(), MomentumTransferPhaseSystem< BasePhaseSystem >::phiFfs(), MomentumTransferPhaseSystem< BasePhaseSystem >::phiFs(), phaseSystem::rho(), multiphaseSystem::solve(), phaseSystem::U(), fixedMultiPhaseHeatFluxFvPatchScalarField::updateCoeffs(), while(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud > >::X(), and CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud > >::Y0().

◆ p

Definition at line 106 of file pEqn.H.

◆ rho

rho = mixture.rho()

Definition at line 110 of file pEqn.H.

◆ p_rgh

p_rgh = p - rho*gh

Definition at line 113 of file pEqn.H.

◆ K

K = 0.5*magSqr(U)

Definition at line 116 of file pEqn.H.