diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/T/smoluchowskiJumpTFvPatchScalarField.C b/applications/solvers/compressible/rhoCentralFoam/BCs/T/smoluchowskiJumpTFvPatchScalarField.C index 71662dec34e6a7257a465aa225b49e0321aa7c66..949ed75cbf7f9c2a0ebad1d08b8542e34cea3355 100644 --- a/applications/solvers/compressible/rhoCentralFoam/BCs/T/smoluchowskiJumpTFvPatchScalarField.C +++ b/applications/solvers/compressible/rhoCentralFoam/BCs/T/smoluchowskiJumpTFvPatchScalarField.C @@ -181,7 +181,7 @@ void Foam::smoluchowskiJumpTFvPatchScalarField::updateCoeffs() // Prandtl number reading consistent with rhoCentralFoam const dictionary& thermophysicalProperties = - db().lookupObject<IOdictionary>("thermophysicalProperties"); + db().lookupObject<IOdictionary>(basicThermo::dictName); dimensionedScalar Pr ( diff --git a/applications/utilities/postProcessing/velocityField/Mach/Mach.C b/applications/utilities/postProcessing/velocityField/Mach/Mach.C index aeb7c7c7d7369a4c7b541f99ee6c3dc222e632d6..ed1ffa6e0a7ac060d08a69cb6de749fc91f71747 100644 --- a/applications/utilities/postProcessing/velocityField/Mach/Mach.C +++ b/applications/utilities/postProcessing/velocityField/Mach/Mach.C @@ -68,7 +68,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh) ( IOobject ( - "thermophysicalProperties", + basicThermo::dictName, runTime.constant(), mesh ).headerOk() diff --git a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/externalCoupledTemperatureMixed/externalCoupledTemperatureMixedFvPatchScalarField.C b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/externalCoupledTemperatureMixed/externalCoupledTemperatureMixedFvPatchScalarField.C index 36b6ce879680cc5fee1e98d7f7c00c3412fc87e0..9791087190b487ef22cbe9deb6b30f7c57071e6e 100644 --- a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/externalCoupledTemperatureMixed/externalCoupledTemperatureMixedFvPatchScalarField.C +++ b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/externalCoupledTemperatureMixed/externalCoupledTemperatureMixedFvPatchScalarField.C @@ -137,7 +137,7 @@ void Foam::externalCoupledTemperatureMixedFvPatchScalarField::transferData ) ); - static word thermoName("thermophysicalProperties"); + static word thermoName(basicThermo::dictName); if (db().foundObject<cmpTurbModelType>(turbName)) { diff --git a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/temperatureCoupledBase/temperatureCoupledBase.C b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/temperatureCoupledBase/temperatureCoupledBase.C index ff6c5e9f262eb9b8235940abf60059514b20007b..52aabee0b33d8a2a13c6036b5ff4ffe54cec6743 100644 --- a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/temperatureCoupledBase/temperatureCoupledBase.C +++ b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/temperatureCoupledBase/temperatureCoupledBase.C @@ -123,10 +123,10 @@ Foam::tmp<Foam::scalarField> Foam::temperatureCoupledBase::kappa return turbModel.kappaEff(patchI); } - else if (mesh.foundObject<fluidThermo>("thermophysicalProperties")) + else if (mesh.foundObject<fluidThermo>(basicThermo::dictName)) { const fluidThermo& thermo = - mesh.lookupObject<fluidThermo>("thermophysicalProperties"); + mesh.lookupObject<fluidThermo>(basicThermo::dictName); return thermo.kappa(patchI); } @@ -147,7 +147,7 @@ Foam::tmp<Foam::scalarField> Foam::temperatureCoupledBase::kappa case mtSolidThermo: { const solidThermo& thermo = - mesh.lookupObject<solidThermo>("thermophysicalProperties"); + mesh.lookupObject<solidThermo>(basicThermo::dictName); return thermo.kappa(patchI); break; @@ -156,7 +156,7 @@ Foam::tmp<Foam::scalarField> Foam::temperatureCoupledBase::kappa case mtDirectionalSolidThermo: { const solidThermo& thermo = - mesh.lookupObject<solidThermo>("thermophysicalProperties"); + mesh.lookupObject<solidThermo>(basicThermo::dictName); const symmTensorField& alphaAni = patch_.lookupPatchField<volSymmTensorField, scalar> diff --git a/src/fvOptions/constraints/derived/fixedTemperatureConstraint/fixedTemperatureConstraint.C b/src/fvOptions/constraints/derived/fixedTemperatureConstraint/fixedTemperatureConstraint.C index 7a10e2f8440852af004ec9e15722d68dfa061ba8..f982abbb40a403bc6ea31eff0dd83dfc75f6ac2c 100644 --- a/src/fvOptions/constraints/derived/fixedTemperatureConstraint/fixedTemperatureConstraint.C +++ b/src/fvOptions/constraints/derived/fixedTemperatureConstraint/fixedTemperatureConstraint.C @@ -98,7 +98,7 @@ Foam::fv::fixedTemperatureConstraint::fixedTemperatureConstraint // is obtained const basicThermo& thermo = - mesh_.lookupObject<basicThermo>("thermophysicalProperties"); + mesh_.lookupObject<basicThermo>(basicThermo::dictName); fieldNames_.setSize(1, thermo.he().name()); @@ -115,7 +115,7 @@ void Foam::fv::fixedTemperatureConstraint::constrain ) { const basicThermo& thermo = - mesh_.lookupObject<basicThermo>("thermophysicalProperties"); + mesh_.lookupObject<basicThermo>(basicThermo::dictName); switch (mode_) { diff --git a/src/fvOptions/corrections/limitTemperature/limitTemperature.C b/src/fvOptions/corrections/limitTemperature/limitTemperature.C index 8b5fa67d9913a9c8e1d6a01d484c3b0f1f6b23a7..033f2f4f69460b790eceff280ebb790667f3f947 100644 --- a/src/fvOptions/corrections/limitTemperature/limitTemperature.C +++ b/src/fvOptions/corrections/limitTemperature/limitTemperature.C @@ -63,7 +63,7 @@ Foam::fv::limitTemperature::limitTemperature // is obtained const basicThermo& thermo = - mesh_.lookupObject<basicThermo>("thermophysicalProperties"); + mesh_.lookupObject<basicThermo>(basicThermo::dictName); fieldNames_.setSize(1, thermo.he().name()); @@ -76,7 +76,7 @@ Foam::fv::limitTemperature::limitTemperature void Foam::fv::limitTemperature::correct(volScalarField& he) { const basicThermo& thermo = - mesh_.lookupObject<basicThermo>("thermophysicalProperties"); + mesh_.lookupObject<basicThermo>(basicThermo::dictName); scalarField Tmin(cells_.size(), Tmin_); scalarField Tmax(cells_.size(), Tmax_); diff --git a/src/fvOptions/sources/derived/effectivenessHeatExchangerSource/effectivenessHeatExchangerSource.C b/src/fvOptions/sources/derived/effectivenessHeatExchangerSource/effectivenessHeatExchangerSource.C index dfb6d77b95e1f5e8b3555992de1f9d3caaadb718..106db470755caade6f4aa8eaf7d71d327239b21f 100644 --- a/src/fvOptions/sources/derived/effectivenessHeatExchangerSource/effectivenessHeatExchangerSource.C +++ b/src/fvOptions/sources/derived/effectivenessHeatExchangerSource/effectivenessHeatExchangerSource.C @@ -188,7 +188,7 @@ Foam::fv::effectivenessHeatExchangerSource::effectivenessHeatExchangerSource // is obtained const basicThermo& thermo = - mesh_.lookupObject<basicThermo>("thermophysicalProperties"); + mesh_.lookupObject<basicThermo>(basicThermo::dictName); fieldNames_.setSize(1, thermo.he().name()); @@ -210,7 +210,7 @@ void Foam::fv::effectivenessHeatExchangerSource::addSup ) { const basicThermo& thermo = - mesh_.lookupObject<basicThermo>("thermophysicalProperties"); + mesh_.lookupObject<basicThermo>(basicThermo::dictName); const surfaceScalarField Cpf(fvc::interpolate(thermo.Cp())); diff --git a/src/fvOptions/sources/derived/solidificationMeltingSource/solidificationMeltingSource.C b/src/fvOptions/sources/derived/solidificationMeltingSource/solidificationMeltingSource.C index f5adc54af4df3efc55d09bb0070dae52bac34e23..b4120b984a77fcaa4ec44c49ea9596d9813d4f57 100644 --- a/src/fvOptions/sources/derived/solidificationMeltingSource/solidificationMeltingSource.C +++ b/src/fvOptions/sources/derived/solidificationMeltingSource/solidificationMeltingSource.C @@ -73,7 +73,7 @@ Foam::fv::solidificationMeltingSource::Cp() const case mdThermo: { const basicThermo& thermo = - mesh_.lookupObject<basicThermo>("thermophysicalProperties"); + mesh_.lookupObject<basicThermo>(basicThermo::dictName); return thermo.Cp(); break; @@ -228,7 +228,7 @@ Foam::fv::solidificationMeltingSource::solidificationMeltingSource case mdThermo: { const basicThermo& thermo = - mesh_.lookupObject<basicThermo>("thermophysicalProperties"); + mesh_.lookupObject<basicThermo>(basicThermo::dictName); fieldNames_[1] = thermo.he().name(); break; diff --git a/src/fvOptions/sources/interRegion/interRegionHeatTransfer/interRegionHeatTransferModel/interRegionHeatTransferModel.C b/src/fvOptions/sources/interRegion/interRegionHeatTransfer/interRegionHeatTransferModel/interRegionHeatTransferModel.C index 42f57d66857784acbe3bd69e539fce776189842c..213f96a24e351ea871de8f84256f7d319c386163 100644 --- a/src/fvOptions/sources/interRegion/interRegionHeatTransfer/interRegionHeatTransferModel/interRegionHeatTransferModel.C +++ b/src/fvOptions/sources/interRegion/interRegionHeatTransfer/interRegionHeatTransferModel/interRegionHeatTransferModel.C @@ -220,10 +220,10 @@ void Foam::fv::interRegionHeatTransferModel::addSup { if (he.dimensions() == dimEnergy/dimMass) { - if (mesh_.foundObject<basicThermo>("thermophysicalProperties")) + if (mesh_.foundObject<basicThermo>(basicThermo::dictName)) { const basicThermo& thermo = - mesh_.lookupObject<basicThermo>("thermophysicalProperties"); + mesh_.lookupObject<basicThermo>(basicThermo::dictName); volScalarField htcByCpv(htc_/thermo.Cpv()); diff --git a/src/fvOptions/sources/interRegion/interRegionHeatTransfer/variableHeatTransfer/variableHeatTransfer.C b/src/fvOptions/sources/interRegion/interRegionHeatTransfer/variableHeatTransfer/variableHeatTransfer.C index f3852e82a81e6cd4a8d88d9578cdb770e7e78fa6..6b04ed17e702e4783c3230a6adb749efcc78e2b1 100644 --- a/src/fvOptions/sources/interRegion/interRegionHeatTransfer/variableHeatTransfer/variableHeatTransfer.C +++ b/src/fvOptions/sources/interRegion/interRegionHeatTransfer/variableHeatTransfer/variableHeatTransfer.C @@ -109,7 +109,7 @@ void Foam::fv::variableHeatTransfer::calculateHtc() ); const fluidThermo& nbrThermo = - nbrMesh.lookupObject<fluidThermo>("thermophysicalProperties"); + nbrMesh.lookupObject<fluidThermo>(basicThermo::dictName); const volVectorField& UNbr = nbrMesh.lookupObject<volVectorField>(UNbrName_); diff --git a/src/postProcessing/functionObjects/forces/forces/forces.C b/src/postProcessing/functionObjects/forces/forces/forces.C index 749731567df6a2ebe6bc4d94e20cb1ce9cfbcea9..dfb4a1cb42e0c84a4776e22e517c85f54c8fb0db 100644 --- a/src/postProcessing/functionObjects/forces/forces/forces.C +++ b/src/postProcessing/functionObjects/forces/forces/forces.C @@ -266,10 +266,10 @@ Foam::tmp<Foam::volSymmTensorField> Foam::forces::devRhoReff() const Foam::tmp<Foam::volScalarField> Foam::forces::mu() const { - if (obr_.foundObject<fluidThermo>("thermophysicalProperties")) + if (obr_.foundObject<fluidThermo>(basicThermo::dictName)) { const fluidThermo& thermo = - obr_.lookupObject<fluidThermo>("thermophysicalProperties"); + obr_.lookupObject<fluidThermo>(basicThermo::dictName); return thermo.mu(); } diff --git a/src/regionCoupled/derivedFvPatchFields/energyRegionCoupled/energyRegionCoupledFvPatchScalarField.C b/src/regionCoupled/derivedFvPatchFields/energyRegionCoupled/energyRegionCoupledFvPatchScalarField.C index fd01b6497512258b5d6c67a55a69e093a9e6b186..4be6eb0649b84b26c6e6400e50a7368bdd1b102f 100644 --- a/src/regionCoupled/derivedFvPatchFields/energyRegionCoupled/energyRegionCoupledFvPatchScalarField.C +++ b/src/regionCoupled/derivedFvPatchFields/energyRegionCoupled/energyRegionCoupledFvPatchScalarField.C @@ -81,7 +81,7 @@ void Foam::energyRegionCoupledFvPatchScalarField::setMethod() const ( ®ionCoupledPatch_.nbrMesh().lookupObject<basicThermo> ( - "thermophysicalProperties" + basicThermo::dictName ) ); } @@ -92,7 +92,7 @@ void Foam::energyRegionCoupledFvPatchScalarField::setMethod() const ( &this->db().lookupObject<basicThermo> ( - "thermophysicalProperties" + basicThermo::dictName ) ); } @@ -121,7 +121,7 @@ kappa() const const basicThermo& thermo = this->db().lookupObject<basicThermo> ( - "thermophysicalProperties" + basicThermo::dictName ); return thermo.kappa(patch().index()); diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/basicChemistryModel/basicChemistryModelTemplates.C b/src/thermophysicalModels/chemistryModel/chemistryModel/basicChemistryModel/basicChemistryModelTemplates.C index bbabc14421e32c04543091e9609af3f2e165d843..7232e9f8072cefa30d69cf12e29b20c54c18de1f 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/basicChemistryModel/basicChemistryModelTemplates.C +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/basicChemistryModel/basicChemistryModelTemplates.C @@ -75,7 +75,7 @@ Foam::autoPtr<ChemistryModel> Foam::basicChemistryModel::New ( IOobject ( - IOobject::groupName("thermophysicalProperties", phaseName), + IOobject::groupName(basicThermo::dictName, phaseName), mesh.time().constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, diff --git a/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/greyMeanAbsorptionEmission/greyMeanAbsorptionEmission.C b/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/greyMeanAbsorptionEmission/greyMeanAbsorptionEmission.C index 21bf3194d15920e23cac1225154f6636a8138adc..29cbf3241f6b5d4f616cf8e697830f975b23e13c 100644 --- a/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/greyMeanAbsorptionEmission/greyMeanAbsorptionEmission.C +++ b/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/greyMeanAbsorptionEmission/greyMeanAbsorptionEmission.C @@ -60,7 +60,7 @@ Foam::radiation::greyMeanAbsorptionEmission::greyMeanAbsorptionEmission speciesNames_(0), specieIndex_(label(0)), lookUpTablePtr_(), - thermo_(mesh.lookupObject<fluidThermo>("thermophysicalProperties")), + thermo_(mesh.lookupObject<fluidThermo>(basicThermo::dictName)), EhrrCoeff_(readScalar(coeffsDict_.lookup("EhrrCoeff"))), Yj_(nSpecies_) { diff --git a/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/greyMeanSolidAbsorptionEmission/greyMeanSolidAbsorptionEmission.C b/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/greyMeanSolidAbsorptionEmission/greyMeanSolidAbsorptionEmission.C index f691bb4fc0f1bff55e8964364d0af6594b1f45e0..b2775f3149b64ca67921a704e72e2ec7bb8e9a20 100644 --- a/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/greyMeanSolidAbsorptionEmission/greyMeanSolidAbsorptionEmission.C +++ b/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/greyMeanSolidAbsorptionEmission/greyMeanSolidAbsorptionEmission.C @@ -91,7 +91,7 @@ greyMeanSolidAbsorptionEmission : absorptionEmissionModel(dict, mesh), coeffsDict_((dict.subDict(typeName + "Coeffs"))), - thermo_(mesh.lookupObject<solidThermo>("thermophysicalProperties")), + thermo_(mesh.lookupObject<solidThermo>(basicThermo::dictName)), speciesNames_(0), mixture_(dynamic_cast<const basicSpecieMixture&>(thermo_)), solidData_(mixture_.Y().size()) diff --git a/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/wideBandAbsorptionEmission/wideBandAbsorptionEmission.C b/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/wideBandAbsorptionEmission/wideBandAbsorptionEmission.C index 068a4c8d0bcf8bdc55f56a464fea5d1f3c5d7791..afca1f9d539d7e54c3e8b35ee18083859821c2fd 100644 --- a/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/wideBandAbsorptionEmission/wideBandAbsorptionEmission.C +++ b/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/wideBandAbsorptionEmission/wideBandAbsorptionEmission.C @@ -62,7 +62,7 @@ Foam::radiation::wideBandAbsorptionEmission::wideBandAbsorptionEmission mesh.time().constant(), mesh ), - thermo_(mesh.lookupObject<fluidThermo>("thermophysicalProperties")), + thermo_(mesh.lookupObject<fluidThermo>(basicThermo::dictName)), Yj_(nSpecies_), totalWaveLength_(0) { diff --git a/src/thermophysicalModels/radiation/submodels/sootModel/mixtureFractionSoot/mixtureFractionSoot.C b/src/thermophysicalModels/radiation/submodels/sootModel/mixtureFractionSoot/mixtureFractionSoot.C index 065f3470913dc38a4fc2472a15f0573ac7f5d2e3..9df8ce99d146616910e4177bc4568adc3fce3b70 100644 --- a/src/thermophysicalModels/radiation/submodels/sootModel/mixtureFractionSoot/mixtureFractionSoot.C +++ b/src/thermophysicalModels/radiation/submodels/sootModel/mixtureFractionSoot/mixtureFractionSoot.C @@ -99,7 +99,7 @@ Foam::radiation::mixtureFractionSoot<ThermoType>::mixtureFractionSoot coeffsDict_.lookupOrDefault<word>("mappingFieldName", "none") ), mapFieldMax_(1), - thermo_(mesh.lookupObject<fluidThermo>("thermophysicalProperties")), + thermo_(mesh.lookupObject<fluidThermo>(basicThermo::dictName)), mixture_(checkThermo(thermo_)) { const Reaction<ThermoType>& reaction = mixture_.operator[](0); diff --git a/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/fixedUnburntEnthalpy/fixedUnburntEnthalpyFvPatchScalarField.C b/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/fixedUnburntEnthalpy/fixedUnburntEnthalpyFvPatchScalarField.C index 4f0bc06f52ee8ac088c95d0eddb5aac842d054de..f44980f1617c8415122e63ad9cd6ebe6dced66c5 100644 --- a/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/fixedUnburntEnthalpy/fixedUnburntEnthalpyFvPatchScalarField.C +++ b/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/fixedUnburntEnthalpy/fixedUnburntEnthalpyFvPatchScalarField.C @@ -100,7 +100,7 @@ void Foam::fixedUnburntEnthalpyFvPatchScalarField::updateCoeffs() const psiuReactionThermo& thermo = db().lookupObject<psiuReactionThermo> ( - "thermophysicalProperties" + basicThermo::dictName ); const label patchi = patch().index(); diff --git a/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/gradientUnburntEnthalpy/gradientUnburntEnthalpyFvPatchScalarField.C b/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/gradientUnburntEnthalpy/gradientUnburntEnthalpyFvPatchScalarField.C index 1c13f7a0dd471aace77efeeecea4b84eaab6528e..1126475730e38b16f8b9953ff0ccdb1ea6a54493 100644 --- a/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/gradientUnburntEnthalpy/gradientUnburntEnthalpyFvPatchScalarField.C +++ b/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/gradientUnburntEnthalpy/gradientUnburntEnthalpyFvPatchScalarField.C @@ -99,7 +99,7 @@ void Foam::gradientUnburntEnthalpyFvPatchScalarField::updateCoeffs() const psiuReactionThermo& thermo = db().lookupObject<psiuReactionThermo> ( - "thermophysicalProperties" + basicThermo::dictName ); const label patchi = patch().index(); diff --git a/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/mixedUnburntEnthalpy/mixedUnburntEnthalpyFvPatchScalarField.C b/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/mixedUnburntEnthalpy/mixedUnburntEnthalpyFvPatchScalarField.C index 3ab1424dc0a8b790c7bfe02e0e3ffa315023ae10..d1c989cae1cf85ebafb7283e22faf0646ae20b52 100644 --- a/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/mixedUnburntEnthalpy/mixedUnburntEnthalpyFvPatchScalarField.C +++ b/src/thermophysicalModels/reactionThermo/derivedFvPatchFields/mixedUnburntEnthalpy/mixedUnburntEnthalpyFvPatchScalarField.C @@ -103,7 +103,7 @@ void Foam::mixedUnburntEnthalpyFvPatchScalarField::updateCoeffs() const psiuReactionThermo& thermo = db().lookupObject<psiuReactionThermo> ( - "thermophysicalProperties" + basicThermo::dictName ); const label patchi = patch().index(); diff --git a/src/thermophysicalModels/solidChemistryModel/basicSolidChemistryModel/basicSolidChemistryModelNew.C b/src/thermophysicalModels/solidChemistryModel/basicSolidChemistryModel/basicSolidChemistryModelNew.C index 928972766eec2227f8e7a8fce3617f23916212f4..19f585e026d362d0b0287ca49c48f42442f7726b 100644 --- a/src/thermophysicalModels/solidChemistryModel/basicSolidChemistryModel/basicSolidChemistryModelNew.C +++ b/src/thermophysicalModels/solidChemistryModel/basicSolidChemistryModel/basicSolidChemistryModelNew.C @@ -76,7 +76,7 @@ New ( IOobject ( - "thermophysicalProperties", + basicThermo::dictName, mesh.time().constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, diff --git a/src/thermophysicalModels/solidChemistryModel/pyrolysisChemistryModel/pyrolysisChemistryModel.C b/src/thermophysicalModels/solidChemistryModel/pyrolysisChemistryModel/pyrolysisChemistryModel.C index 73293dde0b51f8541cae1f40a5d4c3e69e2e7be8..342f4f2686b6cbe201d03facaafcc900259e7bbc 100644 --- a/src/thermophysicalModels/solidChemistryModel/pyrolysisChemistryModel/pyrolysisChemistryModel.C +++ b/src/thermophysicalModels/solidChemistryModel/pyrolysisChemistryModel/pyrolysisChemistryModel.C @@ -25,6 +25,7 @@ License #include "pyrolysisChemistryModel.H" #include "solidReaction.H" +#include "basicThermo.H" // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // @@ -141,7 +142,7 @@ pyrolysisChemistryModel dictionary thermoDict = mesh.lookupObject<dictionary> ( - "thermophysicalProperties" + basicThermo::dictName ).subDict(pyrolisisGases_[gasI]); gasThermo_.set