Go to the source code of this file.
|
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.lookup("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.lookup("type")) |
|
| if (nuType=="uniform") |
|
|
Info<< "Reading mechanical properties\"<< 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.lookup("type"));autoPtr< volScalarField > | rhoPtr |
|
| else |
|
volScalarField & | rho = rhoPtr() |
|
autoPtr< volScalarField > | EPtr |
|
volScalarField & | rhoE = EPtr() |
|
autoPtr< volScalarField > | nuPtr |
|
volScalarField & | nu = nuPtr() |
|
◆ rhoIO()
IOobject rhoIO |
( |
"rho" |
, |
|
|
runTime. |
timeName0, |
|
|
mesh |
, |
|
|
IOobject::NO_READ |
, |
|
|
IOobject::NO_WRITE |
|
|
) |
| |
◆ if() [1/3]
else if |
( |
rhoType |
= = "uniform" | ) |
|
◆ EDict()
const dictionary& EDict |
( |
mechanicalProperties. |
subDict"E" | ) |
|
◆ EType()
word EType |
( |
EDict. |
lookup"type" | ) |
|
◆ EHeader()
IOobject EHeader |
( |
"E" |
, |
|
|
runTime. |
timeName0, |
|
|
mesh |
, |
|
|
IOobject::NO_READ |
, |
|
|
IOobject::NO_WRITE |
|
|
) |
| |
◆ if() [2/3]
Definition at line 84 of file readMechanicalProperties.H.
References Foam::abort(), Foam::dimLength, Foam::dimMass, Foam::dimTime, EDict(), EHeader(), EType(), Foam::FatalError, FatalErrorInFunction, mesh, readScalar, and Foam::sqr().
◆ nuIO()
IOobject nuIO |
( |
"nu" |
, |
|
|
runTime. |
timeName0, |
|
|
mesh |
, |
|
|
IOobject::NO_READ |
, |
|
|
IOobject::NO_WRITE |
|
|
) |
| |
◆ nuDict()
const dictionary& nuDict |
( |
mechanicalProperties. |
subDict"nu" | ) |
|
◆ nuType()
word nuType |
( |
nuDict. |
lookup"type" | ) |
|
◆ if() [3/3]
◆ 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.lookup("type")); autoPtr<volScalarField> rhoPtr |
◆ else
Initial value:{
<< "Valid type entries are uniform or field for rho"
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManip< error > abort(error &err)
Definition at line 62 of file readMechanicalProperties.H.
◆ rho
volScalarField& rho = rhoPtr() |
◆ EPtr
autoPtr<volScalarField> EPtr |
◆ rhoE
volScalarField& rhoE = EPtr() |
◆ nuPtr
autoPtr<volScalarField> nuPtr |
◆ nu
volScalarField& nu = nuPtr() |
Definition at line 176 of file readMechanicalProperties.H.
Referenced by SpalartAllmarasDES< BasicTurbulenceModel >::chi(), SpalartAllmaras< BasicTurbulenceModel >::chi(), NoPhaseChange< CloudType >::clone(), LiquidEvaporation< CloudType >::clone(), LiquidEvaporationBoil< CloudType >::clone(), ORourkeCollision< CloudType >::collideParcels(), DeardorffDiffStress< BasicTurbulenceModel >::correct(), DarcyForchheimer::correct(), EDC< Type >::correct(), realizableKE< BasicTurbulenceModel >::correct(), LaunderSharmaKE< BasicTurbulenceModel >::correct(), qZeta::correct(), mixtureKEpsilon< BasicTurbulenceModel >::correct(), kkLOmega::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(), SSG< BasicTurbulenceModel >::DepsilonEff(), LRR< BasicTurbulenceModel >::DepsilonEff(), v2f< BasicTurbulenceModel >::DepsilonEff(), 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(), dynamicLagrangian< BasicTurbulenceModel >::DkEff(), LienLeschziner::DkEff(), kEqn< BasicTurbulenceModel >::DkEff(), realizableKE< BasicTurbulenceModel >::DkEff(), kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >::DkEff(), LienCubicKE::DkEff(), LaunderSharmaKE< BasicTurbulenceModel >::DkEff(), RNGkEpsilon< BasicTurbulenceModel >::DkEff(), dynamicKEqn< BasicTurbulenceModel >::DkEff(), v2f< BasicTurbulenceModel >::DkEff(), kkLOmega::DkEff(), SpalartAllmaras< BasicTurbulenceModel >::DnuTildaEff(), SpalartAllmarasDES< BasicTurbulenceModel >::DnuTildaEff(), kOmega< BasicTurbulenceModel >::DomegaEff(), kkLOmega::DomegaEff(), qZeta::DqEff(), SSG< BasicTurbulenceModel >::DREff(), LRR< BasicTurbulenceModel >::DREff(), qZeta::DzetaEff(), LienLeschziner::E(), LienCubicKE::E(), kOmegaSSTLM< BasicTurbulenceModel >::F1(), qZeta::f2(), LienLeschziner::f2(), LaunderSharmaKE< BasicTurbulenceModel >::f2(), LienCubicKE::f2(), qZeta::fMu(), LienLeschziner::fMu(), LaunderSharmaKE< BasicTurbulenceModel >::fMu(), LienCubicKE::fMu(), kOmegaSSTLM< BasicTurbulenceModel >::gammaInt(), v2f< BasicTurbulenceModel >::Ls(), 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(), PairSpringSliderDashpot< CloudType >::PairSpringSliderDashpot(), multiNormal::sample(), v2f< BasicTurbulenceModel >::Ts(), LISAAtomization< CloudType >::update(), alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs(), WallLocalSpringSliderDashpot< CloudType >::WallLocalSpringSliderDashpot(), and WallSpringSliderDashpot< CloudType >::WallSpringSliderDashpot().