mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Fixing bug in map distribute to thermalBaffle1DFvPatchScalarField
This commit is contained in:
@ -317,6 +317,8 @@ void thermalBaffle1DFvPatchScalarField<solidType>::updateCoeffs()
|
|||||||
int oldTag = UPstream::msgType();
|
int oldTag = UPstream::msgType();
|
||||||
UPstream::msgType() = oldTag+1;
|
UPstream::msgType() = oldTag+1;
|
||||||
|
|
||||||
|
const mapDistribute& mapDist = this->mappedPatchBase::map();
|
||||||
|
|
||||||
const label patchi = patch().index();
|
const label patchi = patch().index();
|
||||||
|
|
||||||
const label nbrPatchi = samplePolyPatch().index();
|
const label nbrPatchi = samplePolyPatch().index();
|
||||||
@ -354,8 +356,9 @@ void thermalBaffle1DFvPatchScalarField<solidType>::updateCoeffs()
|
|||||||
scalarField myKDelta(patch().deltaCoeffs()*kappaw);
|
scalarField myKDelta(patch().deltaCoeffs()*kappaw);
|
||||||
|
|
||||||
// nrb properties
|
// nrb properties
|
||||||
const fvPatchScalarField& nbrTp =
|
scalarField nbrTp =
|
||||||
turbModel.thermo().T().boundaryField()[nbrPatchi];
|
turbModel.thermo().T().boundaryField()[nbrPatchi];
|
||||||
|
mapDist.distribute(nbrTp);
|
||||||
|
|
||||||
// solid properties
|
// solid properties
|
||||||
scalarField kappas(patch().size(), 0.0);
|
scalarField kappas(patch().size(), 0.0);
|
||||||
|
|||||||
Reference in New Issue
Block a user