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
da0f1c45
Commit
da0f1c45
authored
Nov 02, 2011
by
andy
Browse files
ENH: Introduced filed sources to remaining ico SIMPLE solvers
parent
140ece3b
Changes
9
Hide whitespace changes
Inline
Side-by-side
applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/MRFSimpleFoam.C
View file @
da0f1c45
...
...
@@ -35,6 +35,7 @@ Description
#include
"RASModel.H"
#include
"MRFZones.H"
#include
"simpleControl.H"
#include
"IObasicSourceList.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/Make/options
View file @
da0f1c45
...
...
@@ -4,9 +4,11 @@ EXE_INC = \
-I$(LIB_SRC)/turbulenceModels/incompressible/RAS/RASModel \
-I$(LIB_SRC)/transportModels \
-I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \
-I$(LIB_SRC)/finiteVolume/lnInclude
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude
EXE_LIBS = \
-lincompressibleRASModels \
-lincompressibleTransportModels \
-lfiniteVolume
-lfiniteVolume \
-lmeshTools
applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/UEqn.H
View file @
da0f1c45
...
...
@@ -3,10 +3,13 @@
tmp
<
fvVectorMatrix
>
UEqn
(
fvm
::
div
(
phi
,
U
)
+
turbulence
->
divDevReff
(
U
)
+
turbulence
->
divDevReff
(
U
)
);
mrfZones
.
addCoriolis
(
UEqn
());
sources
.
apply
(
UEqn
());
UEqn
().
relax
();
solve
(
UEqn
()
==
-
fvc
::
grad
(
p
));
applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/Make/options
View file @
da0f1c45
...
...
@@ -4,7 +4,8 @@ EXE_INC = \
-I$(LIB_SRC)/turbulenceModels \
-I$(LIB_SRC)/turbulenceModels/incompressible/RAS/RASModel \
-I$(LIB_SRC)/transportModels \
-I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel
-I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \
-I$(LIB_SRC)/meshTools/lnInclude
EXE_LIBS = \
-lincompressibleRASModels \
...
...
applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/SRFSimpleFoam.C
View file @
da0f1c45
...
...
@@ -35,6 +35,7 @@ Description
#include
"RASModel.H"
#include
"SRFModel.H"
#include
"simpleControl.H"
#include
"IObasicSourceList.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/UrelEqn.H
View file @
da0f1c45
...
...
@@ -7,6 +7,8 @@
+
SRF
->
Su
()
);
sources
.
apply
(
UrelEqn
());
UrelEqn
().
relax
();
solve
(
UrelEqn
()
==
-
fvc
::
grad
(
p
));
applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/createFields.H
View file @
da0f1c45
...
...
@@ -56,3 +56,5 @@
(
SRF
::
SRFModel
::
New
(
Urel
)
);
IObasicSourceList
sources
(
mesh
);
applications/solvers/incompressible/simpleFoam/porousSimpleFoam/UEqn.H
View file @
da0f1c45
...
...
@@ -6,6 +6,8 @@
+
turbulence
->
divDevReff
(
U
)
);
sources
.
apply
(
UEqn
());
UEqn
().
relax
();
// Include the porous media resistance and solve the momentum equation
...
...
applications/solvers/incompressible/simpleFoam/porousSimpleFoam/porousSimpleFoam.C
View file @
da0f1c45
...
...
@@ -35,6 +35,7 @@ Description
#include
"RASModel.H"
#include
"porousZones.H"
#include
"simpleControl.H"
#include
"IObasicSourceList.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
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