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())
 
surfaceScalarField rhorAUf ("rhorAUf", fvc::interpolate(rho *rAU))
 
volVectorField HbyA (constrainHbyA(rAU *UEqn.H(), U, p))
 
surfaceScalarField phiGradp (rhorAUf *mesh.magSf() *fvc::snGrad(p))
 
volScalarField rho0 (rho - psi *p)
 
 while (pimple.correctNonOrthogonal())
 
p correctBoundaryConditions ()
 

Variables

 phi = fvc::flux(HbyA) + rhorAUf*fvc::ddtCorr(U, phi, Uf)
 
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(rho0+psi *p, rhoMin);# 1 "/home/ubuntu/OpenFOAM-8/applications/solvers/multiphase/cavitatingFoam/alphavPsi.H" 1{ alphav=max(min((rho - rholSat)/(rhovSat - rholSat), scalar(1)), scalar(0));alphal=1.0 - alphav;Info<< "max-min alphav: "<< max(alphav).value()<< " "<< min(alphav).value()<< endl;psiModel-> correct ()
 
 p
 

Function Documentation

◆ rAU()

volScalarField rAU ( 1.0/UEqn.  A())

◆ rhorAUf()

surfaceScalarField rhorAUf ( "rhorAUf"  ,
fvc::interpolate(rho *rAU  
)

◆ HbyA()

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

◆ phiGradp()

surfaceScalarField phiGradp ( rhorAUf *mesh.  magSf) *fvc::snGrad(p)

Referenced by while().

Here is the caller graph for this function:

◆ rho0()

volScalarField rho0 ( rho - psi p)

Referenced by if(), and while().

Here is the caller graph for this function:

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 27 of file pEqn.H.

References Foam::correction(), Foam::fvc::ddt(), Foam::fvc::div(), Foam::endl(), Foam::Info, Foam::fvc::laplacian(), Foam::max(), Foam::min(), p, phiGradp(), pimple, psi, rho, rho0(), rhof(), and rhorAUf().

Here is the call graph for this function:

◆ correctBoundaryConditions()

p correctBoundaryConditions ( )

Variable Documentation

◆ phi

phi = fvc::flux(HbyA) + rhorAUf*fvc::ddtCorr(U, phi, Uf)

Definition at line 18 of file pEqn.H.

◆ correct

radiation correct ( )

Definition at line 68 of file pEqn.H.

Referenced by porosityModel::addResistance(), interRegionHeatTransferModel::addSup(), Chung::Chung(), Foam::MULES::correct(), PaSR< ReactionThermo >::correct(), linearViscousStress< LESModel< BasicMomentumTransportModel > >::correct(), Fourier< BasicThermophysicalTransportModel >::correct(), eddyViscosity< LESModel< BasicMomentumTransportModel > >::correct(), DeardorffDiffStress< BasicMomentumTransportModel >::correct(), ReynoldsStress< LESModel< BasicMomentumTransportModel > >::correct(), Poisson::correct(), LESThermophysicalTransportModel< BasicThermophysicalTransportModel >::correct(), RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::correct(), laminarModel< BasicMomentumTransportModel >::correct(), kOmega< BasicMomentumTransportModel >::correct(), kEpsilon< compressible::momentumTransportModel >::correct(), LaunderSharmaKE< BasicMomentumTransportModel >::correct(), SSG< BasicMomentumTransportModel >::correct(), RNGkEpsilon< BasicMomentumTransportModel >::correct(), realizableKE< BasicMomentumTransportModel >::correct(), LRR< BasicMomentumTransportModel >::correct(), SpalartAllmaras< BasicMomentumTransportModel >::correct(), laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::correct(), kEpsilonLopesdaCosta< BasicMomentumTransportModel >::correct(), LESModel< BasicMomentumTransportModel >::correct(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::correct(), RASModel< phaseCompressibleMomentumTransportModel >::correct(), advectionDiffusion::correct(), mixtureKEpsilon< BasicMomentumTransportModel >::correct(), v2f< BasicMomentumTransportModel >::correct(), kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >::correct(), for(), if(), linear::linear(), mappedConvectiveHeatTransfer::mappedConvectiveHeatTransfer(), meshStructure::meshStructure(), sampledSets::movePoints(), patchDataWave< TransferType >::patchDataWave(), patchPatchDist::patchPatchDist(), pointPatchDist::pointPatchDist(), primaryRadiation::primaryRadiation(), sampledSets::readUpdate(), StandardChemistryModel< CompType, ThermoType >::solve(), TDACChemistryModel< CompType, ThermoType >::solve(), standardRadiation::standardRadiation(), strainRateFunction::strainRateFunction(), sampledSets::updateMesh(), wallDistData< TransferType >::wallDistData(), Wallis::Wallis(), and optionList::~optionList().

◆ p

p
Initial value:
=
(
- alphal*rhol0
- ((alphav*psiv + alphal*psil) - psi)*pSat
)/psi
rho
Definition: pEqn.H:1
alphal
Definition: alphavPsi.H:12
const volScalarField & psi

Definition at line 53 of file pEqn.H.