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
ca11efa3
Commit
ca11efa3
authored
Feb 12, 2015
by
Henry
Browse files
TurbulenceModels/turbulenceModels/RAS/v2f: Name the Ts variable Ts
parent
edb5d92e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/TurbulenceModels/turbulenceModels/RAS/v2f/v2f.C
View file @
ca11efa3
...
...
@@ -297,12 +297,12 @@ void v2f<BasicTurbulenceModel>::correct()
const
volScalarField
S2
(
2
*
magSqr
(
dev
(
symm
(
gradU
))));
const
volScalarField
G
(
this
->
GName
(),
nut
*
S2
);
const
volScalarField
T
(
Ts
());
const
volScalarField
T
s
(
this
->
Ts
());
const
volScalarField
L2
(
type
()
+
":L2"
,
sqr
(
Ls
()));
const
volScalarField
v2fAlpha
(
type
()
+
":alpha"
,
1
.
0
/
T
*
((
C1_
-
N
)
*
v2_
-
2
.
0
/
3
.
0
*
k_
*
(
C1_
-
1
.
0
))
1
.
0
/
T
s
*
((
C1_
-
N
)
*
v2_
-
2
.
0
/
3
.
0
*
k_
*
(
C1_
-
1
.
0
))
);
const
volScalarField
Ceps1
...
...
@@ -321,9 +321,9 @@ void v2f<BasicTurbulenceModel>::correct()
+
fvm
::
div
(
alphaRhoPhi
,
epsilon_
)
-
fvm
::
laplacian
(
alpha
*
rho
*
DepsilonEff
(),
epsilon_
)
==
Ceps1
*
alpha
*
rho
*
G
/
T
Ceps1
*
alpha
*
rho
*
G
/
T
s
-
fvm
::
SuSp
(((
2
.
0
/
3
.
0
)
*
Ceps1
+
Ceps3_
)
*
alpha
*
rho
*
divU
,
epsilon_
)
-
fvm
::
Sp
(
Ceps2_
*
alpha
*
rho
/
T
,
epsilon_
)
-
fvm
::
Sp
(
Ceps2_
*
alpha
*
rho
/
T
s
,
epsilon_
)
);
epsEqn
().
relax
();
...
...
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