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

ENH: added fields sources to simpleFoam

parent cddb8bd8
Branches
Tags
No related merge requests found
......@@ -3,10 +3,12 @@ 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 = \
-lincompressibleTurbulenceModel \
-lincompressibleRASModels \
-lincompressibleTransportModels \
-lfiniteVolume
-lfiniteVolume \
-lmeshTools
......@@ -6,6 +6,8 @@
+ turbulence->divDevReff(U)
);
sources.apply(UEqn());
UEqn().relax();
solve(UEqn() == -fvc::grad(p));
......@@ -39,3 +39,5 @@
(
incompressible::RASModel::New(U, phi, laminarTransport)
);
IObasicSourceList sources(mesh);
......@@ -33,6 +33,7 @@ Description
#include "singlePhaseTransportModel.H"
#include "RASModel.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