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

Go to the source code of this file.

Functions

IOobject CIO ("C", Time::timeName(0), mesh, IOobject::NO_READ, IOobject::NO_WRITE)
 
const dictionary & CDict (thermalProperties.subDict("C"))
 
word CType (CDict.get< word >("type"))
 
 if (CType=="uniform")
 
IOobject rhoKIO ("k", Time::timeName(0), mesh, IOobject::NO_READ, IOobject::NO_WRITE)
 
const dictionary & kDict (thermalProperties.subDict("k"))
 
word kType (kDict.get< word >("type"))
 
 if (kType=="uniform")
 
IOobject alphaIO ("alpha", Time::timeName(0), mesh, IOobject::NO_READ, IOobject::NO_WRITE)
 
const dictionary & alphaDict (thermalProperties.subDict("alpha"))
 
word alphaType (alphaDict.get< word >("type"))
 
 if (alphaType=="uniform")
 

Variables

Info<< "Reading thermal properties\"<< endl;IOdictionary thermalProperties(IOobject("thermalProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));bool thermalStress(thermalProperties.get< bool >"thermalStress"));volScalarField threeKalpha(IOobject("threeKalpha", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedScalar(dimensionSet(0, 2, -2, -1, 0), Zero));volScalarField DT(IOobject("DT", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedScalar(dimensionSet(0, 2, -1, 0, 0), Zero));if(thermalStress){ autoPtr< volScalarField > CPtr
 
 else
 
volScalarField & C = CPtr()
 
autoPtr< volScalarField > rhoKPtr
 
volScalarField & rhoK = rhoKPtr()
 
autoPtr< volScalarField > alphaPtr
 
volScalarField & alpha = alphaPtr()
 Fine-structure constant: default SI units: []. More...
 

Function Documentation

◆ CIO()

IOobject CIO ( "C"  ,
Time::timeName(0)  ,
mesh  ,
IOobject::NO_READ  ,
IOobject::NO_WRITE   
)

Referenced by if().

Here is the caller graph for this function:

◆ CDict()

const dictionary& CDict ( thermalProperties.  subDict"C")

Referenced by if().

Here is the caller graph for this function:

◆ CType()

word CType ( CDict.get< word >  "type")

◆ if() [1/3]

else if ( CType  = = "uniform")

Definition at line 62 of file readThermalProperties.H.

References CDict(), CIO(), CPtr, and mesh.

Here is the call graph for this function:

◆ rhoKIO()

IOobject rhoKIO ( "k"  ,
Time::timeName(0)  ,
mesh  ,
IOobject::NO_READ  ,
IOobject::NO_WRITE   
)

Referenced by if().

Here is the caller graph for this function:

◆ kDict()

const dictionary& kDict ( thermalProperties.  subDict"k")

Referenced by if().

Here is the caller graph for this function:

◆ kType()

word kType ( kDict.get< word >  "type")

◆ if() [2/3]

else if ( kType  = = "uniform")

Definition at line 117 of file readThermalProperties.H.

References kDict(), mesh, rhoKIO(), and rhoKPtr.

Here is the call graph for this function:

◆ alphaIO()

IOobject alphaIO ( "alpha"  ,
Time::timeName(0)  ,
mesh  ,
IOobject::NO_READ  ,
IOobject::NO_WRITE   
)

Referenced by if().

Here is the caller graph for this function:

◆ alphaDict()

const dictionary& alphaDict ( thermalProperties.  subDict"alpha")

Referenced by if().

Here is the caller graph for this function:

◆ alphaType()

word alphaType ( alphaDict.get< word >  "type")

◆ if() [3/3]

else if ( alphaType  = = "uniform")

Definition at line 174 of file readThermalProperties.H.

References alphaDict(), alphaIO(), alphaPtr, Foam::dimTemperature, Foam::inv(), and mesh.

Here is the call graph for this function:

Variable Documentation

◆ CPtr

Info<< "Reading thermal properties\n" << endl;IOdictionary thermalProperties( IOobject ( "thermalProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE ));bool thermalStress(thermalProperties.get<bool>"thermalStress"));volScalarField threeKalpha( IOobject ( "threeKalpha", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE ), mesh, dimensionedScalar(dimensionSet(0, 2, -2 , -1, 0), Zero));volScalarField DT( IOobject ( "DT", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE ), mesh, dimensionedScalar(dimensionSet(0, 2, -1 , 0, 0), Zero));if (thermalStress){ autoPtr<volScalarField> CPtr

Definition at line 49 of file readThermalProperties.H.

Referenced by if().

◆ else

else
Initial value:
{
<< "Valid type entries are uniform or field for C"
error FatalError
Error stream (stdout output on all processes), with additional &#39;FOAM FATAL ERROR&#39; header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Definition: error.H:598
errorManip< error > abort(error &err)
Definition: errorManip.H:139

Definition at line 96 of file readThermalProperties.H.

◆ C

◆ rhoKPtr

autoPtr<volScalarField> rhoKPtr

Definition at line 104 of file readThermalProperties.H.

Referenced by if().

◆ rhoK

volScalarField& rhoK = rhoKPtr()

Definition at line 157 of file readThermalProperties.H.

◆ alphaPtr

autoPtr<volScalarField> alphaPtr

Definition at line 159 of file readThermalProperties.H.

Referenced by if().

◆ alpha

volScalarField& alpha = alphaPtr()

Fine-structure constant: default SI units: [].

Definition at line 212 of file readThermalProperties.H.

Referenced by scene::addColourToMesh(), PhaseLimitStabilization< Type >::addSup(), atmPlantCanopyTSource::addSup(), atmPlantCanopyUSource::addSup(), explicitPorositySource::addSup(), atmPlantCanopyTurbSource::addSup(), atmCoriolisUSource::addSup(), acousticDampingSource::addSup(), atmAmbientTurbSource::addSup(), atmLengthScaleTurbSource::addSup(), atmBuoyancyTurbSource::addSup(), buoyancyTurbSource::addSup(), option::addSup(), actuationDiskSource::addSup(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::alpha(), Foam::fvc::alphaCorr(), phaseModel::alphaEff(), multiphaseInterSystem::alphaEff(), topODesignVariables::applyFixedValues(), InterfaceForce< CloudType >::cacheFields(), BrownianMotionForce< CloudType >::calcCoupled(), wallHeatFlux::calcHeatFlux(), MUCSheterogeneousRate< CloudType >::calculate(), pointMVCWeight::calcWeights(), lookupProfile::Cdl(), seriesProfile::Cdl(), TrajectoryCollision< CloudType >::collideParcels(), thermocapillaryForce::correct(), DeardorffDiffStress< BasicTurbulenceModel >::correct(), kEqn< BasicTurbulenceModel >::correct(), Maxwell< BasicTurbulenceModel >::correct(), dynamicLagrangian< BasicTurbulenceModel >::correct(), kOmega< BasicTurbulenceModel >::correct(), dynamicKEqn< BasicTurbulenceModel >::correct(), thixotropicViscosity::correct(), realizableKE< BasicTurbulenceModel >::correct(), SSG< BasicTurbulenceModel >::correct(), kEpsilon< EddyDiffusivity< compressible::turbulenceModel > >::correct(), RNGkEpsilon< BasicTurbulenceModel >::correct(), LaunderSharmaKE< BasicTurbulenceModel >::correct(), LRR< BasicTurbulenceModel >::correct(), kEpsilonLopesdaCosta< BasicTurbulenceModel >::correct(), SpalartAllmarasBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::correct(), contactAngleForce::correct(), EBRSM< BasicTurbulenceModel >::correct(), kineticTheoryModel::correct(), kEpsilonPhitF< BasicTurbulenceModel >::correct(), kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::correct(), kL< BasicTurbulenceModel >::correct(), solidification::correctModel(), kOmegaSSTLM< BasicTurbulenceModel >::correctReThetatGammaInt(), PengRobinsonGas< Specie >::Cp(), PengRobinsonGas< Specie >::CpMCv(), Foam::fvm::ddt(), Foam::fvc::ddt(), MomentumTransferPhaseSystem< BasePhaseSystem >::ddtCorrByAs(), exponential::dTaudTheta(), HarrisCrighton::dTaudTheta(), kOmegaSSTIDDES< BasicTurbulenceModel >::dTilda(), SpalartAllmarasIDDES< BasicTurbulenceModel >::dTilda(), PengRobinsonGas< Specie >::E(), effectivenessTable::energyDensity(), LaheyKEpsilon< BasicTurbulenceModel >::epsilonSource(), thermo::evolveRegion(), scalarTransport::execute(), extractEulerianParticles::execute(), kOmegaSSTIDDES< BasicTurbulenceModel >::fd(), SpalartAllmarasIDDES< BasicTurbulenceModel >::fd(), for(), forAll(), Schaeffer::frictionalPressure(), JohnsonJackson::frictionalPressure(), JohnsonJacksonSchaeffer::frictionalPressure(), Schaeffer::frictionalPressurePrime(), JohnsonJackson::frictionalPressurePrime(), JohnsonJacksonSchaeffer::frictionalPressurePrime(), steadyStateDdtScheme< Type >::fvcDdt(), EulerDdtScheme< Type >::fvcDdt(), boundedDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), localEulerDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvcDdt(), steadyStateDdtScheme< Type >::fvmDdt(), EulerDdtScheme< Type >::fvmDdt(), boundedDdtScheme< Type >::fvmDdt(), backwardDdtScheme< Type >::fvmDdt(), CoEulerDdtScheme< Type >::fvmDdt(), SLTSDdtScheme< Type >::fvmDdt(), ddtScheme< Type >::fvmDdt(), localEulerDdtScheme< Type >::fvmDdt(), CrankNicolsonDdtScheme< Type >::fvmDdt(), LunSavage::g0(), SinclairJackson::g0(), CarnahanStarling::g0(), SinclairJackson::g0prime(), LunSavage::g0prime(), CarnahanStarling::g0prime(), PengRobinsonGas< Specie >::H(), AnisothermalPhaseModel< BasePhaseModel >::heEqn(), if(), Foam::Math::incGammaRatio_Q(), MPPICCloud< Foam::DSMCCloud >::info(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::info(), topODesignVariables::initialize(), triangleFuncs::intersectAxesBundle(), NicenoKEqn< BasicTurbulenceModel >::kSource(), LaheyKEpsilon< BasicTurbulenceModel >::kSource(), ThermalDiffusivity< Foam::PhaseCompressibleTurbulenceModel< Foam::fluidThermo > >::New(), PhaseCompressibleTurbulenceModel< Foam::phaseModel >::New(), laminarModel< BasicMomentumTransportModel >::New(), Schaeffer::nu(), JohnsonJacksonSchaeffer::nu(), equilibrium::oneByTau(), isotropic::oneByTau(), nonEquilibrium::oneByTau(), optionList::operator()(), SprayCloud< Foam::DSMCCloud >::penetration(), continuousGasKEqn< BasicTurbulenceModel >::phaseTransferCoeff(), continuousGasKEpsilon< BasicTurbulenceModel >::phaseTransferCoeff(), NicenoKEqn< BasicTurbulenceModel >::phaseTransferCoeff(), LaheyKEpsilon< BasicTurbulenceModel >::phaseTransferCoeff(), ParticleErosion< CloudType >::postPatch(), ParticleTrap< CloudType >::preEvolve(), reactingEulerHtcModel::q(), heatTransferCoeffModel::q(), cutFaceAdvect::quadAreaCoeffs(), randomCoalescence::R(), lumpedPointState::relax(), faMatrix< Type >::relax(), fvMatrix< Type >::relax(), GeometricField< Foam::vector, Foam::fvPatchField, Foam::volMesh >::relax(), phaseSystem::rho(), general::sample(), PCG::scalarSolve(), PBiCGStab::scalarSolve(), FPCG::scalarSolve(), PPCG::scalarSolveCG(), shallowWaterAbsorption::setAlpha(), ConeInjection< CloudType >::setProperties(), ConeNozzleInjection< CloudType >::setProperties(), primaryRadiation::Shs(), standardRadiation::Shs(), constantRadiation::Shs(), PCICG< Type, DType, LUType >::solve(), PBiCICG< Type, DType, LUType >::solve(), PBiCCCG< Type, DType, LUType >::solve(), PBiCG::solve(), multiphaseSystem::solve(), QRMatrix< MatrixType >::solve(), populationBalanceModel::solve(), multiphaseSystem::solveAlphas(), thermalBaffle::solveEnergy(), reactingOneDim::solveEnergy(), MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::solveYi(), KinematicSurfaceFilm< CloudType >::splashDirection(), Foam::fvc::spread(), Foam::fvc::sweep(), exponential::tau(), Lun::tau(), HarrisCrighton::tau(), ParticleStressModel::tau(), cutFaceAdvect::timeIntegratedArea(), phaseSystem::U(), MovingPhaseModel< BasePhaseModel >::UEqn(), MovingPhaseModel< BasePhaseModel >::UfEqn(), JohnsonJacksonParticleSlipFvPatchVectorField::updateCoeffs(), JohnsonJacksonParticleThetaFvPatchScalarField::updateCoeffs(), variableHeightFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), fixedMultiPhaseHeatFluxFvPatchScalarField::updateCoeffs(), advectiveFvPatchField< Type >::updateCoeffs(), thermalBaffle1DFvPatchScalarField< solidType >::updateCoeffs(), humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs(), reconstructedDistanceFunction::updateContactAngle(), Explicit< CloudType >::velocityCorrection(), cuttingSurfaceBase::walkCellCuts(), waveModel::waterLevel(), while(), FacePostProcessing< CloudType >::write(), ParticleCollector< CloudType >::write(), sizeDistribution::write(), regionSizeDistribution::write(), topODesignVariables::writeData(), levelSetDesignVariables::writeDesignVars(), topODesignVariables::writeDesignVars(), gltfWriter::writeTemplate(), MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::YiEqn(), and PengRobinsonGas< Specie >::Z().