Skip to content
Snippets Groups Projects
Commit da0f1c45 authored by andy's avatar andy
Browse files

ENH: Introduced filed sources to remaining ico SIMPLE solvers

parent 140ece3b
Branches
Tags
No related merge requests found
Showing
with 19 additions and 4 deletions
......@@ -35,6 +35,7 @@ Description
#include "RASModel.H"
#include "MRFZones.H"
#include "simpleControl.H"
#include "IObasicSourceList.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
......@@ -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
......@@ -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));
......@@ -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 \
......
......@@ -35,6 +35,7 @@ Description
#include "RASModel.H"
#include "SRFModel.H"
#include "simpleControl.H"
#include "IObasicSourceList.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
......@@ -7,6 +7,8 @@
+ SRF->Su()
);
sources.apply(UrelEqn());
UrelEqn().relax();
solve(UrelEqn() == -fvc::grad(p));
......@@ -56,3 +56,5 @@
(
SRF::SRFModel::New(Urel)
);
IObasicSourceList sources(mesh);
......@@ -6,6 +6,8 @@
+ turbulence->divDevReff(U)
);
sources.apply(UEqn());
UEqn().relax();
// Include the porous media resistance and solve the momentum equation
......
......@@ -35,6 +35,7 @@ Description
#include "RASModel.H"
#include "porousZones.H"
#include "simpleControl.H"
#include "IObasicSourceList.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment