Functions | Variables
readMechanicalProperties.H File Reference

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.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")
 

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.lookup("type"));autoPtr< volScalarField > rhoPtr
 
 else
 
volScalarField & rho = rhoPtr()
 
autoPtr< volScalarField > EPtr
 
volScalarField & rhoE = EPtr()
 
autoPtr< volScalarField > nuPtr
 
volScalarField & nu = nuPtr()
 

Function Documentation

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

Referenced by if().

Here is the caller graph for this function:

else if ( rhoType  = = "uniform")

Definition at line 29 of file readMechanicalProperties.H.

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

Here is the call graph for this function:

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

Referenced by if().

Here is the caller graph for this function:

word EType ( EDict.  lookup"type")

Referenced by if().

Here is the caller graph for this function:

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

Referenced by if().

Here is the caller graph for this function:

else if ( EType  = = "uniform")

Definition at line 87 of file readMechanicalProperties.H.

References Foam::abort(), Foam::dimLength, Foam::dimMass, Foam::dimTime, EDict(), EHeader(), EType(), Foam::FatalError, FatalErrorIn, mesh, readScalar, and Foam::sqr().

Here is the call graph for this function:

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

Referenced by if().

Here is the caller graph for this function:

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

Referenced by if().

Here is the caller graph for this function:

word nuType ( nuDict.  lookup"type")

Referenced by if().

Here is the caller graph for this function:

else if ( nuType  = = "uniform")

Definition at line 145 of file readMechanicalProperties.H.

References Foam::abort(), Foam::dimless, Foam::FatalError, FatalErrorIn, mesh, nuDict(), nuIO(), nuType(), and readScalar.

Here is the call graph for this function:

Variable Documentation

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

Definition at line 18 of file readMechanicalProperties.H.

else
Initial value:
{
(
"readMechanicalProperties.H"
) << "Valid type entries are uniform or field for rho"
errorManip< error > abort(error &err)
Definition: errorManip.H:131
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
Definition: error.H:314
error FatalError

Definition at line 63 of file readMechanicalProperties.H.

volScalarField& rho = rhoPtr()

Definition at line 71 of file readMechanicalProperties.H.

autoPtr<volScalarField> EPtr

Definition at line 76 of file readMechanicalProperties.H.

volScalarField& rhoE = EPtr()

Definition at line 129 of file readMechanicalProperties.H.

Referenced by if().

autoPtr<volScalarField> nuPtr

Definition at line 131 of file readMechanicalProperties.H.

volScalarField& nu = nuPtr()

Definition at line 185 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(), LaunderSharmaKE< BasicTurbulenceModel >::correct(), realizableKE< BasicTurbulenceModel >::correct(), qZeta::correct(), mixtureKEpsilon< BasicTurbulenceModel >::correct(), kkLOmega::correct(), kOmegaSSTSato< BasicTurbulenceModel >::correctNut(), ShihQuadraticKE::DepsilonEff(), LamBremhorstKE::DepsilonEff(), LienLeschziner::DepsilonEff(), LienCubicKE::DepsilonEff(), kEpsilon< BasicTurbulenceModel >::DepsilonEff(), realizableKE< BasicTurbulenceModel >::DepsilonEff(), RNGkEpsilon< BasicTurbulenceModel >::DepsilonEff(), LaunderSharmaKE< BasicTurbulenceModel >::DepsilonEff(), SSG< BasicTurbulenceModel >::DepsilonEff(), LRR< BasicTurbulenceModel >::DepsilonEff(), v2f< BasicTurbulenceModel >::DepsilonEff(), ReynoldsStress< BasicTurbulenceModel >::devRhoReff(), forces::devRhoReff(), ReynoldsStress< BasicTurbulenceModel >::divDevRhoReff(), ShihQuadraticKE::DkEff(), LamBremhorstKE::DkEff(), kOmega< BasicTurbulenceModel >::DkEff(), dynamicLagrangian< BasicTurbulenceModel >::DkEff(), LienLeschziner::DkEff(), kEqn< BasicTurbulenceModel >::DkEff(), kEpsilon< BasicTurbulenceModel >::DkEff(), LienCubicKE::DkEff(), realizableKE< BasicTurbulenceModel >::DkEff(), RNGkEpsilon< BasicTurbulenceModel >::DkEff(), LaunderSharmaKE< BasicTurbulenceModel >::DkEff(), dynamicKEqn< BasicTurbulenceModel >::DkEff(), v2f< BasicTurbulenceModel >::DkEff(), kkLOmega::DkEff(), kOmegaSST< BasicTurbulenceModel >::DkEff(), SpalartAllmaras< BasicTurbulenceModel >::DnuTildaEff(), SpalartAllmarasDES< BasicTurbulenceModel >::DnuTildaEff(), kOmega< BasicTurbulenceModel >::DomegaEff(), kkLOmega::DomegaEff(), kOmegaSST< BasicTurbulenceModel >::DomegaEff(), qZeta::DqEff(), SSG< BasicTurbulenceModel >::DREff(), LRR< BasicTurbulenceModel >::DREff(), qZeta::DzetaEff(), LienLeschziner::E(), LienCubicKE::E(), qZeta::f2(), LienLeschziner::f2(), LaunderSharmaKE< BasicTurbulenceModel >::f2(), LienCubicKE::f2(), qZeta::fMu(), LienLeschziner::fMu(), LaunderSharmaKE< BasicTurbulenceModel >::fMu(), LienCubicKE::fMu(), v2f< BasicTurbulenceModel >::Ls(), solidParticleCloud::move(), incompressibleTurbulenceModel::mu(), forces::mu(), laminar< BasicTurbulenceModel >::nuEff(), continuousGasKEpsilon< BasicTurbulenceModel >::nuEff(), LESModel< BasicTurbulenceModel >::nuEff(), RASModel< BasicTurbulenceModel >::nuEff(), PairSpringSliderDashpot< CloudType >::PairSpringSliderDashpot(), multiNormal::sample(), v2f< BasicTurbulenceModel >::Ts(), LISAAtomization< CloudType >::update(), alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs(), WallLocalSpringSliderDashpot< CloudType >::WallLocalSpringSliderDashpot(), and WallSpringSliderDashpot< CloudType >::WallSpringSliderDashpot().