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
09970cc0
Commit
09970cc0
authored
Mar 29, 2010
by
Mark Olesen
Browse files
ENH: read dictionary values for kMin, epsilonMin, omegaMin on construct.
parent
fa47947f
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/turbulenceModels/compressible/LES/LESModel/LESModel.C
View file @
09970cc0
...
...
@@ -83,7 +83,7 @@ LESModel::LESModel
delta_
(
LESdelta
::
New
(
"delta"
,
U
.
mesh
(),
*
this
))
{
readIfPresent
(
"kMin"
,
kMin_
);
kMin_
.
readIfPresent
(
*
this
);
// Force the construction of the mesh deltaCoeffs which may be needed
// for the construction of the derived models and BCs
...
...
src/turbulenceModels/compressible/RAS/RASModel/RASModel.C
View file @
09970cc0
...
...
@@ -87,6 +87,10 @@ RASModel::RASModel
y_
(
mesh_
)
{
kMin_
.
readIfPresent
(
*
this
);
epsilonMin_
.
readIfPresent
(
*
this
);
omegaMin_
.
readIfPresent
(
*
this
);
// Force the construction of the mesh deltaCoeffs which may be needed
// for the construction of the derived models and BCs
mesh_
.
deltaCoeffs
();
...
...
src/turbulenceModels/incompressible/LES/LESModel/LESModel.C
View file @
09970cc0
...
...
@@ -81,7 +81,7 @@ LESModel::LESModel
kMin_
(
"kMin"
,
sqr
(
dimVelocity
),
SMALL
),
delta_
(
LESdelta
::
New
(
"delta"
,
U
.
mesh
(),
*
this
))
{
readIfPresent
(
"kMin"
,
kMin_
);
kMin_
.
readIfPresent
(
*
this
);
// Force the construction of the mesh deltaCoeffs which may be needed
// for the construction of the derived models and BCs
...
...
src/turbulenceModels/incompressible/LES/kOmegaSSTSAS/kOmegaSSTSAS.C
View file @
09970cc0
...
...
@@ -323,6 +323,8 @@ kOmegaSSTSAS::kOmegaSSTSAS
mesh_
)
{
omegaMin_
.
readIfPresent
(
*
this
);
bound
(
k_
,
kMin_
);
bound
(
omega_
,
omegaMin_
);
...
...
@@ -458,6 +460,8 @@ bool kOmegaSSTSAS::read()
zetaTilda2_
.
readIfPresent
(
coeffDict
());
FSAS_
.
readIfPresent
(
coeffDict
());
omegaMin_
.
readIfPresent
(
*
this
);
return
true
;
}
else
...
...
src/turbulenceModels/incompressible/RAS/RASModel/RASModel.C
View file @
09970cc0
...
...
@@ -86,6 +86,10 @@ RASModel::RASModel
y_
(
mesh_
)
{
kMin_
.
readIfPresent
(
*
this
);
epsilonMin_
.
readIfPresent
(
*
this
);
omegaMin_
.
readIfPresent
(
*
this
);
// Force the construction of the mesh deltaCoeffs which may be needed
// for the construction of the derived models and BCs
mesh_
.
deltaCoeffs
();
...
...
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