ENH: Introduced filed sources to ico PIMPLE solvers

This commit is contained in:
andy
2011-11-02 17:21:14 +00:00
parent 91a06ef598
commit 54e4f9f00b
9 changed files with 18 additions and 2 deletions

View File

@ -2,7 +2,8 @@ EXE_INC = \
-I$(LIB_SRC)/turbulenceModels/incompressible/turbulenceModel \
-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 = \
-lincompressibleTransportModels \

View File

@ -2,7 +2,8 @@ EXE_INC = \
-I$(LIB_SRC)/turbulenceModels/incompressible/turbulenceModel \
-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 = \
-lincompressibleTransportModels \

View File

@ -37,6 +37,7 @@ Description
#include "turbulenceModel.H"
#include "pimpleControl.H"
#include "SRFModel.H"
#include "IObasicSourceList.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -70,3 +70,6 @@ volVectorField U
),
Urel + SRF->U()
);
IObasicSourceList sources(mesh);

View File

@ -7,6 +7,8 @@ tmp<fvVectorMatrix> UEqn
+ turbulence->divDevReff(U)
);
sources.apply(UEqn());
UEqn().relax();
volScalarField rAU(1.0/UEqn().A());

View File

@ -40,3 +40,6 @@ autoPtr<incompressible::turbulenceModel> turbulence
(
incompressible::turbulenceModel::New(U, phi, laminarTransport)
);
IObasicSourceList sources(mesh);

View File

@ -56,3 +56,6 @@
runTime.deltaT(),
zeroGradientFvPatchScalarField::typeName
);
IObasicSourceList sources(mesh);

View File

@ -37,6 +37,7 @@ Description
#include "turbulenceModel.H"
#include "dynamicFvMesh.H"
#include "pimpleControl.H"
#include "IObasicSourceList.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -36,6 +36,7 @@ Description
#include "singlePhaseTransportModel.H"
#include "turbulenceModel.H"
#include "pimpleControl.H"
#include "IObasicSourceList.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //