Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
0c33cbc9
Commit
0c33cbc9
authored
Nov 14, 2013
by
Sergio Ferraris
Browse files
BUG: Fixing bug in map distribute to thermalBaffle1DFvPatchScalarField
parent
dc9f4c77
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.C
View file @
0c33cbc9
...
...
@@ -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
fvPatchS
calarField
&
nbrTp
=
s
calarField
nbrTp
=
turbModel
.
thermo
().
T
().
boundaryField
()[
nbrPatchi
];
mapDist
.
distribute
(
nbrTp
);
// solid properties
scalarField
kappas
(
patch
().
size
(),
0
.
0
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment