pEqn.H File Reference
Include dependency graph for pEqn.H:

Go to the source code of this file.

Functions

volScalarField rAU (1.0/UEqn.A())
 
volVectorField HbyA (constrainHbyA(invA &UEqn.H(), U, p))
 
 if (pimple.transonic())
 
 while (pimple.correctNonOrthogonal())
 
U correctBoundaryConditions ()
 
fvOptions correct (U)
 
 if (thermo.dpdt())
 

Variables

 rho = thermo.rho()
 
 else
 
 U = HbyA - (invA & (betav*fvc::grad(p)))
 
 K = 0.5*magSqr(U)
 

Function Documentation

◆ rAU()

volScalarField rAU ( 1.0/UEqn.  A())

◆ HbyA()

volVectorField HbyA ( constrainHbyA(invA &UEqn.H(), U, p )

◆ if() [1/2]

if ( pimple.  transonic())

Definition at line 6 of file pEqn.H.

References betav, fvOptions, HbyA, invA(), mesh, p, phi, phid(), pimple, psi, rAU, rho, and U.

Here is the call graph for this function:

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 49 of file pEqn.H.

References betav, fvOptions, invA(), mesh, p, phi, phiHbyA, pimple, psi, and rho.

Here is the call graph for this function:

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ correct()

fvOptions correct ( U  )

◆ if() [2/2]

if ( thermo.  dpdt())

Definition at line 77 of file pEqn.H.

References dpdt, and p.

Variable Documentation

◆ rho

rho = thermo.rho()

Definition at line 1 of file pEqn.H.

◆ else

else
Initial value:
{
surfaceScalarField phiHbyA
(
"phiHbyA",
(
fvc::flux(rho*HbyA)
+ fvc::interpolate(rho*rAU)*fvc::ddtCorr(rho, U, phi)
)
)
surfaceScalarField & phi
U
Definition: pEqn.H:72
phiHbyA
Definition: pcEqn.H:73
HbyA
Definition: pcEqn.H:74
tmp< volScalarField > rAU
Definition: initCorrectPhi.H:1

Definition at line 38 of file pEqn.H.

◆ U

U = HbyA - (invA & (betav*fvc::grad(p)))

Definition at line 72 of file pEqn.H.

Referenced by Foam::fvc::absolute(), sensitivitySurface::accumulateIntegrand(), sensitivitySurfacePoints::accumulateIntegrand(), extractEulerianParticles::accumulateParticleInfo(), MRFZoneList::addAcceleration(), ATCstandard::addATC(), ATCUaGradU::addATC(), MRFZone::addCoriolis(), velocityDampingConstraint::addDamping(), DSMCCloud< ParcelType >::addNewParcel(), buoyancyEnergy::addSup(), effectivenessHeatExchangerSource::addSup(), viscousDissipation::addSup(), multiphaseMangrovesTurbulenceModel::addSup(), atmCoriolisUSource::addSup(), atmPlantCanopyUSource::addSup(), acousticDampingSource::addSup(), radialActuationDiskSource::addSup(), interRegionExplicitPorositySource::addSup(), multiphaseMangrovesSource::addSup(), adjointkOmegaSST::adjointMeanFlowSource(), Foam::adjustPhi(), Foam::fvc::alphaCorr(), atmBoundaryLayerInletVelocityFvPatchVectorField::atmBoundaryLayerInletVelocityFvPatchVectorField(), Implicit< CloudType >::cacheFields(), Foam::calc_pTotal(), Foam::calc_rhoU(), energySpectrum::calcAndWriteSpectrum(), SprayParcel< ParcelType >::calcAtomization(), SprayParcel< ParcelType >::calcBreakup(), targetCoeffTrim::calcCoeffs(), curvatureSeparation::calcCosAngle(), Foam::calcEk(), powerLawLopesdaCosta::calcForce(), DarcyForchheimer::calcForce(), fixedCoeff::calcForce(), powerLaw::calcForce(), solidification::calcForce(), forces::calcForcesMoments(), curvatureSeparation::calcInvR1(), momentumError::calcMomentError(), atmNutUWallFunctionFvPatchScalarField::calcNut(), nutUBlendedWallFunctionFvPatchScalarField::calcNut(), nutUSpaldingWallFunctionFvPatchScalarField::calcNut(), nutUTabulatedWallFunctionFvPatchScalarField::calcNut(), nutUWallFunctionFvPatchScalarField::calcNut(), ObukhovLength::calcOL(), rotorDiskSource::calculate(), hydrostaticPressure::calculateAndWrite(), tabulatedHeatTransfer::calculateHtc(), tabulatedNTUHeatTransfer::calculateHtc(), nutUBlendedWallFunctionFvPatchScalarField::calcUTau(), nutUSpaldingWallFunctionFvPatchScalarField::calcUTau(), ReynoldsAnalogy::Cf(), coalCloudList::coalCloudList(), extractEulerianParticles::collectParticle(), kOmegaSST::computeG(), incompressibleAdjointSolver::computeGradDxDbMultiplier(), Foam::constrainHbyA(), Foam::constrainPressure(), adjointkOmegaSST::convectionMeanFlowSource(), kEpsilonLopesdaCosta< BasicTurbulenceModel >::correct(), kL< BasicTurbulenceModel >::correct(), adjointkOmegaSST::correct(), kineticTheoryModel::correct(), kOmegaSSTBase< BasicEddyViscosityModel >::correct(), SpalartAllmarasDES< BasicTurbulenceModel >::correct(), Maxwell< BasicTurbulenceModel >::correct(), DeardorffDiffStress< BasicTurbulenceModel >::correct(), dynamicKEqn< BasicTurbulenceModel >::correct(), dynamicLagrangian< BasicTurbulenceModel >::correct(), kEqn< BasicTurbulenceModel >::correct(), EBRSM< BasicTurbulenceModel >::correct(), kEpsilon< BasicTurbulenceModel >::correct(), kEpsilonPhitF< BasicTurbulenceModel >::correct(), kOmega< BasicTurbulenceModel >::correct(), LaunderSharmaKE< BasicTurbulenceModel >::correct(), LRR< BasicTurbulenceModel >::correct(), realizableKE< BasicTurbulenceModel >::correct(), RNGkEpsilon< BasicTurbulenceModel >::correct(), SSG< BasicTurbulenceModel >::correct(), linearViscousStress< LESModel< BasicTurbulenceModel > >::correct(), limitVelocity::correct(), contactAngleForce::correct(), forceList::correct(), targetCoeffTrim::correct(), thixotropicViscosity::correct(), powerLawLopesdaCosta::correct(), DarcyForchheimer::correct(), fixedCoeff::correct(), powerLaw::correct(), solidification::correct(), curvatureSeparation::correct(), MaxwellianThermal< CloudType >::correct(), MixedDiffuseSpecular< CloudType >::correct(), SpecularReflection< CloudType >::correct(), LocalInteraction< CloudType >::correct(), Rebound< CloudType >::correct(), StandardWallInteraction< CloudType >::correct(), correct(), multiphaseStabilizedTurbulence::correct(), directionalPressureGradientExplicitSource::correct(), meanVelocityForce::correct(), thermocapillaryForce::correct(), incompressiblePrimalSolver::correctBoundaryConditions(), kOmegaSST::correctBoundaryConditions(), MRFZoneList::correctBoundaryFlux(), MRFZone::correctBoundaryVelocity(), MRFZoneList::correctBoundaryVelocity(), MovingPhaseModel< BasePhaseModel >::correctKinematics(), Foam::CorrectPhi(), kOmegaSSTLM< BasicTurbulenceModel >::correctReThetatGammaInt(), Foam::fvc::correctRhoUf(), targetCoeffTrim::correctTrim(), Foam::fvc::correctUf(), Foam::correctUphiBCs(), interfaceTrackingFvMesh::correctUsBoundaryConditions(), MRFZoneList::DDt(), Foam::fvc::ddtCorr(), ReynoldsAnalogy::devReff(), RASModelVariables::devReff(), adjointkOmegaSST::devReff(), adjointLaminar::devReff(), adjointSpalartAllmaras::devReff(), IncompressibleTurbulenceModel< TransportModel >::devReff(), PhaseIncompressibleTurbulenceModel< TransportModel >::devReff(), forces::devRhoReff(), filmTurbulenceModel::devRhoReff(), kineticTheoryModel::devRhoReff(), phasePressureModel::devRhoReff(), Maxwell< BasicTurbulenceModel >::devRhoReff(), ReynoldsStress< BasicTurbulenceModel >::devRhoReff(), adjointkOmegaSST::diffusionNutMeanFlowMult(), adjointSpalartAllmaras::distanceSensitivities(), adjointLaminar::divDevReff(), IncompressibleTurbulenceModel< TransportModel >::divDevReff(), PhaseIncompressibleTurbulenceModel< TransportModel >::divDevReff(), momentumError::divDevRhoReff(), ReynoldsStress< BasicTurbulenceModel >::DivDevRhoReff(), incompressibleInterPhaseTransportModel< Mixture >::divDevRhoReff(), linearViscousStress< BasicTurbulenceModel >::divDevRhoReff(), nonlinearEddyViscosity< BasicTurbulenceModel >::divDevRhoReff(), nonlinearEddyViscosity< incompressible::RASModel >::divDevRhoReff(), kineticTheoryModel::divDevRhoReff(), phasePressureModel::divDevRhoReff(), IncompressibleTurbulenceModel< TransportModel >::divDevRhoReff(), PhaseIncompressibleTurbulenceModel< TransportModel >::divDevRhoReff(), Maxwell< BasicTurbulenceModel >::divDevRhoReff(), ReynoldsStress< BasicTurbulenceModel >::divDevRhoReff(), adjointkOmegaSST::divUMeanFlowSource(), adjointkOmegaSST::dNutdbMult(), adjointkOmegaSST::dR_dF1(), adjointkOmegaSST::dR_dnut(), multiphaseMangrovesSource::dragCoeff(), KinematicParcel< ParcelType >::Eo(), multiphaseMangrovesTurbulenceModel::epsilonCoeff(), DispersionRASModel< CloudType >::epsilonModel(), setFlow::execute(), propellerInfo::execute(), adjointkOmegaSST::FISensitivityTerm(), adjointSpalartAllmaras::FISensitivityTerm(), for(), forAll(), porosityModel::force(), ddtScheme< Type >::fvcDdtPhiCoeff(), ddtScheme< Type >::fvcDdtPhiCoeffExperimental(), backwardDdtScheme< Type >::fvcDdtPhiCorr(), boundedDdtScheme< Type >::fvcDdtPhiCorr(), CoEulerDdtScheme< Type >::fvcDdtPhiCorr(), CrankNicolsonDdtScheme< Type >::fvcDdtPhiCorr(), EulerDdtScheme< Type >::fvcDdtPhiCorr(), localEulerDdtScheme< Type >::fvcDdtPhiCorr(), SLTSDdtScheme< Type >::fvcDdtPhiCorr(), steadyStateDdtScheme< Type >::fvcDdtPhiCorr(), backwardDdtScheme< Type >::fvcDdtUfCorr(), boundedDdtScheme< Type >::fvcDdtUfCorr(), CoEulerDdtScheme< Type >::fvcDdtUfCorr(), CrankNicolsonDdtScheme< Type >::fvcDdtUfCorr(), EulerDdtScheme< Type >::fvcDdtUfCorr(), localEulerDdtScheme< Type >::fvcDdtUfCorr(), SLTSDdtScheme< Type >::fvcDdtUfCorr(), steadyStateDdtScheme< Type >::fvcDdtUfCorr(), NURBS3DCurve::genEquidistant(), NURBS3DSurface::genEquidistant(), ATCstandard::getFISensitivityTerm(), ATCUaGradU::getFISensitivityTerm(), adjointkOmegaSST::GMeanFlowSource(), AnisothermalPhaseModel< BasePhaseModel >::heEqn(), if(), incompressibleInterPhaseTransportModel< Mixture >::incompressibleInterPhaseTransportModel(), FreeStream< CloudType >::inflow(), rotorDiskSource::inflowVelocity(), InjectedParticleDistributionInjection< CloudType >::initialise(), InjectedParticleInjection< CloudType >::initialise(), wallBoundedStreamLineParticle::interpolateFields(), objectivePtLosses::J(), MovingPhaseModel< BasePhaseModel >::K(), multiphaseMangrovesTurbulenceModel::kCoeff(), DispersionRASModel< CloudType >::kModel(), kOmegaSSTDES< BasicTurbulenceModel >::LESRegion(), continuousGasKEqn< BasicTurbulenceModel >::liquidTurbulence(), continuousGasKEpsilon< BasicTurbulenceModel >::liquidTurbulence(), meanVelocityForce::magUbarAve(), patchMeanVelocityForce::magUbarAve(), phasePair::magUr(), simple::mainIter(), Foam::fvc::makeAbsolute(), MRFZone::makeAbsolute(), MRFZoneList::makeAbsolute(), Foam::fvc::makeRelative(), MRFZone::makeRelative(), MRFZoneList::makeRelative(), MomentumTransferPhaseSystem< BasePhaseSystem >::momentumTransfer(), MomentumTransferPhaseSystem< BasePhaseSystem >::momentumTransferf(), fvMotionSolverEngineMesh::move(), layeredEngineMesh::move(), solidParticleCloud::move(), streamLineParticle::move(), wallBoundedStreamLineParticle::move(), MPPICParcel< ParcelType >::move(), laminarModel< BasicTurbulenceModel >::New(), LESModel< BasicTurbulenceModel >::New(), TurbulenceModel< Alpha, Rho, BasicTurbulenceModel, TransportModel >::New(), PhaseIncompressibleTurbulenceModel< TransportModel >::New(), Foam::incompressible::New(), CompressibleTurbulenceModel< TransportModel >::New(), ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > >::New(), Foam::compressible::New(), IncompressibleTurbulenceModel< TransportModel >::New(), viscosityModel::New(), reconstructionSchemes::New(), autoPtr< T >::NewFrom(), refPtr< T >::NewFrom(), tmp< T >::NewFrom(), JohnsonJacksonSchaeffer::nu(), Schaeffer::nu(), adjointkOmegaSST::nutMeanFlowSource(), Foam::oversetAdjustPhi(), particle< Type >::patchData(), continuousGasKEqn< BasicTurbulenceModel >::phaseTransferCoeff(), NicenoKEqn< BasicTurbulenceModel >::phaseTransferCoeff(), continuousGasKEpsilon< BasicTurbulenceModel >::phaseTransferCoeff(), LaheyKEpsilon< BasicTurbulenceModel >::phaseTransferCoeff(), ParticleErosion< CloudType >::postPatch(), filmTurbulenceModel::primaryRegionFriction(), KinematicParcel< ParcelType >::Re(), DSMCParcel< ParcelType >::readFields(), injectedParticle::readFields(), solidParticle::readFields(), KinematicParcel< ParcelType >::readFields(), injectedParticle::readObjects(), KinematicParcel< ParcelType >::readObjects(), Foam::fvc::relative(), NullMRF::relative(), relax(), wallBoundedStreamLineParticle::sample(), PatchInjection< CloudType >::setProperties(), shallowWaterAbsorption::setVelocity(), generalizedNewtonian< BasicMomentumTransportModel >::strainRate(), laminar::Su(), coalCloudList::SU(), ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > >::ThermalDiffusivity(), phaseSystem::U(), SRFModel::Uabs(), interfaceTrackingFvMesh::update(), rawTopoChangerFvMesh::update(), GradientDispersionRAS< CloudType >::update(), StochasticDispersionRAS< CloudType >::update(), ReitzKHRT< CloudType >::update(), objectiveForce::update_boundarydJdnut(), objectiveMoment::update_boundarydJdnut(), objectivePtLosses::update_boundarydJdp(), objectivePtLosses::update_boundarydJdv(), objectivePtLosses::update_boundarydJdvn(), objectivePtLosses::update_boundarydJdvt(), objectiveForce::update_dSdbMultiplier(), objectiveForce::update_dxdbMultiplier(), objectiveMoment::update_dxdbMultiplier(), objectiveMoment::update_meanValues(), atmBoundaryLayerInletVelocityFvPatchVectorField::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), plenumPressureFvPatchScalarField::updateCoeffs(), supersonicFreestreamFvPatchVectorField::updateCoeffs(), translatingWallVelocityFvPatchVectorField::updateCoeffs(), turbulentDFSEMInletFvPatchVectorField::updateCoeffs(), JohnsonJacksonParticleThetaFvPatchScalarField::updateCoeffs(), outletMachNumberPressureFvPatchScalarField::updateCoeffs(), reconstructedDistanceFunction::updateContactAngle(), ATCstandard::updatePrimalBasedQuantities(), adjointkOmegaSST::updatePrimalRelatedFields(), adjointSpalartAllmaras::updatePrimalRelatedFields(), interfaceTrackingFvMesh::updateUs(), movingWallVelocityFvPatchVectorField::Uwall(), Implicit< CloudType >::velocityCorrection(), laminar::wallFriction(), KinematicParcel< ParcelType >::We(), KinematicSurfaceFilm< CloudType >::wetSplashInteraction(), while(), energySpectrum::write(), eulerianParticle::write(), propellerInfo::writeAxialWake(), eulerianParticle::writeDict(), DSMCParcel< ParcelType >::writeFields(), injectedParticle::writeFields(), solidParticle::writeFields(), KinematicParcel< ParcelType >::writeFields(), injectedParticle::writeObjects(), KinematicParcel< ParcelType >::writeObjects(), propellerInfo::writeSampleDiskSurface(), propellerInfo::writeWake(), propellerInfo::writeWakeFields(), nutkWallFunctionFvPatchScalarField::yPlus(), nutLowReWallFunctionFvPatchScalarField::yPlus(), nutUBlendedWallFunctionFvPatchScalarField::yPlus(), nutURoughWallFunctionFvPatchScalarField::yPlus(), nutUSpaldingWallFunctionFvPatchScalarField::yPlus(), nutUTabulatedWallFunctionFvPatchScalarField::yPlus(), and nutUWallFunctionFvPatchScalarField::yPlus().

◆ K

K = 0.5*magSqr(U)

Definition at line 75 of file pEqn.H.