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,8 +70,34 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ManualInjectionCoeffs subModels
{ {
InjectionModel ManualInjection;
DragModel SphereDrag;
DispersionModel StochasticDispersionRAS;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
CompositionModel SingleMixtureFraction;
PhaseChangeModel LiquidEvaporation;
DevolatilisationModel ConstantRateDevolatilisation;
SurfaceReactionModel COxidationKineticDiffusionLimitedRate;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel none;
ManualInjectionCoeffs
{
massTotal massTotal [ 1 0 0 0 0 ] 0.0001; massTotal massTotal [ 1 0 0 0 0 ] 0.0001;
parcelBasisType mass; parcelBasisType mass;
SOI 0; SOI 0;
@ -112,22 +114,22 @@ ManualInjectionCoeffs
n 0.5; 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
@ -149,30 +151,31 @@ SingleMixtureFractionCoeffs
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,8 +63,26 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ManualInjectionCoeffs subModels
{ {
InjectionModel ManualInjection;
DragModel SphereDrag;
DispersionModel StochasticDispersionRAS;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel none;
ManualInjectionCoeffs
{
massTotal massTotal [ 1 0 0 0 0 ] 0.0001; massTotal massTotal [ 1 0 0 0 0 ] 0.0001;
parcelBasisType mass; parcelBasisType mass;
SOI 0; SOI 0;
@ -97,18 +99,19 @@ ManualInjectionCoeffs
n 0.5; 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,41 +70,49 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ManualInjectionCoeffs subModels
{ {
massTotal massTotal [ 1 0 0 0 0 ] 1e-3; InjectionModel ReactingMultiphaseLookupTableInjection;
parcelBasisType mass;
SOI 0.5;
positionsFile "reactingCloud1Positions";
U0 ( 0 0 0 );
parcelPDF
{
pdfType uniform;
uniformPDF
{
minValue 1e-04;
maxValue 1e-04;
}
}
}
ReactingMultiphaseLookupTableInjectionCoeffs DragModel SphereDrag;
{
DispersionModel none;
PatchInteractionModel LocalInteraction;
HeatTransferModel RanzMarshall;
CompositionModel SingleMixtureFraction;
PhaseChangeModel LiquidEvaporation;
PostProcessingModel PatchPostProcessing;
DevolatilisationModel none;
SurfaceReactionModel none;
SurfaceFilmModel none;
CollisionModel none;
ReactingMultiphaseLookupTableInjectionCoeffs
{
massTotal massTotal [ 1 0 0 0 0 ] 1e-2; massTotal massTotal [ 1 0 0 0 0 ] 1e-2;
parcelBasisType mass; parcelBasisType mass;
SOI 0.5; SOI 0.5;
inputFile "parcelInjectionProperties"; inputFile "parcelInjectionProperties";
duration 1.0; duration 1.0;
parcelsPerSecond 250; parcelsPerSecond 250;
} }
StandardWallInteractionCoeffs StandardWallInteractionCoeffs
{ {
type rebound; type rebound;
} }
LocalInteractionCoeffs LocalInteractionCoeffs
{ {
patches patches
( (
walls walls
@ -145,15 +128,15 @@ LocalInteractionCoeffs
type rebound; type rebound;
} }
); );
} }
RanzMarshallCoeffs RanzMarshallCoeffs
{ {
BirdCorrection true; BirdCorrection true;
} }
SingleMixtureFractionCoeffs SingleMixtureFractionCoeffs
{ {
phases phases
( (
gas gas
@ -170,20 +153,20 @@ SingleMixtureFractionCoeffs
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 20; maxStoredParcels 20;
patches patches
@ -191,6 +174,7 @@ PatchPostProcessingCoeffs
cycLeft_half0 cycLeft_half0
cycLeft_half1 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,8 +72,34 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ManualInjectionCoeffs subModels
{ {
InjectionModel ManualInjection;
DragModel SphereDrag;
DispersionModel none;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
CompositionModel SingleMixtureFraction;
PhaseChangeModel LiquidEvaporation;
DevolatilisationModel none;
SurfaceReactionModel none;
PostProcessingModel none;
SurfaceFilmModel none;
CollisionModel none;
ManualInjectionCoeffs
{
massTotal massTotal [ 1 0 0 0 0 ] 5.23599e-10; // 1 droplet of density 1000 kg/m3 massTotal massTotal [ 1 0 0 0 0 ] 5.23599e-10; // 1 droplet of density 1000 kg/m3
parcelBasisType mass; parcelBasisType mass;
SOI 0; SOI 0;
@ -112,19 +114,19 @@ ManualInjectionCoeffs
maxValue 100e-06; maxValue 100e-06;
} }
} }
} }
StandardWallInteractionCoeffs StandardWallInteractionCoeffs
{ {
type rebound; type rebound;
} }
RanzMarshallCoeffs RanzMarshallCoeffs
{ {
BirdCorrection off; BirdCorrection off;
} }
SingleMixtureFractionCoeffs SingleMixtureFractionCoeffs
{ {
phases phases
( (
gas gas
@ -141,26 +143,27 @@ SingleMixtureFractionCoeffs
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,8 +72,34 @@ particleForces
paramagnetic off; paramagnetic off;
} }
PatchInjectionCoeffs subModels
{ {
InjectionModel PatchInjection;
DragModel SphereDrag;
DispersionModel StochasticDispersionRAS;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
CompositionModel SingleMixtureFraction;
PhaseChangeModel LiquidEvaporation;
DevolatilisationModel none;
SurfaceReactionModel none;
PostProcessingModel PatchPostProcessing;
SurfaceFilmModel none;
CollisionModel none;
PatchInjectionCoeffs
{
SOI 0.01; SOI 0.01;
massTotal massTotal [ 1 0 0 0 0 ] 8; massTotal massTotal [ 1 0 0 0 0 ] 8;
parcelBasisType mass; parcelBasisType mass;
@ -133,20 +135,20 @@ PatchInjectionCoeffs
); );
} }
} }
} }
StandardWallInteractionCoeffs StandardWallInteractionCoeffs
{ {
type rebound; type rebound;
} }
RanzMarshallCoeffs RanzMarshallCoeffs
{ {
BirdCorrection off; BirdCorrection off;
} }
SingleMixtureFractionCoeffs SingleMixtureFractionCoeffs
{ {
phases phases
( (
gas gas
@ -163,26 +165,27 @@ SingleMixtureFractionCoeffs
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,13 +68,35 @@ particleForces
paramagnetic off; paramagnetic off;
} }
StandardWallInteractionCoeffs subModels
{ {
type rebound; InjectionModel none;
}
SinglePhaseMixtureCoeffs DragModel SphereDrag;
{
DispersionModel none;
PatchInteractionModel StandardWallInteraction;
CollisionModel none;
HeatTransferModel none;
CompositionModel SinglePhaseMixture;
PhaseChangeModel none;
PostProcessingModel none;
SurfaceFilmModel ThermoSurfaceFilm;
StandardWallInteractionCoeffs
{
type rebound;
}
SinglePhaseMixtureCoeffs
{
phases phases
( (
liquid liquid
@ -102,10 +104,11 @@ SinglePhaseMixtureCoeffs
H2O 1; H2O 1;
} }
); );
} }
ThermoSurfaceFilmCoeffs 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,8 +68,30 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ConeInjectionCoeffs subModels
{ {
InjectionModel ConeInjectionMP;
DragModel SphereDrag;
DispersionModel none;
CollisionModel none;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel none; //RanzMarshall;
CompositionModel SinglePhaseMixture;
PhaseChangeModel none; // LiquidEvaporation;
PostProcessingModel none;
SurfaceFilmModel ThermoSurfaceFilm; // none;
ConeInjectionCoeffs
{
SOI 0.000; SOI 0.000;
duration 10.000; duration 10.000;
position (0.5 0.8 1.45); position (0.5 0.8 1.45);
@ -113,10 +115,10 @@ ConeInjectionCoeffs
n 0.5; n 0.5;
} }
} }
} }
ConeInjectionMPCoeffs ConeInjectionMPCoeffs
{ {
SOI 0.000; SOI 0.000;
duration 20.000; duration 20.000;
positionsFile "reactingCloud1Positions"; positionsFile "reactingCloud1Positions";
@ -142,21 +144,21 @@ ConeInjectionMPCoeffs
} }
} }
} }
StandardWallInteractionCoeffs StandardWallInteractionCoeffs
{ {
type rebound; type rebound;
} }
RanzMarshallCoeffs RanzMarshallCoeffs
{ {
BirdCorrection false; BirdCorrection false;
} }
SinglePhaseMixtureCoeffs SinglePhaseMixtureCoeffs
{ {
phases phases
( (
liquid liquid
@ -164,18 +166,19 @@ SinglePhaseMixtureCoeffs
H2O 1; H2O 1;
} }
); );
} }
LiquidEvaporationCoeffs LiquidEvaporationCoeffs
{ {
activeLiquids activeLiquids
( (
H2O H2O
); );
} }
ThermoSurfaceFilmCoeffs 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,8 +68,30 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ConeInjectionCoeffs subModels
{ {
InjectionModel ConeInjectionMP;
DragModel SphereDrag;
DispersionModel none;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel none; //RanzMarshall;
CompositionModel SinglePhaseMixture;
PhaseChangeModel none; // LiquidEvaporation;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel ThermoSurfaceFilm; // none;
ConeInjectionCoeffs
{
SOI 0.000; SOI 0.000;
duration 10.000; duration 10.000;
position (0.5 0.8 1.45); position (0.5 0.8 1.45);
@ -113,10 +115,10 @@ ConeInjectionCoeffs
n 0.5; n 0.5;
} }
} }
} }
ConeInjectionMPCoeffs ConeInjectionMPCoeffs
{ {
SOI 0.000; SOI 0.000;
duration 20.000; duration 20.000;
positionsFile "reactingCloud1Positions"; positionsFile "reactingCloud1Positions";
@ -142,21 +144,21 @@ ConeInjectionMPCoeffs
} }
} }
} }
StandardWallInteractionCoeffs StandardWallInteractionCoeffs
{ {
type rebound; type rebound;
} }
RanzMarshallCoeffs RanzMarshallCoeffs
{ {
BirdCorrection false; BirdCorrection false;
} }
SinglePhaseMixtureCoeffs SinglePhaseMixtureCoeffs
{ {
phases phases
( (
liquid liquid
@ -164,18 +166,19 @@ SinglePhaseMixtureCoeffs
H2O 1; H2O 1;
} }
); );
} }
LiquidEvaporationCoeffs LiquidEvaporationCoeffs
{ {
activeLiquids activeLiquids
( (
H2O H2O
); );
} }
ThermoSurfaceFilmCoeffs 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,13 +68,35 @@ particleForces
paramagnetic off; paramagnetic off;
} }
StandardWallInteractionCoeffs subModels
{ {
type rebound; InjectionModel none;
}
SinglePhaseMixtureCoeffs DragModel SphereDrag;
{
DispersionModel none;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel none;
CompositionModel SinglePhaseMixture;
PhaseChangeModel none;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel ThermoSurfaceFilm;
StandardWallInteractionCoeffs
{
type rebound;
}
SinglePhaseMixtureCoeffs
{
phases phases
( (
liquid liquid
@ -102,10 +104,11 @@ SinglePhaseMixtureCoeffs
H2O 1; H2O 1;
} }
); );
} }
ThermoSurfaceFilmCoeffs 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,8 +68,30 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ManualInjectionCoeffs subModels
{ {
InjectionModel ManualInjection;
DragModel SphereDrag;
DispersionModel none;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
CompositionModel SinglePhaseMixture;
PhaseChangeModel LiquidEvaporation;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel none;
ManualInjectionCoeffs
{
massTotal massTotal [ 1 0 0 0 0 ] 1e-8; massTotal massTotal [ 1 0 0 0 0 ] 1e-8;
parcelBasisType mass; parcelBasisType mass;
SOI 0; SOI 0;
@ -104,20 +106,20 @@ ManualInjectionCoeffs
maxValue 1e-04; maxValue 1e-04;
} }
} }
} }
StandardWallInteractionCoeffs StandardWallInteractionCoeffs
{ {
type rebound; type rebound;
} }
RanzMarshallCoeffs RanzMarshallCoeffs
{ {
BirdCorrection true; BirdCorrection true;
} }
SinglePhaseMixtureCoeffs SinglePhaseMixtureCoeffs
{ {
phases phases
( (
liquid liquid
@ -125,16 +127,18 @@ SinglePhaseMixtureCoeffs
H2O 1; H2O 1;
} }
); );
} }
LiquidEvaporationCoeffs LiquidEvaporationCoeffs
{ {
enthalpyTransfer enthalpyDifference; enthalpyTransfer enthalpyDifference;
activeLiquids activeLiquids
( (
H2O 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,8 +52,24 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ManualInjectionCoeffs subModels
{ {
InjectionModel ManualInjection;
DragModel SphereDrag;
DispersionModel StochasticDispersionRAS;
PatchInteractionModel StandardWallInteraction;
PostProcessingModel none;
SurfaceFilmModel none;
CollisionModel none;
ManualInjectionCoeffs
{
massTotal massTotal [ 1 0 0 0 0 ] 0.0002; massTotal massTotal [ 1 0 0 0 0 ] 0.0002;
parcelBasisType mass; parcelBasisType mass;
SOI 0; SOI 0;
@ -84,10 +86,10 @@ ManualInjectionCoeffs
n 0.5; n 0.5;
} }
} }
} }
ConeInjectionCoeffs ConeInjectionCoeffs
{ {
SOI 0.001; SOI 0.001;
duration 0.005; duration 0.005;
position ( 0.25 0.25 0.05 ); position ( 0.25 0.25 0.05 );
@ -109,11 +111,12 @@ ConeInjectionCoeffs
n ( 0.5 ); 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,8 +63,26 @@ particleForces
paramagnetic off; paramagnetic off;
} }
ManualInjectionCoeffs subModels
{ {
InjectionModel ManualInjection;
DragModel SphereDrag;
DispersionModel StochasticDispersionRAS;
PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
PostProcessingModel none;
CollisionModel none;
SurfaceFilmModel none;
ManualInjectionCoeffs
{
massTotal massTotal [ 1 0 0 0 0 ] 0.0001; massTotal massTotal [ 1 0 0 0 0 ] 0.0001;
parcelBasisType mass; parcelBasisType mass;
SOI 0; SOI 0;
@ -97,17 +99,18 @@ ManualInjectionCoeffs
n 0.5; n 0.5;
} }
} }
} }
StandardWallInteractionCoeffs StandardWallInteractionCoeffs
{ {
type rebound; type rebound;
} }
RanzMarshallCoeffs RanzMarshallCoeffs
{ {
// thermal shielding // thermal shielding
BirdCorrection false; BirdCorrection false;
}
} }