diff --git a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.C b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.C index caef418099..fe8fb58808 100644 --- a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.C +++ b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.C @@ -55,7 +55,7 @@ thermalBaffle1DFvPatchScalarField solidDict_(), solidPtr_(NULL), QrPrevious_(p.size()), - QrRelaxation_(0), + QrRelaxation_(1), QrName_("undefined-Qr") {} @@ -102,7 +102,7 @@ thermalBaffle1DFvPatchScalarField solidDict_(dict), solidPtr_(), QrPrevious_(p.size(), 0.0), - QrRelaxation_(dict.lookupOrDefault("relaxation", 0)), + QrRelaxation_(dict.lookupOrDefault("relaxation", 1)), QrName_(dict.lookupOrDefault("Qr", "none")) { fvPatchScalarField::operator=(scalarField("value", dict, p.size())); @@ -439,7 +439,7 @@ void thermalBaffle1DFvPatchScalarField::write(Ostream& os) const QrPrevious_.writeEntry("QrPrevious", os); os.writeKeyword("Qr")<< QrName_ << token::END_STATEMENT << nl; - os.writeKeyword("QrRelaxation")<< QrRelaxation_ + os.writeKeyword("relaxation")<< QrRelaxation_ << token::END_STATEMENT << nl; } diff --git a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.H b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.H index 4df0d43820..f3c84cb4b5 100644 --- a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.H +++ b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.H @@ -50,7 +50,7 @@ Description Qs uniform 100; // heat flux [W/m2] Qr none; - relaxation 0; + relaxation 1; // Solid thermo specie @@ -81,7 +81,7 @@ Description samplePatch myPatch_master_master; Qr none; - relaxation 0; + relaxation 1; } \endverbatim @@ -136,7 +136,7 @@ class thermalBaffle1DFvPatchScalarField //- Solid thermo mutable autoPtr solidPtr_; - //- Chache Qr for relaxation + //- Cache Qr for relaxation scalarField QrPrevious_; //- Relaxation for Qr