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 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 EDict(), EHeader(), EPtr, and mesh.

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 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"
<< abort(FatalError)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Definition: error.H:453

Definition at line 61 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(), LiquidEvapFuchsKnudsen< CloudType >::calculate(), MUCSheterogeneousRate< CloudType >::calculate(), SpalartAllmarasDES< BasicTurbulenceModel >::chi(), SpalartAllmaras< BasicTurbulenceModel >::chi(), ORourkeCollision< CloudType >::collideParcels(), EDC< ReactionThermo >::correct(), kkLOmega::correct(), qZeta::correct(), mixtureKEpsilon< BasicTurbulenceModel >::correct(), generalizedNewtonian< BasicMomentumTransportModel >::correct(), DeardorffDiffStress< BasicTurbulenceModel >::correct(), kEpsilonPhitF< BasicTurbulenceModel >::correct(), LaunderSharmaKE< BasicTurbulenceModel >::correct(), realizableKE< BasicTurbulenceModel >::correct(), DarcyForchheimer::correct(), directionalPressureGradientExplicitSource::correct(), kOmegaSSTSato< BasicTurbulenceModel >::correctNut(), kOmegaSSTLM< BasicTurbulenceModel >::correctReThetatGammaInt(), KirchhoffShell::D(), kEpsilonLopesdaCosta< BasicTurbulenceModel >::DepsilonEff(), LamBremhorstKE::DepsilonEff(), LienCubicKE::DepsilonEff(), LienLeschziner::DepsilonEff(), ShihQuadraticKE::DepsilonEff(), kEpsilon< BasicTurbulenceModel >::DepsilonEff(), kEpsilonPhitF< BasicTurbulenceModel >::DepsilonEff(), LaunderSharmaKE< BasicTurbulenceModel >::DepsilonEff(), LRR< BasicTurbulenceModel >::DepsilonEff(), realizableKE< BasicTurbulenceModel >::DepsilonEff(), RNGkEpsilon< BasicTurbulenceModel >::DepsilonEff(), SSG< BasicTurbulenceModel >::DepsilonEff(), ReynoldsAnalogy::devReff(), forces::devRhoReff(), filmTurbulenceModel::devRhoReff(), kOmegaSSTLM< BasicTurbulenceModel >::DgammaIntEff(), ReynoldsStress< BasicTurbulenceModel >::DivDevRhoReff(), Maxwell< BasicTurbulenceModel >::divDevRhoReff(), kEpsilonLopesdaCosta< BasicTurbulenceModel >::DkEff(), kL< BasicTurbulenceModel >::DkEff(), LamBremhorstKE::DkEff(), LienCubicKE::DkEff(), LienLeschziner::DkEff(), ShihQuadraticKE::DkEff(), dynamicKEqn< BasicTurbulenceModel >::DkEff(), dynamicLagrangian< BasicTurbulenceModel >::DkEff(), kEqn< BasicTurbulenceModel >::DkEff(), kEpsilon< BasicTurbulenceModel >::DkEff(), kEpsilonPhitF< BasicTurbulenceModel >::DkEff(), kOmega< BasicTurbulenceModel >::DkEff(), LaunderSharmaKE< BasicTurbulenceModel >::DkEff(), realizableKE< BasicTurbulenceModel >::DkEff(), RNGkEpsilon< BasicTurbulenceModel >::DkEff(), kkLOmega::DkEff(), kOmegaSSTBase< BasicEddyViscosityModel >::DkEff(), SpalartAllmarasDES< BasicTurbulenceModel >::DnuTildaEff(), SpalartAllmaras< BasicTurbulenceModel >::DnuTildaEff(), kOmega< BasicTurbulenceModel >::DomegaEff(), kkLOmega::DomegaEff(), kOmegaSSTBase< BasicEddyViscosityModel >::DomegaEff(), kEpsilonPhitF< BasicTurbulenceModel >::DphitEff(), qZeta::DqEff(), LRR< BasicTurbulenceModel >::DREff(), SSG< BasicTurbulenceModel >::DREff(), qZeta::DzetaEff(), LienCubicKE::E(), LienLeschziner::E(), kOmegaSSTLM< BasicTurbulenceModel >::F1(), LienCubicKE::f2(), LienLeschziner::f2(), qZeta::f2(), LaunderSharmaKE< BasicTurbulenceModel >::f2(), kOmegaSSTLM< BasicTurbulenceModel >::Flength(), LienCubicKE::fMu(), LienLeschziner::fMu(), qZeta::fMu(), LaunderSharmaKE< BasicTurbulenceModel >::fMu(), interfaceTrackingFvMesh::freeSurfacePressureJump(), interfaceTrackingFvMesh::freeSurfaceSnGradU(), kOmegaSSTLM< BasicTurbulenceModel >::Fthetat(), boundaryAdjointContributionIncompressible::laminarDiffusivity(), kEpsilonPhitF< BasicTurbulenceModel >::Ls(), adjointWallVelocityFvPatchVectorField::manipulateMatrix(), phasePair::Mo(), IATEsource::Mo(), solidParticleCloud::move(), forces::mu(), incompressibleRhoTurbulenceModel::mu(), incompressibleTurbulenceModel::mu(), multiphaseInterSystem::nu(), Maxwell< BasicTurbulenceModel >::nu0(), continuousGasKEpsilon< BasicTurbulenceModel >::nuEff(), laminarModel< BasicTurbulenceModel >::nuEff(), Stokes< BasicTurbulenceModel >::nuEff(), LESModel< BasicTurbulenceModel >::nuEff(), RASModel< BasicTurbulenceModel >::nuEff(), SpalartAllmaras::nutJacobianVar1(), PairSpringSliderDashpot< CloudType >::PairSpringSliderDashpot(), IATEsource::Re(), kOmegaSSTLM< BasicTurbulenceModel >::ReThetat0(), kEpsilonPhitF< BasicTurbulenceModel >::Ts(), LISAAtomization< CloudType >::update(), JohnsonJacksonParticleSlipFvPatchVectorField::updateCoeffs(), alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs(), WallLocalSpringSliderDashpot< CloudType >::WallLocalSpringSliderDashpot(), and WallSpringSliderDashpot< CloudType >::WallSpringSliderDashpot().