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
fa22d2c4
Commit
fa22d2c4
authored
Jun 20, 2008
by
Andrew Heather
Committed by
graham
Jun 20, 2008
Browse files
updated to reflect changes in turbulence models
parent
6d0ba10a
Changes
19
Hide whitespace changes
Inline
Side-by-side
applications/utilities/postProcessing/turbulence/R/Make/options
View file @
fa22d2c4
...
...
@@ -5,6 +5,6 @@ EXE_INC = \
EXE_LIBS = \
-lfiniteVolume \
-lincompressibleRAS
m
odels \
-lincompressibleRAS
M
odels \
-lincompressibleTransportModels \
-lfiniteVolume
applications/utilities/postProcessing/turbulence/R/R.C
View file @
fa22d2c4
...
...
@@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Application
R
R
Description
Calculates and writes the Reynolds stress R for the current time step.
...
...
@@ -32,7 +32,7 @@ Description
#include
"fvCFD.H"
#include
"incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H"
#include
"incompressible/RAS
m
odel/RAS
m
odel.H"
#include
"incompressible/RAS
M
odel/RAS
M
odel.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -60,7 +60,7 @@ int main(int argc, char *argv[])
IOobject
::
NO_READ
,
IOobject
::
AUTO_WRITE
),
turbulence
->
R
()
RASModel
->
R
()
);
R
.
write
();
...
...
applications/utilities/postProcessing/turbulence/R/createFields.H
View file @
fa22d2c4
...
...
@@ -16,7 +16,7 @@
singlePhaseTransportModel
laminarTransport
(
U
,
phi
);
autoPtr
<
incompressible
::
RAS
m
odel
>
turbulence
autoPtr
<
incompressible
::
RAS
M
odel
>
RASModel
(
incompressible
::
RAS
m
odel
::
New
(
U
,
phi
,
laminarTransport
)
incompressible
::
RAS
M
odel
::
New
(
U
,
phi
,
laminarTransport
)
);
applications/utilities/postProcessing/turbulence/createTurbulenceFields/Make/options
View file @
fa22d2c4
...
...
@@ -5,5 +5,5 @@ EXE_INC = \
EXE_LIBS = \
-lfiniteVolume \
-lincompressibleRAS
m
odels \
-lincompressibleRAS
M
odels \
-lincompressibleTransportModels
applications/utilities/postProcessing/turbulence/createTurbulenceFields/createFields.H
View file @
fa22d2c4
...
...
@@ -16,7 +16,7 @@
singlePhaseTransportModel
laminarTransport
(
U
,
phi
);
autoPtr
<
incompressible
::
RAS
m
odel
>
turbulence
autoPtr
<
incompressible
::
RAS
M
odel
>
RASModel
(
incompressible
::
RAS
m
odel
::
New
(
U
,
phi
,
laminarTransport
)
incompressible
::
RAS
M
odel
::
New
(
U
,
phi
,
laminarTransport
)
);
applications/utilities/postProcessing/turbulence/createTurbulenceFields/createTurbulenceFields.C
View file @
fa22d2c4
...
...
@@ -36,7 +36,7 @@ Source files:
#include
"fvCFD.H"
#include
"incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H"
#include
"incompressible/RAS
m
odel/RAS
m
odel.H"
#include
"incompressible/RAS
M
odel/RAS
M
odel.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -68,13 +68,13 @@ int main(int argc, char *argv[])
// Cache the turbulence fields
Info
<<
"
\n
Retrieving field k from turbulence model"
<<
endl
;
const
volScalarField
k
=
turbulence
->
k
();
const
volScalarField
k
=
RASModel
->
k
();
Info
<<
"
\n
Retrieving field epsilon from turbulence model"
<<
endl
;
const
volScalarField
epsilon
=
turbulence
->
epsilon
();
const
volScalarField
epsilon
=
RASModel
->
epsilon
();
Info
<<
"
\n
Retrieving field R from turbulence model"
<<
endl
;
const
volSymmTensorField
R
=
turbulence
->
R
();
const
volSymmTensorField
R
=
RASModel
->
R
();
// Check availability of tubulence fields
...
...
applications/utilities/postProcessing/wall/wallGradU/Make/options
View file @
fa22d2c4
EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/turbulenceModels/RAS \
-I$(LIB_SRC)/transportModels
-I$(LIB_SRC)/finiteVolume/lnInclude
EXE_LIBS = \
-lincompressibleRASmodels \
-lincompressibleTransportModels \
-lfiniteVolume
applications/utilities/postProcessing/wall/wallGradU/wallGradU.C
View file @
fa22d2c4
...
...
@@ -31,7 +31,6 @@ Description
\*---------------------------------------------------------------------------*/
#include
"fvCFD.H"
#include
"incompressible/RASmodel/RASmodel.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
applications/utilities/postProcessing/wall/wallHeatFlux/Make/options
View file @
fa22d2c4
...
...
@@ -6,7 +6,7 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude
EXE_LIBS = \
-lcompressibleRAS
m
odels \
-lcompressibleRAS
M
odels \
-lcombustionThermophysicalModels \
-lfiniteVolume \
-lspecie \
...
...
applications/utilities/postProcessing/wall/wallHeatFlux/createFields.H
View file @
fa22d2c4
...
...
@@ -31,9 +31,9 @@ volVectorField U
#include
"compressibleCreatePhi.H"
autoPtr
<
compressible
::
RAS
m
odel
>
turbulence
autoPtr
<
compressible
::
RAS
M
odel
>
RASModel
(
compressible
::
RAS
m
odel
::
New
compressible
::
RAS
M
odel
::
New
(
rho
,
U
,
...
...
applications/utilities/postProcessing/wall/wallHeatFlux/wallHeatFlux.C
View file @
fa22d2c4
...
...
@@ -34,7 +34,7 @@ Description
#include
"fvCFD.H"
#include
"hCombustionThermo.H"
#include
"compressible/RAS
m
odel/RAS
m
odel.H"
#include
"compressible/RAS
M
odel/RAS
M
odel.H"
#include
"wallFvPatch.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -56,7 +56,7 @@ int main(int argc, char *argv[])
# include "createFields.H"
surfaceScalarField
heatFlux
=
fvc
::
interpolate
(
turbulence
->
alphaEff
())
*
fvc
::
snGrad
(
h
);
fvc
::
interpolate
(
RASModel
->
alphaEff
())
*
fvc
::
snGrad
(
h
);
const
surfaceScalarField
::
GeometricBoundaryField
&
patchHeatFlux
=
heatFlux
.
boundaryField
();
...
...
applications/utilities/postProcessing/wall/wallShearStress/Make/options
View file @
fa22d2c4
...
...
@@ -4,6 +4,6 @@ EXE_INC = \
-I$(LIB_SRC)/transportModels
EXE_LIBS = \
-lincompressibleRAS
m
odels \
-lincompressibleRAS
M
odels \
-lincompressibleTransportModels \
-lfiniteVolume
applications/utilities/postProcessing/wall/wallShearStress/createFields.H
View file @
fa22d2c4
...
...
@@ -16,7 +16,7 @@
singlePhaseTransportModel
laminarTransport
(
U
,
phi
);
autoPtr
<
incompressible
::
RAS
m
odel
>
turbulence
autoPtr
<
incompressible
::
RAS
M
odel
>
RASModel
(
incompressible
::
RAS
m
odel
::
New
(
U
,
phi
,
laminarTransport
)
incompressible
::
RAS
M
odel
::
New
(
U
,
phi
,
laminarTransport
)
);
applications/utilities/postProcessing/wall/wallShearStress/wallShearStress.C
View file @
fa22d2c4
...
...
@@ -32,7 +32,7 @@ Description
#include
"fvCFD.H"
#include
"incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H"
#include
"incompressible/RAS
m
odel/RAS
m
odel.H"
#include
"incompressible/RAS
M
odel/RAS
M
odel.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -52,7 +52,7 @@ int main(int argc, char *argv[])
# include "createFields.H"
volSymmTensorField
Reff
(
turbulence
->
devReff
());
volSymmTensorField
Reff
(
RASModel
->
devReff
());
volVectorField
wallShearStress
(
...
...
applications/utilities/postProcessing/wall/yPlusLES/Make/options
View file @
fa22d2c4
...
...
@@ -5,6 +5,6 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude
EXE_LIBS = \
-lincompressibleLES
m
odels \
-lincompressibleLES
M
odels \
-lincompressibleTransportModels \
-lfiniteVolume
applications/utilities/postProcessing/wall/yPlusLES/createFields.H
View file @
fa22d2c4
...
...
@@ -16,9 +16,9 @@ volVectorField U
singlePhaseTransportModel
laminarTransport
(
U
,
phi
);
autoPtr
<
incompressible
::
LES
m
odel
>
sgsModel
autoPtr
<
incompressible
::
LES
M
odel
>
sgsModel
(
incompressible
::
LES
m
odel
::
New
(
U
,
phi
,
laminarTransport
)
incompressible
::
LES
M
odel
::
New
(
U
,
phi
,
laminarTransport
)
);
volScalarField
::
GeometricBoundaryField
d
=
nearWallDist
(
mesh
).
y
();
applications/utilities/postProcessing/wall/yPlusLES/yPlusLES.C
View file @
fa22d2c4
...
...
@@ -32,7 +32,7 @@ Description
#include
"fvCFD.H"
#include
"incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H"
#include
"incompressible/LES
m
odel/LES
m
odel.H"
#include
"incompressible/LES
M
odel/LES
M
odel.H"
#include
"nearWallDist.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -83,9 +83,9 @@ int main(int argc, char *argv[])
singlePhaseTransportModel
laminarTransport
(
U
,
phi
);
autoPtr
<
incompressible
::
LES
m
odel
>
sgsModel
autoPtr
<
incompressible
::
LES
M
odel
>
sgsModel
(
incompressible
::
LES
m
odel
::
New
(
U
,
phi
,
laminarTransport
)
incompressible
::
LES
M
odel
::
New
(
U
,
phi
,
laminarTransport
)
);
volScalarField
::
GeometricBoundaryField
d
=
nearWallDist
(
mesh
).
y
();
...
...
applications/utilities/postProcessing/wall/yPlusRAS/Make/options
View file @
fa22d2c4
...
...
@@ -4,6 +4,6 @@ EXE_INC = \
-I$(LIB_SRC)/transportModels
EXE_LIBS = \
-lincompressibleRAS
m
odels \
-lincompressibleRAS
M
odels \
-lincompressibleTransportModels \
-lfiniteVolume
applications/utilities/postProcessing/wall/yPlusRAS/yPlusRAS.C
View file @
fa22d2c4
...
...
@@ -32,7 +32,7 @@ Description
#include
"fvCFD.H"
#include
"incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H"
#include
"incompressible/RAS
m
odel/RAS
m
odel.H"
#include
"incompressible/RAS
M
odel/RAS
M
odel.H"
#include
"wallFvPatch.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -83,9 +83,9 @@ int main(int argc, char *argv[])
singlePhaseTransportModel
laminarTransport
(
U
,
phi
);
autoPtr
<
incompressible
::
RAS
m
odel
>
turbulence
autoPtr
<
incompressible
::
RAS
M
odel
>
RASModel
(
incompressible
::
RAS
m
odel
::
New
(
U
,
phi
,
laminarTransport
)
incompressible
::
RAS
M
odel
::
New
(
U
,
phi
,
laminarTransport
)
);
const
fvPatchList
&
patches
=
mesh
.
boundary
();
...
...
@@ -96,7 +96,7 @@ int main(int argc, char *argv[])
if
(
typeid
(
currPatch
)
==
typeid
(
wallFvPatch
))
{
yPlus
.
boundaryField
()[
patchi
]
=
turbulence
->
yPlus
(
patchi
);
yPlus
.
boundaryField
()[
patchi
]
=
RASModel
->
yPlus
(
patchi
);
const
scalarField
&
Yp
=
yPlus
.
boundaryField
()[
patchi
];
Info
<<
"Patch "
<<
patchi
...
...
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