mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
updating to new turbulence framework and injection specifications
This commit is contained in:
@ -6,7 +6,7 @@ EXE_INC = \
|
|||||||
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/combustion/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/combustion/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/radiation/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/radiation/lnInclude \
|
||||||
-I$(LIB_SRC)/turbulenceModels/RAS
|
-I$(LIB_SRC)/turbulenceModels/compressible/turbulenceModel \
|
||||||
|
|
||||||
EXE_LIBS = \
|
EXE_LIBS = \
|
||||||
-llagrangian \
|
-llagrangian \
|
||||||
@ -18,4 +18,5 @@ EXE_LIBS = \
|
|||||||
-lcombustionThermophysicalModels \
|
-lcombustionThermophysicalModels \
|
||||||
-lspecie \
|
-lspecie \
|
||||||
-lradiation \
|
-lradiation \
|
||||||
-lcompressibleRASModels
|
-lcompressibleRASModels \
|
||||||
|
-lcompressibleLESModels
|
||||||
|
|||||||
@ -41,18 +41,11 @@
|
|||||||
|
|
||||||
|
|
||||||
Info<< "Creating turbulence model\n" << endl;
|
Info<< "Creating turbulence model\n" << endl;
|
||||||
autoPtr<compressible::RASModel> turbulence
|
autoPtr<compressible::turbulenceModel> turbulence
|
||||||
(
|
(
|
||||||
compressible::RASModel::New
|
compressible::turbulenceModel::New(rho, U, phi, thermo())
|
||||||
(
|
|
||||||
rho,
|
|
||||||
U,
|
|
||||||
phi,
|
|
||||||
thermo()
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
Info<< "Creating field DpDt\n" << endl;
|
Info<< "Creating field DpDt\n" << endl;
|
||||||
volScalarField DpDt =
|
volScalarField DpDt =
|
||||||
fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p);
|
fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p);
|
||||||
|
|||||||
@ -32,7 +32,7 @@ Description
|
|||||||
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "basicThermo.H"
|
#include "basicThermo.H"
|
||||||
#include "compressible/RASModel/RASModel.H"
|
#include "turbulenceModel.H"
|
||||||
|
|
||||||
#include "basicThermoCloud.H"
|
#include "basicThermoCloud.H"
|
||||||
#include "basicKinematicCloud.H"
|
#include "basicKinematicCloud.H"
|
||||||
|
|||||||
@ -20,12 +20,6 @@ DragModel SphereDrag;
|
|||||||
DispersionModel StochasticDispersionRAS;
|
DispersionModel StochasticDispersionRAS;
|
||||||
WallInteractionModel StandardWallInteraction;
|
WallInteractionModel StandardWallInteraction;
|
||||||
|
|
||||||
// Parcel basis type
|
|
||||||
parcelBasisType mass;
|
|
||||||
|
|
||||||
// Total mass to inject
|
|
||||||
massTotal massTotal [ 1 0 0 0 0] 2.0e-4;
|
|
||||||
|
|
||||||
// Minimum particle mass
|
// Minimum particle mass
|
||||||
minParticleMass minParticleMass [ 1 0 0 0 0] 1.0e-15;
|
minParticleMass minParticleMass [ 1 0 0 0 0] 1.0e-15;
|
||||||
|
|
||||||
@ -52,6 +46,12 @@ integrationSchemes
|
|||||||
|
|
||||||
ManualInjectionCoeffs
|
ManualInjectionCoeffs
|
||||||
{
|
{
|
||||||
|
// Parcel basis type
|
||||||
|
parcelBasisType mass;
|
||||||
|
|
||||||
|
// Total mass to inject
|
||||||
|
massTotal massTotal [ 1 0 0 0 0] 2.0e-4;
|
||||||
|
|
||||||
SOI 0.0;
|
SOI 0.0;
|
||||||
positionsFile kinematicCloud1Positions;
|
positionsFile kinematicCloud1Positions;
|
||||||
U0 (0 0 0);
|
U0 (0 0 0);
|
||||||
|
|||||||
@ -23,12 +23,6 @@ HeatTransferModel RanzMarshall;
|
|||||||
|
|
||||||
radiation off;
|
radiation off;
|
||||||
|
|
||||||
// Parcel basis type
|
|
||||||
parcelBasisType mass;
|
|
||||||
|
|
||||||
// Total mass to inject
|
|
||||||
massTotal massTotal [ 1 0 0 0 0] 1e-4;
|
|
||||||
|
|
||||||
// Minimum particle mass
|
// Minimum particle mass
|
||||||
minParticleMass minParticleMass [ 1 0 0 0 0] 1.0e-15;
|
minParticleMass minParticleMass [ 1 0 0 0 0] 1.0e-15;
|
||||||
|
|
||||||
@ -62,6 +56,12 @@ integrationSchemes
|
|||||||
|
|
||||||
ManualInjectionCoeffs
|
ManualInjectionCoeffs
|
||||||
{
|
{
|
||||||
|
// Total mass to inject
|
||||||
|
massTotal massTotal [ 1 0 0 0 0] 1e-4;
|
||||||
|
|
||||||
|
// Parcel basis type
|
||||||
|
parcelBasisType mass;
|
||||||
|
|
||||||
SOI 0.0;
|
SOI 0.0;
|
||||||
positionsFile thermoCloud1Positions;
|
positionsFile thermoCloud1Positions;
|
||||||
U0 (0 0 0);
|
U0 (0 0 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user