readMechanicalProperties.H File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

IOobject rhoIO ("rho", runTime.timeName(0), mesh, IOobject::NO_READ, IOobject::NO_WRITE)
 
 if (rhoType=="uniform")
 
const dictionary & EDict (mechanicalProperties.subDict("E"))
 
word EType (EDict.get< word >("type"))
 
IOobject EHeader ("E", runTime.timeName(0), mesh, IOobject::NO_READ, IOobject::NO_WRITE)
 
 if (EType=="uniform")
 
IOobject nuIO ("nu", runTime.timeName(0), mesh, IOobject::NO_READ, IOobject::NO_WRITE)
 
const dictionary & nuDict (mechanicalProperties.subDict("nu"))
 
word nuType (nuDict.get< word >("type"))
 
 if (nuType=="uniform")
 

Variables

Info<< "Reading mechanical properties\n"<< endl;IOdictionary mechanicalProperties(IOobject("mechanicalProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));const dictionary &rhoDict(mechanicalProperties.subDict("rho"));word rhoType(rhoDict.get< word >"type"));autoPtr< volScalarField > rhoPtr
 
 else
 
volScalarField & rho = rhoPtr()
 
autoPtr< volScalarField > EPtr
 
volScalarField & rhoE = EPtr()
 
autoPtr< volScalarField > nuPtr
 
volScalarField & nu = nuPtr()
 

Function Documentation

◆ rhoIO()

IOobject rhoIO ( "rho"  ,
runTime.  timeName0,
mesh  ,
IOobject::NO_READ  ,
IOobject::NO_WRITE   
)

Referenced by if().

Here is the caller graph for this function:

◆ if() [1/3]

else if ( rhoType  = = "uniform")

Definition at line 29 of file readMechanicalProperties.H.

References Foam::dimMass, Foam::dimVolume, mesh, rhoIO(), and rhoPtr.

Here is the call graph for this function:

◆ EDict()

const dictionary& EDict ( mechanicalProperties.  subDict"E")

Referenced by if().

Here is the caller graph for this function:

◆ EType()

word EType ( EDict.get< word >  "type")

◆ EHeader()

IOobject EHeader ( "E"  ,
runTime.  timeName0,
mesh  ,
IOobject::NO_READ  ,
IOobject::NO_WRITE   
)

Referenced by if().

Here is the caller graph for this function:

◆ if() [2/3]

else if ( EType  = = "uniform")

Definition at line 84 of file readMechanicalProperties.H.

References Foam::dimLength, Foam::dimMass, Foam::dimTime, EDict(), EHeader(), EPtr, mesh, and Foam::sqr().

Here is the call graph for this function:

◆ nuIO()

IOobject nuIO ( "nu"  ,
runTime.  timeName0,
mesh  ,
IOobject::NO_READ  ,
IOobject::NO_WRITE   
)

Referenced by if().

Here is the caller graph for this function:

◆ nuDict()

const dictionary& nuDict ( mechanicalProperties.  subDict"nu")

Referenced by if().

Here is the caller graph for this function:

◆ nuType()

word nuType ( nuDict.get< word >  "type")

◆ if() [3/3]

else if ( nuType  = = "uniform")

Definition at line 139 of file readMechanicalProperties.H.

References Foam::dimless, mesh, nuDict(), nuIO(), and nuPtr.

Here is the call graph for this function:

Variable Documentation

◆ rhoPtr

Info<< "Reading mechanical properties\n" << endl; IOdictionary mechanicalProperties ( IOobject ( "mechanicalProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE ) ); const dictionary& rhoDict(mechanicalProperties.subDict("rho")); word rhoType(rhoDict.get<word>"type")); autoPtr<volScalarField> rhoPtr

◆ else

else
Initial value:
{
<< "Valid type entries are uniform or field for rho"

Definition at line 62 of file readMechanicalProperties.H.

◆ rho

volScalarField& rho = rhoPtr()

Definition at line 68 of file readMechanicalProperties.H.

◆ EPtr

autoPtr<volScalarField> EPtr

Definition at line 73 of file readMechanicalProperties.H.

Referenced by if().

◆ rhoE

volScalarField& rhoE = EPtr()

Definition at line 123 of file readMechanicalProperties.H.

◆ nuPtr

autoPtr<volScalarField> nuPtr

Definition at line 125 of file readMechanicalProperties.H.

Referenced by if().

◆ nu

volScalarField& nu = nuPtr()

Definition at line 176 of file readMechanicalProperties.H.

Referenced by ReactingHeterogeneousParcel< ParcelType >::calcHeterogeneousReactions(), ReactingMultiphaseParcel< ParcelType >::calcSurfaceReactions(), LiquidEvaporation< CloudType >::calculate(), LiquidEvaporationBoil< CloudType >::calculate(), MUCSheterogeneousRate< CloudType >::calculate(), SpalartAllmarasDES< BasicTurbulenceModel >::chi(), SpalartAllmaras< BasicTurbulenceModel >::chi(), ORourkeCollision< CloudType >::collideParcels(), DeardorffDiffStress< BasicTurbulenceModel >::correct(), DarcyForchheimer::correct(), EDC< ReactionThermo >::correct(), realizableKE< BasicTurbulenceModel >::correct(), LaunderSharmaKE< BasicTurbulenceModel >::correct(), qZeta::correct(), directionalPressureGradientExplicitSource::correct(), mixtureKEpsilon< BasicTurbulenceModel >::correct(), kkLOmega::correct(), kEpsilonPhitF< BasicTurbulenceModel >::correct(), kOmegaSSTSato< BasicTurbulenceModel >::correctNut(), kOmegaSSTLM< BasicTurbulenceModel >::correctReThetatGammaInt(), ShihQuadraticKE::DepsilonEff(), LamBremhorstKE::DepsilonEff(), LienLeschziner::DepsilonEff(), LienCubicKE::DepsilonEff(), realizableKE< BasicTurbulenceModel >::DepsilonEff(), kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >::DepsilonEff(), LaunderSharmaKE< BasicTurbulenceModel >::DepsilonEff(), RNGkEpsilon< BasicTurbulenceModel >::DepsilonEff(), kEpsilonLopesdaCosta< BasicTurbulenceModel >::DepsilonEff(), SSG< BasicTurbulenceModel >::DepsilonEff(), LRR< BasicTurbulenceModel >::DepsilonEff(), kEpsilonPhitF< BasicTurbulenceModel >::DepsilonEff(), ReynoldsAnalogy::devReff(), ReynoldsStress< RASModel< BasicTurbulenceModel > >::devRhoReff(), Maxwell< BasicTurbulenceModel >::devRhoReff(), forces::devRhoReff(), kOmegaSSTLM< BasicTurbulenceModel >::DgammaIntEff(), Maxwell< BasicTurbulenceModel >::divDevRhoReff(), ReynoldsStress< RASModel< BasicTurbulenceModel > >::DivDevRhoReff(), ShihQuadraticKE::DkEff(), LamBremhorstKE::DkEff(), kOmega< BasicTurbulenceModel >::DkEff(), LienLeschziner::DkEff(), dynamicLagrangian< BasicTurbulenceModel >::DkEff(), kEqn< BasicTurbulenceModel >::DkEff(), realizableKE< BasicTurbulenceModel >::DkEff(), LienCubicKE::DkEff(), kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >::DkEff(), LaunderSharmaKE< BasicTurbulenceModel >::DkEff(), RNGkEpsilon< BasicTurbulenceModel >::DkEff(), dynamicKEqn< BasicTurbulenceModel >::DkEff(), kEpsilonLopesdaCosta< BasicTurbulenceModel >::DkEff(), kEpsilonPhitF< BasicTurbulenceModel >::DkEff(), kkLOmega::DkEff(), kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::DkEff(), adjointSpalartAllmaras::dnut_dNuTilda(), SpalartAllmaras< BasicTurbulenceModel >::DnuTildaEff(), SpalartAllmarasDES< BasicTurbulenceModel >::DnuTildaEff(), kOmega< BasicTurbulenceModel >::DomegaEff(), kkLOmega::DomegaEff(), kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::DomegaEff(), kEpsilonPhitF< BasicTurbulenceModel >::DphitEff(), qZeta::DqEff(), SSG< BasicTurbulenceModel >::DREff(), LRR< BasicTurbulenceModel >::DREff(), adjointSpalartAllmaras::dStilda_dNuTilda(), qZeta::DzetaEff(), LienLeschziner::E(), LienCubicKE::E(), kOmegaSSTLM< BasicTurbulenceModel >::F1(), qZeta::f2(), LienLeschziner::f2(), LaunderSharmaKE< BasicTurbulenceModel >::f2(), LienCubicKE::f2(), kOmegaSSTLM< BasicTurbulenceModel >::Flength(), qZeta::fMu(), LienLeschziner::fMu(), LaunderSharmaKE< BasicTurbulenceModel >::fMu(), LienCubicKE::fMu(), interfaceTrackingFvMesh::freeSurfacePressureJump(), interfaceTrackingFvMesh::freeSurfaceSnGradU(), kOmegaSSTLM< BasicTurbulenceModel >::Fthetat(), boundaryAdjointContributionIncompressible::laminarDiffusivity(), kEpsilonPhitF< BasicTurbulenceModel >::Ls(), adjointWallVelocityFvPatchVectorField::manipulateMatrix(), phasePair::Mo(), IATEsource::Mo(), solidParticleCloud::move(), incompressibleTurbulenceModel::mu(), forces::mu(), Maxwell< BasicTurbulenceModel >::nu0(), Stokes< BasicTurbulenceModel >::nuEff(), continuousGasKEpsilon< BasicTurbulenceModel >::nuEff(), laminarModel< BasicTurbulenceModel >::nuEff(), LESModel< BasicTurbulenceModel >::nuEff(), RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >::nuEff(), SpalartAllmaras::nutJacobianVar1(), PairSpringSliderDashpot< CloudType >::PairSpringSliderDashpot(), IATEsource::Re(), kOmegaSSTLM< BasicTurbulenceModel >::ReThetat0(), multiNormal::sample(), kEpsilonPhitF< BasicTurbulenceModel >::Ts(), LISAAtomization< CloudType >::update(), JohnsonJacksonParticleSlipFvPatchVectorField::updateCoeffs(), alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs(), WallLocalSpringSliderDashpot< CloudType >::WallLocalSpringSliderDashpot(), and WallSpringSliderDashpot< CloudType >::WallSpringSliderDashpot().

Foam::FatalError
error FatalError
Foam::abort
errorManip< error > abort(error &err)
Definition: errorManip.H:137
FatalErrorInFunction
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Definition: error.H:372