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-10/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

Info<< "Predicted p max-min : " << max(p).value() << " " << min(p).value() << endl; rho == max(rho0 + psi*p, rhoMin);# 1 "/home/ubuntu/OpenFOAM-10/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()

Definition at line 68 of file pEqn.H.

Referenced by porosityModel::addResistance(), BirdCarreau::BirdCarreau(), Casson::Casson(), Chung::Chung(), Foam::MULES::correct(), linearViscousStress< LESModel< BasicMomentumTransportModel > >::correct(), eddyViscosity< LESModel< BasicMomentumTransportModel > >::correct(), Fourier< BasicThermophysicalTransportModel >::correct(), Fickian< unityLewisFourier< laminarThermophysicalTransportModel > >::correct(), unityLewisFourier< laminarThermophysicalTransportModel >::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(), laminarThermophysicalTransportModel< laminarThermophysicalTransportModel >::correct(), LaunderSharmaKE< BasicMomentumTransportModel >::correct(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::correct(), kOmega2006< BasicMomentumTransportModel >::correct(), SpalartAllmaras< BasicMomentumTransportModel >::correct(), SSG< BasicMomentumTransportModel >::correct(), RNGkEpsilon< BasicMomentumTransportModel >::correct(), realizableKE< BasicMomentumTransportModel >::correct(), LRR< BasicMomentumTransportModel >::correct(), MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::correct(), unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::correct(), kEpsilonLopesdaCosta< BasicMomentumTransportModel >::correct(), LESModel< BasicMomentumTransportModel >::correct(), advectionDiffusion::correct(), RASModel< phaseCompressible::momentumTransportModel >::correct(), mixtureKEpsilon< BasicMomentumTransportModel >::correct(), v2f< BasicMomentumTransportModel >::correct(), kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >::correct(), CrossPowerLaw::CrossPowerLaw(), FickianEddyDiffusivity< TurbulenceThermophysicalTransportModel >::FickianEddyDiffusivity(), FickianFourier< laminarThermophysicalTransportModel >::FickianFourier(), for(), HerschelBulkley::HerschelBulkley(), if(), incompressibleTwoPhaseMixture::incompressibleTwoPhaseMixture(), Kunz::Kunz(), linear::linear(), sampledSets::mapMesh(), mappedConvectiveHeatTransfer::mappedConvectiveHeatTransfer(), MaxwellStefanFourier< laminarThermophysicalTransportModel >::MaxwellStefanFourier(), Merkle::Merkle(), meshStructure::meshStructure(), sampledSets::movePoints(), NamedEnum< compressibleField, 8 >::names(), patchPatchDist::patchPatchDist(), pointPatchDist::pointPatchDist(), powerLaw::powerLaw(), primaryRadiation::primaryRadiation(), sampledSets::readUpdate(), SchnerrSauer::SchnerrSauer(), chemistryModel< ThermoType >::solve(), standardRadiation::standardRadiation(), strainRateFunction::strainRateFunction(), sampledSets::topoChange(), and Wallis::Wallis().

◆ p

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

Definition at line 53 of file pEqn.H.