diff --git a/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.C b/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.C index 48ef62ee19..28fa0b20e7 100644 --- a/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.C +++ b/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.C @@ -84,7 +84,7 @@ Foam::ThermoCloud::ThermoCloud false ), this->mesh(), - dimensionedScalar("zero", dimensionSet(1, 2, -2, 0, 0), 0.0) + dimensionedScalar("zero", dimEnergy, 0.0) ), hcTrans_ ( @@ -98,7 +98,7 @@ Foam::ThermoCloud::ThermoCloud false ), this->mesh(), - dimensionedScalar("zero", dimensionSet(1, 2, -2, 0, 0), 0.0) + dimensionedScalar("zero", dimEnergy, 0.0) ) { if (readFields)