Skip to content
Snippets Groups Projects
Commit 0c33cbc9 authored by Sergio Ferraris's avatar Sergio Ferraris
Browse files

BUG: Fixing bug in map distribute to thermalBaffle1DFvPatchScalarField

parent dc9f4c77
Branches
Tags
No related merge requests found
......@@ -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);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment