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())
 
 forAllConstIter (PtrDictionary< phaseModel >, 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 forAllConstIter(), and while().

Here is the caller graph for this function:

◆ forAllConstIter()

forAllConstIter ( PtrDictionary< phaseModel >  ,
mixture.  phases(),
phase   
)

Definition at line 29 of file pEqn.H.

References Foam::correction(), Foam::fvc::ddt(), Foam::fvc::div(), p_rgh, p_rgh_0(), p_rghEqnComps(), phi, rho, Sp, and thermo.

Referenced by greyMean::aCont(), wideBand::aCont(), singleProcessorFaceSetsConstraint::add(), sixDoFRigidBodyMotion::addConstraints(), sixDoFRigidBodyMotion::addRestraints(), fileOperation::addWatches(), masterUncollatedFileOperation::addWatches(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::alpha(), boundaryRegion::append(), cellTable::append(), setToCellZone::applyToSet(), setToPointZone::applyToSet(), setToFaceZone::applyToSet(), normalToFace::applyToSet(), setAndNormalToFaceZone::applyToSet(), setsToFaceZone::applyToSet(), distribution::approxTotalEntries(), boundaryRegion::boundaryTypes(), nearWallFields::calcAddressing(), cellToFaceStencil::calcFaceStencil(), forces::calcForcesMoment(), cellMatcher::calcLocalFaces(), wallShearStress::calcShearStress(), GAMGAgglomeration::calculateRegionMaster(), wallHeatFlux::calcWallHeatFlux(), primitiveMesh::cellEdges(), primitiveMesh::cellPoints(), argList::check(), objectRegistry::checkCacheTemporaryObjects(), primitiveMesh::checkCommonOrder(), primitiveMesh::checkDuplicateFaces(), edgeCollapser::checkMeshQuality(), coalCloudList::coalCloudList(), cellTable::combine(), hexRef8::consistentSlowRefinement(), patchPatchDist::correct(), pointPatchDist::correct(), advectionDiffusion::correct(), nearWallFields::createFields(), meshRefinement::createZoneBaffles(), dynamicMeshPointInterpolator::curPointField(), structuredDecomp::decompose(), decompositionMethod::decompositionMethod(), dictionary::digest(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::Dij(), fvMeshDistribute::distribute(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::Dmax(), DSMCCloud< ParcelType >::dumpParticlePositions(), dynamicCodeContext::dynamicCodeContext(), edgeSurface::edgeSurface(), turbulenceFields::execute(), cellClassification::fillRegionPoints(), functionObjectList::findDict(), Foam::blockMeshTools::findEntry(), boundaryRegion::findIndex(), cellTable::findIndex(), coupleGroupIdentifier::findOtherPatchID(), polyMeshAdder::findSharedPoints(), genericFvPatchField< Type >::genericFvPatchField(), genericPointPatchField< Type >::genericPointPatchField(), undoableMeshCutter::getAddedCells(), surfaceSets::getHangingCells(), combineFaces::getMergeSets(), undoableMeshCutter::getSplitFaces(), greyMean::greyMean(), greyMeanSolid::greyMeanSolid(), meshRefinement::growFaceCellFace(), if(), InjectionModelList< Foam::KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::InjectionModelList(), injectionModelList::injectionModelList(), sweptFaceAreaWeightAMI::interArea(), DSMCCloud< ParcelType >::internalEnergyOfSystem(), surfaceInterpolate::interpolateFields(), meshToMesh::interpolationMethodAMI(), dictionary::keys(), layerParameters::layerParameters(), lduPrimitiveMesh::lduPrimitiveMesh(), Foam::MULES::limitSum(), DSMCCloud< ParcelType >::linearKineticEnergyOfSystem(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::linearKineticEnergyOfSystem(), DSMCCloud< ParcelType >::linearMomentumOfSystem(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::linearMomentumOfSystem(), IOobjectList::lookup(), objectRegistry::lookupClass(), IOobjectList::lookupClass(), Foam::MapDimensionedFields(), DSMCCloud< ParcelType >::massInSystem(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::massInSystem(), cellTable::materialTypes(), cellToFaceStencil::merge(), cellToCellStencil::merge(), dictionary::merge(), edgeMesh::mergeEdges(), meshRefinement::mergePatchFacesUndo(), edgeMesh::mergePoints(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), objectRegistry::modified(), MRFZone::MRFZone(), multiLevelDecomp::multiLevelDecomp(), multiSolidBodyMotionSolver::multiSolidBodyMotionSolver(), objectRegistry::names(), NamedEnum< compressibleField, 8 >::names(), boundaryRegion::names(), IOobjectList::names(), cellTable::names(), surfaceFeatures::nearestEdges(), surfaceFeatures::nearestSamples(), cellCuts::nonAnchorPoints(), minEqOpFace::operator()(), minEqOp< labelPair >::operator()(), ListPlusEqOp< T, Size >::operator()(), inverseFaceDistanceDiffusivity::operator()(), inversePointDistanceDiffusivity::operator()(), mapDistribute::transformPosition::operator()(), dictionary::operator+=(), dictionary::operator<<=(), dictionary::operator=(), Foam::operator>>(), dictionary::operator|=(), Foam::parseNASCoord(), ParticleForceList< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::ParticleForceList(), patchInjection::patchInjection(), patchDistMethod::patchTypes(), SprayCloud< Foam::DSMCCloud >::penetration(), phaseProperties::phaseProperties(), probes::prepare(), fvMeshDistribute::printFieldInfo(), argList::printNotes(), argList::printUsage(), ReactionList< Foam::sutherlandTransport >::ReactionList(), NASsurfaceFormat< Face >::read(), multiMotion::read(), FixedValueConstraint< Type >::read(), wallHeatFlux::read(), wallShearStress::read(), wallHeatTransferCoeff::read(), functionObjectList::read(), turbulenceFields::read(), semiImplicitSource::read(), forces::read(), singleRegionCorrectorConvergenceControl::readCorrResidualControls(), Time::readDict(), GeometricField< Type, PatchField, GeoMesh >::Boundary::readField(), Foam::readFields(), singleRegionConvergenceControl::readResidualControls(), Foam::readUniformFields(), pointFieldReconstructor::reconstructFields(), fvFieldReconstructor::reconstructFvSurfaceFields(), fvFieldReconstructor::reconstructFvVolumeFields(), fvFieldReconstructor::reconstructFvVolumeInternalFields(), Foam::reconstructLagrangianFieldFields(), Foam::reconstructLagrangianFields(), Foam::reconstructLagrangianPositions(), dynamicRefineFvMesh::refine(), refinementSurfaces::refinementSurfaces(), boundaryRegion::rename(), zoltanRenumber::renumber(), structuredRenumber::renumber(), porosityModelList::reset(), MRFZoneList::reset(), optionList::reset(), dynamicCode::reset(), faceAreaWeightAMI::restartUncoveredSourceFace(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::rhoEff(), rigidBodyMeshMotion::rigidBodyMeshMotion(), rigidBodyMeshMotionSolver::rigidBodyMeshMotionSolver(), rigidBodyModel::rigidBodyModel(), CollidingCloud< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::rotationalKineticEnergyOfSystem(), nearWallFields::sampleBoundaryField(), motionSmootherAlgo::scaleMesh(), searchableSurfaceCollection::searchableSurfaceCollection(), searchableSurfaces::searchableSurfaces(), Foam::selectRegionNames(), cellTable::selectType(), hexRef8::setInstance(), fvMeshSubset::setLargeCellSubset(), duplicatePoints::setRefinement(), refinementIterator::setRefinement(), perfectInterface::setRefinement(), faceCollapser::setRefinement(), removePoints::setRefinement(), boundaryCutter::setRefinement(), undoableMeshCutter::setRefinement(), meshCutAndRemove::setRefinement(), meshCutter::setRefinement(), edgeCollapser::setRefinement(), displacementLayeredMotionMotionSolver::solve(), rigidBodyMeshMotionSolver::solve(), Cloud< streamLineParticle >::storeGlobalPositions(), dictionary::substituteKeyword(), dictionary::substituteScopedKeyword(), surfaceIntersection::surfaceIntersection(), faceSet::sync(), pointSet::sync(), syncTools::syncEdgeMap(), syncTools::syncPointMap(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::theta(), ThermoCloud< Foam::DSMCCloud >::Tmax(), ThermoCloud< Foam::DSMCCloud >::Tmin(), dictionary::toc(), distribution::totalEntries(), transferModelList::transferModelList(), globalIndexAndTransform::transformIndicesForPatches(), triSurfaceTools::triangulate(), triSurfaceTools::triangulateFaceCentre(), Foam::unitSet(), Foam::UnMapped(), dynamicRefineFvMesh::unrefine(), MPPICParcel< ParcelType >::trackingData::updateAverages(), edgeVertex::updateLabels(), boundaryCutter::updateMesh(), localPointRegion::updateMesh(), meshCutAndRemove::updateMesh(), meshCutter::updateMesh(), hexRef8::updateMesh(), USERD_get_part_coords(), USERD_get_part_node_ids(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::vDotSweep(), meshReader::warnDuplicates(), while(), wideBand::wideBand(), wideBandCombustion::wideBandCombustion(), Foam::blockMeshTools::write(), RelativeVelocity< CloudType >::write(), gnuplotGraph::write(), jplotGraph::write(), xmgrGraph::write(), genericPointPatchField< Type >::write(), genericPolyPatch::write(), wallHeatFlux::write(), genericFvPatchField< Type >::write(), wallShearStress::write(), wallHeatTransferCoeff::write(), turbulenceFields::write(), regionSizeDistribution::write(), dictionary::write(), IOPosition< CloudType >::writeData(), KinematicParcel< ParcelType >::writeFields(), solidParticle::writeFields(), streamLineParticle::writeFields(), DSMCParcel< ParcelType >::writeFields(), MPPICParcel< ParcelType >::writeFields(), CollidingParcel< ParcelType >::writeFields(), ReactingParcel< ParcelType >::writeFields(), molecule::writeFields(), ThermoParcel< ParcelType >::writeFields(), ReactingMultiphaseParcel< ParcelType >::writeFields(), SprayParcel< ParcelType >::writeFields(), particle< Type >::writeFields(), objectRegistry::writeObject(), Cloud< streamLineParticle >::writePositions(), graph::writeTable(), moleculeCloud::writeXYZ(), and greyMeanSolid::~greyMeanSolid().

Here is the call graph for this function:

◆ p_rgh_0()

volScalarField p_rgh_0 ( p_rgh  )

◆ while()

while ( pimple.  correctNonOrthogonal())

◆ 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

◆ p

Definition at line 116 of file pEqn.H.

◆ rho

rho = mixture.rho()

Definition at line 120 of file pEqn.H.

◆ p_rgh

p_rgh = p - rho*gh

Definition at line 123 of file pEqn.H.

◆ K

K = 0.5*magSqr(U)

Definition at line 126 of file pEqn.H.