Skip to content
GitLab
Menu
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
089ca1a6
Commit
089ca1a6
authored
Aug 30, 2018
by
sergio
Browse files
BUG: Init refCell to -1 instead of 0 for multi regions
parent
a8e3f067
Changes
2
Hide whitespace changes
Inline
Side-by-side
applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionSimpleFoam/fluid/createFluidFields.H
View file @
089ca1a6
...
...
@@ -12,7 +12,7 @@ PtrList<volScalarField> p_rghFluid(fluidRegions.size());
PtrList
<
radiation
::
radiationModel
>
radiation
(
fluidRegions
.
size
());
List
<
scalar
>
initialMassFluid
(
fluidRegions
.
size
());
List
<
label
>
pRefCellFluid
(
fluidRegions
.
size
(),
0
);
List
<
label
>
pRefCellFluid
(
fluidRegions
.
size
(),
-
1
);
List
<
scalar
>
pRefValueFluid
(
fluidRegions
.
size
(),
0
.
0
);
List
<
bool
>
frozenFlowFluid
(
fluidRegions
.
size
(),
false
);
...
...
applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/createFluidFields.H
View file @
089ca1a6
...
...
@@ -289,7 +289,7 @@ forAll(fluidRegions, i)
turbulenceFluid
[
i
].
validate
();
pRefCellFluid
[
i
]
=
0
;
pRefCellFluid
[
i
]
=
-
1
;
pRefValueFluid
[
i
]
=
0
.
0
;
if
(
p_rghFluid
[
i
].
needReference
())
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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