Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
4b3c77ca
Commit
4b3c77ca
authored
Feb 10, 2015
by
Henry
Browse files
LESModel and RASModel: Call read for immediate base-class rather than for the turbulenceModel class
parent
732cd388
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/TurbulenceModels/turbulenceModels/LES/LESModel/LESModel.C
View file @
4b3c77ca
...
...
@@ -165,7 +165,7 @@ Foam::LESModel<BasicTurbulenceModel>::New
template
<
class
BasicTurbulenceModel
>
bool
Foam
::
LESModel
<
BasicTurbulenceModel
>::
read
()
{
if
(
t
urbulenceModel
::
read
())
if
(
BasicT
urbulenceModel
::
read
())
{
LESDict_
<<=
this
->
subDict
(
"LES"
);
LESDict_
.
lookup
(
"turbulence"
)
>>
turbulence_
;
...
...
src/TurbulenceModels/turbulenceModels/RAS/RASModel/RASModel.C
View file @
4b3c77ca
...
...
@@ -177,7 +177,7 @@ Foam::RASModel<BasicTurbulenceModel>::New
template
<
class
BasicTurbulenceModel
>
bool
Foam
::
RASModel
<
BasicTurbulenceModel
>::
read
()
{
if
(
t
urbulenceModel
::
read
())
if
(
BasicT
urbulenceModel
::
read
())
{
RASDict_
<<=
this
->
subDict
(
"RAS"
);
RASDict_
.
lookup
(
"turbulence"
)
>>
turbulence_
;
...
...
Write
Preview
Markdown
is supported
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