ENH: Encapsulated cloud sub-models in sub-dictionary

This commit is contained in:
andy
2010-10-18 16:06:47 +01:00
parent 8962878a1c
commit e54dae6db7
18 changed files with 875 additions and 842 deletions

View File

@ -257,6 +257,7 @@ Foam::KinematicCloud<ParcelType>::KinematicCloud
) )
), ),
constProps_(particleProperties_), constProps_(particleProperties_),
subModelProperties_(particleProperties_.subDict("subModels")),
active_(particleProperties_.lookup("active")), active_(particleProperties_.lookup("active")),
parcelTypeId_(readLabel(particleProperties_.lookup("parcelTypeId"))), parcelTypeId_(readLabel(particleProperties_.lookup("parcelTypeId"))),
coupled_(particleProperties_.lookup("coupled")), coupled_(particleProperties_.lookup("coupled")),
@ -276,7 +277,7 @@ Foam::KinematicCloud<ParcelType>::KinematicCloud
( (
DispersionModel<KinematicCloud<ParcelType> >::New DispersionModel<KinematicCloud<ParcelType> >::New
( (
particleProperties_, subModelProperties_,
*this *this
) )
), ),
@ -284,7 +285,7 @@ Foam::KinematicCloud<ParcelType>::KinematicCloud
( (
DragModel<KinematicCloud<ParcelType> >::New DragModel<KinematicCloud<ParcelType> >::New
( (
particleProperties_, subModelProperties_,
*this *this
) )
), ),
@ -292,7 +293,7 @@ Foam::KinematicCloud<ParcelType>::KinematicCloud
( (
InjectionModel<KinematicCloud<ParcelType> >::New InjectionModel<KinematicCloud<ParcelType> >::New
( (
particleProperties_, subModelProperties_,
*this *this
) )
), ),
@ -300,7 +301,7 @@ Foam::KinematicCloud<ParcelType>::KinematicCloud
( (
CollisionModel<KinematicCloud<ParcelType> >::New CollisionModel<KinematicCloud<ParcelType> >::New
( (
particleProperties_, subModelProperties_,
*this *this
) )
), ),
@ -308,7 +309,7 @@ Foam::KinematicCloud<ParcelType>::KinematicCloud
( (
PatchInteractionModel<KinematicCloud<ParcelType> >::New PatchInteractionModel<KinematicCloud<ParcelType> >::New
( (
particleProperties_, subModelProperties_,
*this *this
) )
), ),
@ -316,7 +317,7 @@ Foam::KinematicCloud<ParcelType>::KinematicCloud
( (
PostProcessingModel<KinematicCloud<ParcelType> >::New PostProcessingModel<KinematicCloud<ParcelType> >::New
( (
this->particleProperties_, subModelProperties_,
*this *this
) )
), ),
@ -324,7 +325,7 @@ Foam::KinematicCloud<ParcelType>::KinematicCloud
( (
SurfaceFilmModel<KinematicCloud<ParcelType> >::New SurfaceFilmModel<KinematicCloud<ParcelType> >::New
( (
this->particleProperties_, subModelProperties_,
*this, *this,
g g
) )

View File

@ -115,6 +115,9 @@ protected:
//- Dictionary of particle properties //- Dictionary of particle properties
IOdictionary particleProperties_; IOdictionary particleProperties_;
//- Sub-models dictionary
const dictionary& subModelProperties_;
//- Parcel constant properties //- Parcel constant properties
typename ParcelType::constantProperties constProps_; typename ParcelType::constantProperties constProps_;
@ -275,6 +278,9 @@ public:
//- Return particle properties dictionary //- Return particle properties dictionary
inline const IOdictionary& particleProperties() const; inline const IOdictionary& particleProperties() const;
//- Return reference to the sub-models dictionary
inline const dictionary& subModelProperties() const;
//- Return the constant properties //- Return the constant properties
inline const typename ParcelType::constantProperties& inline const typename ParcelType::constantProperties&
constProps() const; constProps() const;

View File

@ -56,6 +56,14 @@ Foam::KinematicCloud<ParcelType>::particleProperties() const
} }
template<class ParcelType>
inline const Foam::dictionary&
Foam::KinematicCloud<ParcelType>::subModelProperties() const
{
return subModelProperties_;
}
template<class ParcelType> template<class ParcelType>
inline const typename ParcelType::constantProperties& inline const typename ParcelType::constantProperties&
Foam::KinematicCloud<ParcelType>::constProps() const Foam::KinematicCloud<ParcelType>::constProps() const

View File

@ -183,7 +183,7 @@ Foam::ReactingCloud<ParcelType>::ReactingCloud
( (
CompositionModel<ReactingCloud<ParcelType> >::New CompositionModel<ReactingCloud<ParcelType> >::New
( (
this->particleProperties(), this->subModelProperties(),
*this *this
) )
), ),
@ -191,7 +191,7 @@ Foam::ReactingCloud<ParcelType>::ReactingCloud
( (
PhaseChangeModel<ReactingCloud<ParcelType> >::New PhaseChangeModel<ReactingCloud<ParcelType> >::New
( (
this->particleProperties(), this->subModelProperties(),
*this *this
) )
), ),

View File

@ -156,7 +156,7 @@ Foam::ReactingMultiphaseCloud<ParcelType>::ReactingMultiphaseCloud
( (
DevolatilisationModel<ReactingMultiphaseCloud<ParcelType> >::New DevolatilisationModel<ReactingMultiphaseCloud<ParcelType> >::New
( (
this->particleProperties(), this->subModelProperties(),
*this *this
) )
), ),
@ -164,7 +164,7 @@ Foam::ReactingMultiphaseCloud<ParcelType>::ReactingMultiphaseCloud
( (
SurfaceReactionModel<ReactingMultiphaseCloud<ParcelType> >::New SurfaceReactionModel<ReactingMultiphaseCloud<ParcelType> >::New
( (
this->particleProperties(), this->subModelProperties(),
*this *this
) )
), ),

View File

@ -158,7 +158,7 @@ Foam::ThermoCloud<ParcelType>::ThermoCloud
( (
HeatTransferModel<ThermoCloud<ParcelType> >::New HeatTransferModel<ThermoCloud<ParcelType> >::New
( (
this->particleProperties(), this->subModelProperties(),
*this *this
) )
), ),

View File

@ -17,30 +17,6 @@ FoamFile
active true; active true;
InjectionModel ManualInjection;
DragModel SphereDrag;
DispersionModel StochasticDispersionRAS;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
CompositionModel SingleMixtureFraction;
PhaseChangeModel LiquidEvaporation;
DevolatilisationModel ConstantRateDevolatilisation;
SurfaceReactionModel COxidationKineticDiffusionLimitedRate;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel none;
radiation on; radiation on;
coupled true; coupled true;
@ -94,85 +70,112 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ManualInjectionCoeffs subModels
{ {
massTotal massTotal [ 1 0 0 0 0 ] 0.0001; InjectionModel ManualInjection;
parcelBasisType mass;
SOI 0; DragModel SphereDrag;
positionsFile "coalCloud1Positions";
U0 ( 0 -10 0 ); DispersionModel StochasticDispersionRAS;
parcelPDF
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
CompositionModel SingleMixtureFraction;
PhaseChangeModel LiquidEvaporation;
DevolatilisationModel ConstantRateDevolatilisation;
SurfaceReactionModel COxidationKineticDiffusionLimitedRate;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel none;
ManualInjectionCoeffs
{ {
pdfType RosinRammler; massTotal massTotal [ 1 0 0 0 0 ] 0.0001;
RosinRammlerPDF parcelBasisType mass;
SOI 0;
positionsFile "coalCloud1Positions";
U0 ( 0 -10 0 );
parcelPDF
{ {
minValue 5e-06; pdfType RosinRammler;
maxValue 0.0005; RosinRammlerPDF
d 5e-05; {
n 0.5; minValue 5e-06;
maxValue 0.0005;
d 5e-05;
n 0.5;
}
} }
} }
}
StandardWallInteractionCoeffs StandardWallInteractionCoeffs
{ {
type rebound; type rebound;
e 1; e 1;
mu 0; mu 0;
} }
RanzMarshallCoeffs RanzMarshallCoeffs
{ {
BirdCorrection true; BirdCorrection true;
} }
SingleMixtureFractionCoeffs SingleMixtureFractionCoeffs
{ {
phases phases
( (
gas gas
{ {
CH4 0.604; CH4 0.604;
H2 0.099; H2 0.099;
CO2 0.297; CO2 0.297;
} }
liquid liquid
{ {
H2O 1; H2O 1;
} }
solid solid
{ {
ash 0.136304; ash 0.136304;
C 0.863696; C 0.863696;
} }
); );
YGasTot0 0.211; YGasTot0 0.211;
YLiquidTot0 0.026; YLiquidTot0 0.026;
YSolidTot0 0.763; YSolidTot0 0.763;
} }
LiquidEvaporationCoeffs LiquidEvaporationCoeffs
{ {
enthalpyTransfer enthalpyDifference; enthalpyTransfer enthalpyDifference;
activeLiquids activeLiquids
( (
H2O H2O
); );
} }
ConstantRateDevolatilisationCoeffs ConstantRateDevolatilisationCoeffs
{ {
A0 A0 [ 0 0 -1 0 0 ] 12; A0 A0 [ 0 0 -1 0 0 ] 12;
volatileResidualCoeff 0.001; volatileResidualCoeff 0.001;
} }
COxidationKineticDiffusionLimitedRateCoeffs COxidationKineticDiffusionLimitedRateCoeffs
{ {
Sb Sb [ 0 0 0 0 0 ] 2.667; Sb Sb [ 0 0 0 0 0 ] 2.667;
C1 C1 [ 0 0 0 0 0] 5.0E-12; C1 C1 [ 0 0 0 0 0] 5.0E-12;
C2 C2 [ 0 0 0 0 0] 0.002; C2 C2 [ 0 0 0 0 0] 0.002;
E E [ 0 0 0 0 0] 7.9E+07; E E [ 0 0 0 0 0] 7.9E+07;
}
} }

View File

@ -17,22 +17,6 @@ FoamFile
active true; active true;
InjectionModel ManualInjection;
DragModel SphereDrag;
DispersionModel StochasticDispersionRAS;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel none;
radiation on; radiation on;
coupled true; coupled true;
@ -79,36 +63,55 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ManualInjectionCoeffs subModels
{ {
massTotal massTotal [ 1 0 0 0 0 ] 0.0001; InjectionModel ManualInjection;
parcelBasisType mass;
SOI 0; DragModel SphereDrag;
positionsFile "limestonePositions";
U0 ( 0 0 0 ); DispersionModel StochasticDispersionRAS;
parcelPDF
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel none;
ManualInjectionCoeffs
{ {
pdfType RosinRammler; massTotal massTotal [ 1 0 0 0 0 ] 0.0001;
RosinRammlerPDF parcelBasisType mass;
SOI 0;
positionsFile "limestonePositions";
U0 ( 0 0 0 );
parcelPDF
{ {
minValue 5e-06; pdfType RosinRammler;
maxValue 0.000565; RosinRammlerPDF
d 4.8e-05; {
n 0.5; minValue 5e-06;
maxValue 0.000565;
d 4.8e-05;
n 0.5;
}
} }
} }
}
StandardWallInteractionCoeffs StandardWallInteractionCoeffs
{ {
type rebound; type rebound;
e 1; e 1;
mu 0; mu 0;
} }
RanzMarshallCoeffs RanzMarshallCoeffs
{ {
BirdCorrection false; BirdCorrection false;
}
} }

View File

@ -17,31 +17,6 @@ FoamFile
active true; active true;
InjectionModel ReactingMultiphaseLookupTableInjection;
//InjectionModel ManualInjection;
DragModel SphereDrag;
DispersionModel none;
PatchInteractionModel LocalInteraction;
HeatTransferModel RanzMarshall;
CompositionModel SingleMixtureFraction;
PhaseChangeModel LiquidEvaporation;
PostProcessingModel PatchPostProcessing;
DevolatilisationModel none;
SurfaceReactionModel none;
SurfaceFilmModel none;
CollisionModel none;
radiation off; radiation off;
coupled true; coupled true;
@ -95,102 +70,111 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ManualInjectionCoeffs subModels
{ {
massTotal massTotal [ 1 0 0 0 0 ] 1e-3; InjectionModel ReactingMultiphaseLookupTableInjection;
parcelBasisType mass;
SOI 0.5; DragModel SphereDrag;
positionsFile "reactingCloud1Positions";
U0 ( 0 0 0 ); DispersionModel none;
parcelPDF
PatchInteractionModel LocalInteraction;
HeatTransferModel RanzMarshall;
CompositionModel SingleMixtureFraction;
PhaseChangeModel LiquidEvaporation;
PostProcessingModel PatchPostProcessing;
DevolatilisationModel none;
SurfaceReactionModel none;
SurfaceFilmModel none;
CollisionModel none;
ReactingMultiphaseLookupTableInjectionCoeffs
{ {
pdfType uniform; massTotal massTotal [ 1 0 0 0 0 ] 1e-2;
uniformPDF parcelBasisType mass;
{ SOI 0.5;
minValue 1e-04; inputFile "parcelInjectionProperties";
maxValue 1e-04; duration 1.0;
} parcelsPerSecond 250;
} }
}
ReactingMultiphaseLookupTableInjectionCoeffs StandardWallInteractionCoeffs
{ {
massTotal massTotal [ 1 0 0 0 0 ] 1e-2; type rebound;
parcelBasisType mass; }
SOI 0.5;
inputFile "parcelInjectionProperties";
duration 1.0;
parcelsPerSecond 250;
}
StandardWallInteractionCoeffs LocalInteractionCoeffs
{ {
type rebound; patches
} (
walls
{
type rebound;
}
cycLeft_half0
{
type rebound;
}
cycLeft_half1
{
type rebound;
}
);
}
LocalInteractionCoeffs RanzMarshallCoeffs
{ {
patches BirdCorrection true;
( }
walls
{
type rebound;
}
cycLeft_half0
{
type rebound;
}
cycLeft_half1
{
type rebound;
}
);
}
RanzMarshallCoeffs SingleMixtureFractionCoeffs
{ {
BirdCorrection true; phases
} (
gas
{
}
liquid
{
H2O 1;
}
solid
{
}
);
YGasTot0 0;
YLiquidTot0 1;
YSolidTot0 0;
}
SingleMixtureFractionCoeffs LiquidEvaporationCoeffs
{ {
phases enthalpyTransfer enthalpyDifference;
(
gas
{
}
liquid
{
H2O 1;
}
solid
{
}
);
YGasTot0 0;
YLiquidTot0 1;
YSolidTot0 0;
}
LiquidEvaporationCoeffs activeLiquids
{ (
enthalpyTransfer enthalpyDifference; H2O
);
}
activeLiquids PatchPostProcessingCoeffs
( {
H2O maxStoredParcels 20;
);
}
PatchPostProcessingCoeffs patches
{ (
maxStoredParcels 20; cycLeft_half0
cycLeft_half1
patches );
( }
cycLeft_half0
cycLeft_half1
);
} }

View File

@ -17,30 +17,6 @@ FoamFile
active true; active true;
InjectionModel ManualInjection;
DragModel SphereDrag;
DispersionModel none;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
CompositionModel SingleMixtureFraction;
PhaseChangeModel LiquidEvaporation;
DevolatilisationModel none;
SurfaceReactionModel none;
PostProcessingModel none;
SurfaceFilmModel none;
CollisionModel none;
radiation off; radiation off;
coupled false; coupled false;
@ -96,71 +72,98 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ManualInjectionCoeffs subModels
{ {
massTotal massTotal [ 1 0 0 0 0 ] 5.23599e-10; // 1 droplet of density 1000 kg/m3 InjectionModel ManualInjection;
parcelBasisType mass;
SOI 0; DragModel SphereDrag;
positionsFile "reactingCloud1Positions";
U0 (0 0 0); DispersionModel none;
parcelPDF
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
CompositionModel SingleMixtureFraction;
PhaseChangeModel LiquidEvaporation;
DevolatilisationModel none;
SurfaceReactionModel none;
PostProcessingModel none;
SurfaceFilmModel none;
CollisionModel none;
ManualInjectionCoeffs
{ {
pdfType uniform; massTotal massTotal [ 1 0 0 0 0 ] 5.23599e-10; // 1 droplet of density 1000 kg/m3
uniformPDF parcelBasisType mass;
SOI 0;
positionsFile "reactingCloud1Positions";
U0 (0 0 0);
parcelPDF
{ {
minValue 100e-06; pdfType uniform;
maxValue 100e-06; uniformPDF
{
minValue 100e-06;
maxValue 100e-06;
}
} }
} }
} StandardWallInteractionCoeffs
StandardWallInteractionCoeffs {
{ type rebound;
type rebound; }
}
RanzMarshallCoeffs RanzMarshallCoeffs
{ {
BirdCorrection off; BirdCorrection off;
} }
SingleMixtureFractionCoeffs SingleMixtureFractionCoeffs
{ {
phases phases
( (
gas gas
{ {
} }
liquid liquid
{ {
H2O 1; H2O 1;
} }
solid solid
{ {
} }
); );
YGasTot0 0; YGasTot0 0;
YLiquidTot0 1; YLiquidTot0 1;
YSolidTot0 0; YSolidTot0 0;
} }
LiquidEvaporationCoeffs LiquidEvaporationCoeffs
{ {
enthalpyTransfer enthalpyDifference; // latentHeat; enthalpyTransfer enthalpyDifference; // latentHeat;
activeLiquids activeLiquids
( (
H2O H2O
); );
} }
PatchPostProcessingCoeffs PatchPostProcessingCoeffs
{ {
maxStoredParcels 100; maxStoredParcels 100;
patches patches
( (
outlet outlet
); );
}
} }

View File

@ -17,30 +17,6 @@ FoamFile
active true; active true;
InjectionModel PatchInjection;
DragModel SphereDrag;
DispersionModel StochasticDispersionRAS;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
CompositionModel SingleMixtureFraction;
PhaseChangeModel LiquidEvaporation;
DevolatilisationModel none;
SurfaceReactionModel none;
PostProcessingModel PatchPostProcessing;
SurfaceFilmModel none;
CollisionModel none;
radiation off; radiation off;
coupled true; coupled true;
@ -96,93 +72,120 @@ particleForces
paramagnetic off; paramagnetic off;
} }
PatchInjectionCoeffs subModels
{ {
SOI 0.01; InjectionModel PatchInjection;
massTotal massTotal [ 1 0 0 0 0 ] 8;
parcelBasisType mass; DragModel SphereDrag;
patchName inletCentral;
duration 10000; DispersionModel StochasticDispersionRAS;
parcelsPerSecond 1e5;
U0 (40 0 0); PatchInteractionModel StandardWallInteraction;
flowRateProfile constant 1;
parcelPDF HeatTransferModel RanzMarshall;
CompositionModel SingleMixtureFraction;
PhaseChangeModel LiquidEvaporation;
DevolatilisationModel none;
SurfaceReactionModel none;
PostProcessingModel PatchPostProcessing;
SurfaceFilmModel none;
CollisionModel none;
PatchInjectionCoeffs
{ {
pdfType general; SOI 0.01;
generalPDF massTotal massTotal [ 1 0 0 0 0 ] 8;
parcelBasisType mass;
patchName inletCentral;
duration 10000;
parcelsPerSecond 1e5;
U0 (40 0 0);
flowRateProfile constant 1;
parcelPDF
{ {
distribution pdfType general;
( generalPDF
(10e-06 0.0025) {
(15e-06 0.0528) distribution
(20e-06 0.2795) (
(25e-06 1.0918) (10e-06 0.0025)
(30e-06 2.3988) (15e-06 0.0528)
(35e-06 4.4227) (20e-06 0.2795)
(40e-06 6.3888) (25e-06 1.0918)
(45e-06 8.6721) (30e-06 2.3988)
(50e-06 10.3153) (35e-06 4.4227)
(55e-06 11.6259) (40e-06 6.3888)
(60e-06 12.0030) (45e-06 8.6721)
(65e-06 10.4175) (50e-06 10.3153)
(70e-06 10.8427) (55e-06 11.6259)
(75e-06 8.0016) (60e-06 12.0030)
(80e-06 6.1333) (65e-06 10.4175)
(85e-06 3.8827) (70e-06 10.8427)
(90e-06 3.4688) (75e-06 8.0016)
); (80e-06 6.1333)
(85e-06 3.8827)
(90e-06 3.4688)
);
}
} }
} }
}
StandardWallInteractionCoeffs StandardWallInteractionCoeffs
{ {
type rebound; type rebound;
} }
RanzMarshallCoeffs RanzMarshallCoeffs
{ {
BirdCorrection off; BirdCorrection off;
} }
SingleMixtureFractionCoeffs SingleMixtureFractionCoeffs
{ {
phases phases
( (
gas gas
{ {
} }
liquid liquid
{ {
H2O 1; H2O 1;
} }
solid solid
{ {
} }
); );
YGasTot0 0; YGasTot0 0;
YLiquidTot0 1; YLiquidTot0 1;
YSolidTot0 0; YSolidTot0 0;
} }
LiquidEvaporationCoeffs LiquidEvaporationCoeffs
{ {
enthalpyTransfer enthalpyDifference; enthalpyTransfer enthalpyDifference;
activeLiquids activeLiquids
( (
H2O H2O
); );
} }
PatchPostProcessingCoeffs PatchPostProcessingCoeffs
{ {
maxStoredParcels 100; maxStoredParcels 100;
patches patches
( (
outlet outlet
); );
}
} }

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 | | \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -17,26 +17,6 @@ FoamFile
active false; // true; active false; // true;
InjectionModel none;
DragModel SphereDrag;
DispersionModel none;
PatchInteractionModel StandardWallInteraction;
CollisionModel none;
HeatTransferModel none;
CompositionModel SinglePhaseMixture;
PhaseChangeModel none;
PostProcessingModel none;
SurfaceFilmModel ThermoSurfaceFilm;
radiation off; radiation off;
coupled true; coupled true;
@ -88,24 +68,47 @@ particleForces
paramagnetic off; paramagnetic off;
} }
StandardWallInteractionCoeffs subModels
{ {
type rebound; InjectionModel none;
}
SinglePhaseMixtureCoeffs DragModel SphereDrag;
{
phases
(
liquid
{
H2O 1;
}
);
}
ThermoSurfaceFilmCoeffs DispersionModel none;
{}
PatchInteractionModel StandardWallInteraction;
CollisionModel none;
HeatTransferModel none;
CompositionModel SinglePhaseMixture;
PhaseChangeModel none;
PostProcessingModel none;
SurfaceFilmModel ThermoSurfaceFilm;
StandardWallInteractionCoeffs
{
type rebound;
}
SinglePhaseMixtureCoeffs
{
phases
(
liquid
{
H2O 1;
}
);
}
ThermoSurfaceFilmCoeffs
{}
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 | | \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -17,26 +17,6 @@ FoamFile
active true; active true;
InjectionModel ConeInjectionMP;
DragModel SphereDrag;
DispersionModel none;
CollisionModel none;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel none; //RanzMarshall;
CompositionModel SinglePhaseMixture;
PhaseChangeModel none; // LiquidEvaporation;
PostProcessingModel none;
SurfaceFilmModel ThermoSurfaceFilm; // none;
radiation off; radiation off;
coupled true; coupled true;
@ -88,94 +68,117 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ConeInjectionCoeffs subModels
{ {
SOI 0.000; InjectionModel ConeInjectionMP;
duration 10.000;
position (0.5 0.8 1.45);
direction (0 -0.5 -1);
massTotal massTotal [ 1 0 0 0 0 ] 0.025; // 1e-3;
parcelsPerSecond 500;
parcelBasisType mass;
flowRateProfile constant 0.01;
Umag constant 5;
thetaInner constant 0;
thetaOuter constant 30;
parcelPDF DragModel SphereDrag;
DispersionModel none;
CollisionModel none;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel none; //RanzMarshall;
CompositionModel SinglePhaseMixture;
PhaseChangeModel none; // LiquidEvaporation;
PostProcessingModel none;
SurfaceFilmModel ThermoSurfaceFilm; // none;
ConeInjectionCoeffs
{ {
pdfType RosinRammler; SOI 0.000;
RosinRammlerPDF duration 10.000;
{ position (0.5 0.8 1.45);
minValue 5e-04; direction (0 -0.5 -1);
maxValue 0.0012; massTotal massTotal [ 1 0 0 0 0 ] 0.025; // 1e-3;
d 7.5e-05; parcelsPerSecond 500;
n 0.5; parcelBasisType mass;
} flowRateProfile constant 0.01;
} Umag constant 5;
} thetaInner constant 0;
thetaOuter constant 30;
ConeInjectionMPCoeffs parcelPDF
{
SOI 0.000;
duration 20.000;
positionsFile "reactingCloud1Positions";
axesFile "reactingCloud1Axes";
massTotal massTotal [ 1 0 0 0 0 ] 10;
parcelsPerInjector 20000;
parcelsPerSecond 500;
parcelBasisType mass;
flowRateProfile constant 0.1;
Umag constant 3.0;
thetaInner constant 0;
thetaOuter constant 45;
parcelPDF
{
pdfType RosinRammler;
RosinRammlerPDF
{ {
minValue 5e-04; pdfType RosinRammler;
maxValue 0.0012; RosinRammlerPDF
d 7.5e-05; {
n 0.5; minValue 5e-04;
maxValue 0.0012;
d 7.5e-05;
n 0.5;
}
} }
} }
} ConeInjectionMPCoeffs
{
SOI 0.000;
duration 20.000;
positionsFile "reactingCloud1Positions";
axesFile "reactingCloud1Axes";
massTotal massTotal [ 1 0 0 0 0 ] 10;
parcelsPerInjector 20000;
parcelsPerSecond 500;
parcelBasisType mass;
flowRateProfile constant 0.1;
Umag constant 3.0;
thetaInner constant 0;
thetaOuter constant 45;
parcelPDF
StandardWallInteractionCoeffs
{
type rebound;
}
RanzMarshallCoeffs
{
BirdCorrection false;
}
SinglePhaseMixtureCoeffs
{
phases
(
liquid
{ {
H2O 1; pdfType RosinRammler;
RosinRammlerPDF
{
minValue 5e-04;
maxValue 0.0012;
d 7.5e-05;
n 0.5;
}
} }
);
}
LiquidEvaporationCoeffs }
{
activeLiquids
(
H2O
);
}
ThermoSurfaceFilmCoeffs
{} StandardWallInteractionCoeffs
{
type rebound;
}
RanzMarshallCoeffs
{
BirdCorrection false;
}
SinglePhaseMixtureCoeffs
{
phases
(
liquid
{
H2O 1;
}
);
}
LiquidEvaporationCoeffs
{
activeLiquids
(
H2O
);
}
ThermoSurfaceFilmCoeffs
{}
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -17,26 +17,6 @@ FoamFile
active true; active true;
InjectionModel ConeInjectionMP;
DragModel SphereDrag;
DispersionModel none;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel none; //RanzMarshall;
CompositionModel SinglePhaseMixture;
PhaseChangeModel none; // LiquidEvaporation;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel ThermoSurfaceFilm; // none;
radiation off; radiation off;
coupled true; coupled true;
@ -88,94 +68,117 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ConeInjectionCoeffs subModels
{ {
SOI 0.000; InjectionModel ConeInjectionMP;
duration 10.000;
position (0.5 0.8 1.45);
direction (0 -0.5 -1);
massTotal massTotal [ 1 0 0 0 0 ] 0.025; // 1e-3;
parcelsPerSecond 500;
parcelBasisType mass;
flowRateProfile constant 0.01;
Umag constant 5;
thetaInner constant 0;
thetaOuter constant 30;
parcelPDF DragModel SphereDrag;
DispersionModel none;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel none; //RanzMarshall;
CompositionModel SinglePhaseMixture;
PhaseChangeModel none; // LiquidEvaporation;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel ThermoSurfaceFilm; // none;
ConeInjectionCoeffs
{ {
pdfType RosinRammler; SOI 0.000;
RosinRammlerPDF duration 10.000;
{ position (0.5 0.8 1.45);
minValue 5e-04; direction (0 -0.5 -1);
maxValue 0.0012; massTotal massTotal [ 1 0 0 0 0 ] 0.025; // 1e-3;
d 7.5e-05; parcelsPerSecond 500;
n 0.5; parcelBasisType mass;
} flowRateProfile constant 0.01;
} Umag constant 5;
} thetaInner constant 0;
thetaOuter constant 30;
ConeInjectionMPCoeffs parcelPDF
{
SOI 0.000;
duration 20.000;
positionsFile "reactingCloud1Positions";
axesFile "reactingCloud1Axes";
massTotal massTotal [ 1 0 0 0 0 ] 10;
parcelsPerInjector 20000;
parcelsPerSecond 500;
parcelBasisType mass;
flowRateProfile constant 0.1;
Umag constant 3.0;
thetaInner constant 0;
thetaOuter constant 45;
parcelPDF
{
pdfType RosinRammler;
RosinRammlerPDF
{ {
minValue 5e-04; pdfType RosinRammler;
maxValue 0.0012; RosinRammlerPDF
d 7.5e-05; {
n 0.5; minValue 5e-04;
maxValue 0.0012;
d 7.5e-05;
n 0.5;
}
} }
} }
} ConeInjectionMPCoeffs
{
SOI 0.000;
duration 20.000;
positionsFile "reactingCloud1Positions";
axesFile "reactingCloud1Axes";
massTotal massTotal [ 1 0 0 0 0 ] 10;
parcelsPerInjector 20000;
parcelsPerSecond 500;
parcelBasisType mass;
flowRateProfile constant 0.1;
Umag constant 3.0;
thetaInner constant 0;
thetaOuter constant 45;
parcelPDF
StandardWallInteractionCoeffs
{
type rebound;
}
RanzMarshallCoeffs
{
BirdCorrection false;
}
SinglePhaseMixtureCoeffs
{
phases
(
liquid
{ {
H2O 1; pdfType RosinRammler;
RosinRammlerPDF
{
minValue 5e-04;
maxValue 0.0012;
d 7.5e-05;
n 0.5;
}
} }
);
}
LiquidEvaporationCoeffs }
{
activeLiquids
(
H2O
);
}
ThermoSurfaceFilmCoeffs
{} StandardWallInteractionCoeffs
{
type rebound;
}
RanzMarshallCoeffs
{
BirdCorrection false;
}
SinglePhaseMixtureCoeffs
{
phases
(
liquid
{
H2O 1;
}
);
}
LiquidEvaporationCoeffs
{
activeLiquids
(
H2O
);
}
ThermoSurfaceFilmCoeffs
{}
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -17,26 +17,6 @@ FoamFile
active false; // true; active false; // true;
InjectionModel none;
DragModel SphereDrag;
DispersionModel none;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel none;
CompositionModel SinglePhaseMixture;
PhaseChangeModel none;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel ThermoSurfaceFilm;
radiation off; radiation off;
coupled true; coupled true;
@ -88,24 +68,47 @@ particleForces
paramagnetic off; paramagnetic off;
} }
StandardWallInteractionCoeffs subModels
{ {
type rebound; InjectionModel none;
}
SinglePhaseMixtureCoeffs DragModel SphereDrag;
{
phases
(
liquid
{
H2O 1;
}
);
}
ThermoSurfaceFilmCoeffs DispersionModel none;
{}
PatchInteractionModel StandardWallInteraction;
HeatTransferModel none;
CompositionModel SinglePhaseMixture;
PhaseChangeModel none;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel ThermoSurfaceFilm;
StandardWallInteractionCoeffs
{
type rebound;
}
SinglePhaseMixtureCoeffs
{
phases
(
liquid
{
H2O 1;
}
);
}
ThermoSurfaceFilmCoeffs
{}
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -17,26 +17,6 @@ FoamFile
active true; active true;
InjectionModel ManualInjection;
DragModel SphereDrag;
DispersionModel none;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
CompositionModel SinglePhaseMixture;
PhaseChangeModel LiquidEvaporation;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel none;
radiation off; radiation off;
coupled true; coupled true;
@ -88,53 +68,77 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ManualInjectionCoeffs subModels
{ {
massTotal massTotal [ 1 0 0 0 0 ] 1e-8; InjectionModel ManualInjection;
parcelBasisType mass;
SOI 0; DragModel SphereDrag;
positionsFile "reactingCloud1Positions";
U0 ( 0 0 0 ); DispersionModel none;
parcelPDF
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
CompositionModel SinglePhaseMixture;
PhaseChangeModel LiquidEvaporation;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel none;
ManualInjectionCoeffs
{ {
pdfType uniform; massTotal massTotal [ 1 0 0 0 0 ] 1e-8;
uniformPDF parcelBasisType mass;
SOI 0;
positionsFile "reactingCloud1Positions";
U0 ( 0 0 0 );
parcelPDF
{ {
minValue 1e-04; pdfType uniform;
maxValue 1e-04; uniformPDF
{
minValue 1e-04;
maxValue 1e-04;
}
} }
} }
StandardWallInteractionCoeffs
{
type rebound;
}
RanzMarshallCoeffs
{
BirdCorrection true;
}
SinglePhaseMixtureCoeffs
{
phases
(
liquid
{
H2O 1;
}
);
}
LiquidEvaporationCoeffs
{
enthalpyTransfer enthalpyDifference;
activeLiquids
(
H2O
);
}
} }
StandardWallInteractionCoeffs
{
type rebound;
}
RanzMarshallCoeffs
{
BirdCorrection true;
}
SinglePhaseMixtureCoeffs
{
phases
(
liquid
{
H2O 1;
}
);
}
LiquidEvaporationCoeffs
{
enthalpyTransfer enthalpyDifference;
activeLiquids
(
H2O
);
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -17,20 +17,6 @@ FoamFile
active true; active true;
InjectionModel ManualInjection;
DragModel SphereDrag;
DispersionModel StochasticDispersionRAS;
PatchInteractionModel StandardWallInteraction;
PostProcessingModel none;
SurfaceFilmModel none;
CollisionModel none;
coupled true; coupled true;
cellValueSourceCorrection on; cellValueSourceCorrection on;
@ -66,54 +52,71 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ManualInjectionCoeffs subModels
{ {
massTotal massTotal [ 1 0 0 0 0 ] 0.0002; InjectionModel ManualInjection;
parcelBasisType mass;
SOI 0; DragModel SphereDrag;
positionsFile "kinematicCloud1Positions";
U0 ( 0 0 0 ); DispersionModel StochasticDispersionRAS;
parcelPDF
PatchInteractionModel StandardWallInteraction;
PostProcessingModel none;
SurfaceFilmModel none;
CollisionModel none;
ManualInjectionCoeffs
{ {
pdfType RosinRammler; massTotal massTotal [ 1 0 0 0 0 ] 0.0002;
RosinRammlerPDF parcelBasisType mass;
SOI 0;
positionsFile "kinematicCloud1Positions";
U0 ( 0 0 0 );
parcelPDF
{ {
minValue 5e-05; pdfType RosinRammler;
maxValue 0.0001; RosinRammlerPDF
d 7.5e-05; {
n 0.5; minValue 5e-05;
maxValue 0.0001;
d 7.5e-05;
n 0.5;
}
} }
} }
}
ConeInjectionCoeffs ConeInjectionCoeffs
{
SOI 0.001;
duration 0.005;
position ( 0.25 0.25 0.05 );
direction ( 0 -1 0 );
parcelsPerSecond 10000;
flowRateProfile Constant 0.01;
Umag Constant 50;
thetaInner Constant 0;
thetaOuter Constant 30;
parcelPDF
{ {
pdfType RosinRammler; SOI 0.001;
RosinRammlerPDF duration 0.005;
position ( 0.25 0.25 0.05 );
direction ( 0 -1 0 );
parcelsPerSecond 10000;
flowRateProfile Constant 0.01;
Umag Constant 50;
thetaInner Constant 0;
thetaOuter Constant 30;
parcelPDF
{ {
minValue 5e-05; pdfType RosinRammler;
maxValue 0.0001; RosinRammlerPDF
d ( 7.5e-05 ); {
n ( 0.5 ); minValue 5e-05;
maxValue 0.0001;
d ( 7.5e-05 );
n ( 0.5 );
}
} }
} }
}
StandardWallInteractionCoeffs StandardWallInteractionCoeffs
{ {
type rebound; type rebound;
}
} }

View File

@ -17,22 +17,6 @@ FoamFile
active true; active true;
InjectionModel ManualInjection;
DragModel SphereDrag;
DispersionModel StochasticDispersionRAS;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel none;
radiation off; radiation off;
coupled true; coupled true;
@ -79,35 +63,54 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ManualInjectionCoeffs subModels
{ {
massTotal massTotal [ 1 0 0 0 0 ] 0.0001; InjectionModel ManualInjection;
parcelBasisType mass;
SOI 0; DragModel SphereDrag;
positionsFile "thermoCloud1Positions";
U0 ( 0 0 0 ); DispersionModel StochasticDispersionRAS;
parcelPDF
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel none;
ManualInjectionCoeffs
{ {
pdfType RosinRammler; massTotal massTotal [ 1 0 0 0 0 ] 0.0001;
RosinRammlerPDF parcelBasisType mass;
SOI 0;
positionsFile "thermoCloud1Positions";
U0 ( 0 0 0 );
parcelPDF
{ {
minValue 5e-06; pdfType RosinRammler;
maxValue 0.0005; RosinRammlerPDF
d 5e-05; {
n 0.5; minValue 5e-06;
maxValue 0.0005;
d 5e-05;
n 0.5;
}
} }
} }
}
StandardWallInteractionCoeffs StandardWallInteractionCoeffs
{ {
type rebound; type rebound;
} }
RanzMarshallCoeffs RanzMarshallCoeffs
{ {
// thermal shielding // thermal shielding
BirdCorrection false; BirdCorrection false;
}
} }