diff --git a/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.C b/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.C index adc14b03ebc8e421d4966c8301bdc9b1c68dfb2b..45565764ef2a8be0e8b8b98c835b0329250f9b5e 100644 --- a/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.C +++ b/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.C @@ -317,6 +317,8 @@ void thermalBaffle1DFvPatchScalarField<solidType>::updateCoeffs() int oldTag = UPstream::msgType(); UPstream::msgType() = oldTag+1; + const mapDistribute& mapDist = this->mappedPatchBase::map(); + const label patchi = patch().index(); const label nbrPatchi = samplePolyPatch().index(); @@ -354,8 +356,9 @@ void thermalBaffle1DFvPatchScalarField<solidType>::updateCoeffs() scalarField myKDelta(patch().deltaCoeffs()*kappaw); // nrb properties - const fvPatchScalarField& nbrTp = + scalarField nbrTp = turbModel.thermo().T().boundaryField()[nbrPatchi]; + mapDist.distribute(nbrTp); // solid properties scalarField kappas(patch().size(), 0.0);