mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Encapsulated cloud sub-models in sub-dictionary
This commit is contained in:
@ -257,6 +257,7 @@ Foam::KinematicCloud<ParcelType>::KinematicCloud
|
||||
)
|
||||
),
|
||||
constProps_(particleProperties_),
|
||||
subModelProperties_(particleProperties_.subDict("subModels")),
|
||||
active_(particleProperties_.lookup("active")),
|
||||
parcelTypeId_(readLabel(particleProperties_.lookup("parcelTypeId"))),
|
||||
coupled_(particleProperties_.lookup("coupled")),
|
||||
@ -276,7 +277,7 @@ Foam::KinematicCloud<ParcelType>::KinematicCloud
|
||||
(
|
||||
DispersionModel<KinematicCloud<ParcelType> >::New
|
||||
(
|
||||
particleProperties_,
|
||||
subModelProperties_,
|
||||
*this
|
||||
)
|
||||
),
|
||||
@ -284,7 +285,7 @@ Foam::KinematicCloud<ParcelType>::KinematicCloud
|
||||
(
|
||||
DragModel<KinematicCloud<ParcelType> >::New
|
||||
(
|
||||
particleProperties_,
|
||||
subModelProperties_,
|
||||
*this
|
||||
)
|
||||
),
|
||||
@ -292,7 +293,7 @@ Foam::KinematicCloud<ParcelType>::KinematicCloud
|
||||
(
|
||||
InjectionModel<KinematicCloud<ParcelType> >::New
|
||||
(
|
||||
particleProperties_,
|
||||
subModelProperties_,
|
||||
*this
|
||||
)
|
||||
),
|
||||
@ -300,7 +301,7 @@ Foam::KinematicCloud<ParcelType>::KinematicCloud
|
||||
(
|
||||
CollisionModel<KinematicCloud<ParcelType> >::New
|
||||
(
|
||||
particleProperties_,
|
||||
subModelProperties_,
|
||||
*this
|
||||
)
|
||||
),
|
||||
@ -308,7 +309,7 @@ Foam::KinematicCloud<ParcelType>::KinematicCloud
|
||||
(
|
||||
PatchInteractionModel<KinematicCloud<ParcelType> >::New
|
||||
(
|
||||
particleProperties_,
|
||||
subModelProperties_,
|
||||
*this
|
||||
)
|
||||
),
|
||||
@ -316,7 +317,7 @@ Foam::KinematicCloud<ParcelType>::KinematicCloud
|
||||
(
|
||||
PostProcessingModel<KinematicCloud<ParcelType> >::New
|
||||
(
|
||||
this->particleProperties_,
|
||||
subModelProperties_,
|
||||
*this
|
||||
)
|
||||
),
|
||||
@ -324,7 +325,7 @@ Foam::KinematicCloud<ParcelType>::KinematicCloud
|
||||
(
|
||||
SurfaceFilmModel<KinematicCloud<ParcelType> >::New
|
||||
(
|
||||
this->particleProperties_,
|
||||
subModelProperties_,
|
||||
*this,
|
||||
g
|
||||
)
|
||||
|
||||
@ -115,6 +115,9 @@ protected:
|
||||
//- Dictionary of particle properties
|
||||
IOdictionary particleProperties_;
|
||||
|
||||
//- Sub-models dictionary
|
||||
const dictionary& subModelProperties_;
|
||||
|
||||
//- Parcel constant properties
|
||||
typename ParcelType::constantProperties constProps_;
|
||||
|
||||
@ -275,6 +278,9 @@ public:
|
||||
//- Return particle properties dictionary
|
||||
inline const IOdictionary& particleProperties() const;
|
||||
|
||||
//- Return reference to the sub-models dictionary
|
||||
inline const dictionary& subModelProperties() const;
|
||||
|
||||
//- Return the constant properties
|
||||
inline const typename ParcelType::constantProperties&
|
||||
constProps() const;
|
||||
|
||||
@ -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>
|
||||
inline const typename ParcelType::constantProperties&
|
||||
Foam::KinematicCloud<ParcelType>::constProps() const
|
||||
|
||||
@ -183,7 +183,7 @@ Foam::ReactingCloud<ParcelType>::ReactingCloud
|
||||
(
|
||||
CompositionModel<ReactingCloud<ParcelType> >::New
|
||||
(
|
||||
this->particleProperties(),
|
||||
this->subModelProperties(),
|
||||
*this
|
||||
)
|
||||
),
|
||||
@ -191,7 +191,7 @@ Foam::ReactingCloud<ParcelType>::ReactingCloud
|
||||
(
|
||||
PhaseChangeModel<ReactingCloud<ParcelType> >::New
|
||||
(
|
||||
this->particleProperties(),
|
||||
this->subModelProperties(),
|
||||
*this
|
||||
)
|
||||
),
|
||||
|
||||
@ -156,7 +156,7 @@ Foam::ReactingMultiphaseCloud<ParcelType>::ReactingMultiphaseCloud
|
||||
(
|
||||
DevolatilisationModel<ReactingMultiphaseCloud<ParcelType> >::New
|
||||
(
|
||||
this->particleProperties(),
|
||||
this->subModelProperties(),
|
||||
*this
|
||||
)
|
||||
),
|
||||
@ -164,7 +164,7 @@ Foam::ReactingMultiphaseCloud<ParcelType>::ReactingMultiphaseCloud
|
||||
(
|
||||
SurfaceReactionModel<ReactingMultiphaseCloud<ParcelType> >::New
|
||||
(
|
||||
this->particleProperties(),
|
||||
this->subModelProperties(),
|
||||
*this
|
||||
)
|
||||
),
|
||||
|
||||
@ -158,7 +158,7 @@ Foam::ThermoCloud<ParcelType>::ThermoCloud
|
||||
(
|
||||
HeatTransferModel<ThermoCloud<ParcelType> >::New
|
||||
(
|
||||
this->particleProperties(),
|
||||
this->subModelProperties(),
|
||||
*this
|
||||
)
|
||||
),
|
||||
|
||||
@ -17,30 +17,6 @@ FoamFile
|
||||
|
||||
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;
|
||||
|
||||
coupled true;
|
||||
@ -94,8 +70,34 @@ particleForces
|
||||
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;
|
||||
parcelBasisType mass;
|
||||
SOI 0;
|
||||
@ -112,22 +114,22 @@ ManualInjectionCoeffs
|
||||
n 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
e 1;
|
||||
mu 0;
|
||||
}
|
||||
}
|
||||
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
BirdCorrection true;
|
||||
}
|
||||
}
|
||||
|
||||
SingleMixtureFractionCoeffs
|
||||
{
|
||||
SingleMixtureFractionCoeffs
|
||||
{
|
||||
phases
|
||||
(
|
||||
gas
|
||||
@ -149,30 +151,31 @@ SingleMixtureFractionCoeffs
|
||||
YGasTot0 0.211;
|
||||
YLiquidTot0 0.026;
|
||||
YSolidTot0 0.763;
|
||||
}
|
||||
}
|
||||
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
enthalpyTransfer enthalpyDifference;
|
||||
|
||||
activeLiquids
|
||||
(
|
||||
H2O
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
ConstantRateDevolatilisationCoeffs
|
||||
{
|
||||
ConstantRateDevolatilisationCoeffs
|
||||
{
|
||||
A0 A0 [ 0 0 -1 0 0 ] 12;
|
||||
volatileResidualCoeff 0.001;
|
||||
}
|
||||
}
|
||||
|
||||
COxidationKineticDiffusionLimitedRateCoeffs
|
||||
{
|
||||
COxidationKineticDiffusionLimitedRateCoeffs
|
||||
{
|
||||
Sb Sb [ 0 0 0 0 0 ] 2.667;
|
||||
C1 C1 [ 0 0 0 0 0] 5.0E-12;
|
||||
C2 C2 [ 0 0 0 0 0] 0.002;
|
||||
E E [ 0 0 0 0 0] 7.9E+07;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -17,22 +17,6 @@ FoamFile
|
||||
|
||||
active true;
|
||||
|
||||
InjectionModel ManualInjection;
|
||||
|
||||
DragModel SphereDrag;
|
||||
|
||||
DispersionModel StochasticDispersionRAS;
|
||||
|
||||
PatchInteractionModel StandardWallInteraction;
|
||||
|
||||
HeatTransferModel RanzMarshall;
|
||||
|
||||
PostProcessingModel none;
|
||||
|
||||
CollisionModel none;
|
||||
|
||||
SurfaceFilmModel none;
|
||||
|
||||
radiation on;
|
||||
|
||||
coupled true;
|
||||
@ -79,8 +63,26 @@ particleForces
|
||||
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;
|
||||
parcelBasisType mass;
|
||||
SOI 0;
|
||||
@ -97,18 +99,19 @@ ManualInjectionCoeffs
|
||||
n 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
e 1;
|
||||
mu 0;
|
||||
}
|
||||
}
|
||||
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
BirdCorrection false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -17,31 +17,6 @@ FoamFile
|
||||
|
||||
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;
|
||||
|
||||
coupled true;
|
||||
@ -95,41 +70,49 @@ particleForces
|
||||
paramagnetic off;
|
||||
}
|
||||
|
||||
ManualInjectionCoeffs
|
||||
subModels
|
||||
{
|
||||
massTotal massTotal [ 1 0 0 0 0 ] 1e-3;
|
||||
parcelBasisType mass;
|
||||
SOI 0.5;
|
||||
positionsFile "reactingCloud1Positions";
|
||||
U0 ( 0 0 0 );
|
||||
parcelPDF
|
||||
{
|
||||
pdfType uniform;
|
||||
uniformPDF
|
||||
{
|
||||
minValue 1e-04;
|
||||
maxValue 1e-04;
|
||||
}
|
||||
}
|
||||
}
|
||||
InjectionModel ReactingMultiphaseLookupTableInjection;
|
||||
|
||||
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;
|
||||
parcelBasisType mass;
|
||||
SOI 0.5;
|
||||
inputFile "parcelInjectionProperties";
|
||||
duration 1.0;
|
||||
parcelsPerSecond 250;
|
||||
}
|
||||
}
|
||||
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
}
|
||||
|
||||
LocalInteractionCoeffs
|
||||
{
|
||||
LocalInteractionCoeffs
|
||||
{
|
||||
patches
|
||||
(
|
||||
walls
|
||||
@ -145,15 +128,15 @@ LocalInteractionCoeffs
|
||||
type rebound;
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
BirdCorrection true;
|
||||
}
|
||||
}
|
||||
|
||||
SingleMixtureFractionCoeffs
|
||||
{
|
||||
SingleMixtureFractionCoeffs
|
||||
{
|
||||
phases
|
||||
(
|
||||
gas
|
||||
@ -170,20 +153,20 @@ SingleMixtureFractionCoeffs
|
||||
YGasTot0 0;
|
||||
YLiquidTot0 1;
|
||||
YSolidTot0 0;
|
||||
}
|
||||
}
|
||||
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
enthalpyTransfer enthalpyDifference;
|
||||
|
||||
activeLiquids
|
||||
(
|
||||
H2O
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
PatchPostProcessingCoeffs
|
||||
{
|
||||
PatchPostProcessingCoeffs
|
||||
{
|
||||
maxStoredParcels 20;
|
||||
|
||||
patches
|
||||
@ -191,6 +174,7 @@ PatchPostProcessingCoeffs
|
||||
cycLeft_half0
|
||||
cycLeft_half1
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -17,30 +17,6 @@ FoamFile
|
||||
|
||||
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;
|
||||
|
||||
coupled false;
|
||||
@ -96,8 +72,34 @@ particleForces
|
||||
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
|
||||
parcelBasisType mass;
|
||||
SOI 0;
|
||||
@ -112,19 +114,19 @@ ManualInjectionCoeffs
|
||||
maxValue 100e-06;
|
||||
}
|
||||
}
|
||||
}
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
}
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
}
|
||||
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
BirdCorrection off;
|
||||
}
|
||||
}
|
||||
|
||||
SingleMixtureFractionCoeffs
|
||||
{
|
||||
SingleMixtureFractionCoeffs
|
||||
{
|
||||
phases
|
||||
(
|
||||
gas
|
||||
@ -141,26 +143,27 @@ SingleMixtureFractionCoeffs
|
||||
YGasTot0 0;
|
||||
YLiquidTot0 1;
|
||||
YSolidTot0 0;
|
||||
}
|
||||
}
|
||||
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
enthalpyTransfer enthalpyDifference; // latentHeat;
|
||||
|
||||
activeLiquids
|
||||
(
|
||||
H2O
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
PatchPostProcessingCoeffs
|
||||
{
|
||||
PatchPostProcessingCoeffs
|
||||
{
|
||||
maxStoredParcels 100;
|
||||
|
||||
patches
|
||||
(
|
||||
outlet
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -17,30 +17,6 @@ FoamFile
|
||||
|
||||
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;
|
||||
|
||||
coupled true;
|
||||
@ -96,8 +72,34 @@ particleForces
|
||||
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;
|
||||
massTotal massTotal [ 1 0 0 0 0 ] 8;
|
||||
parcelBasisType mass;
|
||||
@ -133,20 +135,20 @@ PatchInjectionCoeffs
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
}
|
||||
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
BirdCorrection off;
|
||||
}
|
||||
}
|
||||
|
||||
SingleMixtureFractionCoeffs
|
||||
{
|
||||
SingleMixtureFractionCoeffs
|
||||
{
|
||||
phases
|
||||
(
|
||||
gas
|
||||
@ -163,26 +165,27 @@ SingleMixtureFractionCoeffs
|
||||
YGasTot0 0;
|
||||
YLiquidTot0 1;
|
||||
YSolidTot0 0;
|
||||
}
|
||||
}
|
||||
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
enthalpyTransfer enthalpyDifference;
|
||||
|
||||
activeLiquids
|
||||
(
|
||||
H2O
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
PatchPostProcessingCoeffs
|
||||
{
|
||||
PatchPostProcessingCoeffs
|
||||
{
|
||||
maxStoredParcels 100;
|
||||
|
||||
patches
|
||||
(
|
||||
outlet
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.6 |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -17,26 +17,6 @@ FoamFile
|
||||
|
||||
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;
|
||||
|
||||
coupled true;
|
||||
@ -88,13 +68,35 @@ particleForces
|
||||
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
|
||||
(
|
||||
liquid
|
||||
@ -102,10 +104,11 @@ SinglePhaseMixtureCoeffs
|
||||
H2O 1;
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
ThermoSurfaceFilmCoeffs
|
||||
{}
|
||||
ThermoSurfaceFilmCoeffs
|
||||
{}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.6 |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -17,26 +17,6 @@ FoamFile
|
||||
|
||||
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;
|
||||
|
||||
coupled true;
|
||||
@ -88,8 +68,30 @@ particleForces
|
||||
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;
|
||||
duration 10.000;
|
||||
position (0.5 0.8 1.45);
|
||||
@ -113,10 +115,10 @@ ConeInjectionCoeffs
|
||||
n 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ConeInjectionMPCoeffs
|
||||
{
|
||||
ConeInjectionMPCoeffs
|
||||
{
|
||||
SOI 0.000;
|
||||
duration 20.000;
|
||||
positionsFile "reactingCloud1Positions";
|
||||
@ -142,21 +144,21 @@ ConeInjectionMPCoeffs
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
}
|
||||
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
BirdCorrection false;
|
||||
}
|
||||
}
|
||||
|
||||
SinglePhaseMixtureCoeffs
|
||||
{
|
||||
SinglePhaseMixtureCoeffs
|
||||
{
|
||||
phases
|
||||
(
|
||||
liquid
|
||||
@ -164,18 +166,19 @@ SinglePhaseMixtureCoeffs
|
||||
H2O 1;
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
activeLiquids
|
||||
(
|
||||
H2O
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
ThermoSurfaceFilmCoeffs
|
||||
{}
|
||||
ThermoSurfaceFilmCoeffs
|
||||
{}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -17,26 +17,6 @@ FoamFile
|
||||
|
||||
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;
|
||||
|
||||
coupled true;
|
||||
@ -88,8 +68,30 @@ particleForces
|
||||
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;
|
||||
duration 10.000;
|
||||
position (0.5 0.8 1.45);
|
||||
@ -113,10 +115,10 @@ ConeInjectionCoeffs
|
||||
n 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ConeInjectionMPCoeffs
|
||||
{
|
||||
ConeInjectionMPCoeffs
|
||||
{
|
||||
SOI 0.000;
|
||||
duration 20.000;
|
||||
positionsFile "reactingCloud1Positions";
|
||||
@ -142,21 +144,21 @@ ConeInjectionMPCoeffs
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
}
|
||||
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
BirdCorrection false;
|
||||
}
|
||||
}
|
||||
|
||||
SinglePhaseMixtureCoeffs
|
||||
{
|
||||
SinglePhaseMixtureCoeffs
|
||||
{
|
||||
phases
|
||||
(
|
||||
liquid
|
||||
@ -164,18 +166,19 @@ SinglePhaseMixtureCoeffs
|
||||
H2O 1;
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
activeLiquids
|
||||
(
|
||||
H2O
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
ThermoSurfaceFilmCoeffs
|
||||
{}
|
||||
ThermoSurfaceFilmCoeffs
|
||||
{}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -17,26 +17,6 @@ FoamFile
|
||||
|
||||
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;
|
||||
|
||||
coupled true;
|
||||
@ -88,13 +68,35 @@ particleForces
|
||||
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
|
||||
(
|
||||
liquid
|
||||
@ -102,10 +104,11 @@ SinglePhaseMixtureCoeffs
|
||||
H2O 1;
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
ThermoSurfaceFilmCoeffs
|
||||
{}
|
||||
ThermoSurfaceFilmCoeffs
|
||||
{}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -17,26 +17,6 @@ FoamFile
|
||||
|
||||
active true;
|
||||
|
||||
InjectionModel ManualInjection;
|
||||
|
||||
DragModel SphereDrag;
|
||||
|
||||
DispersionModel none;
|
||||
|
||||
PatchInteractionModel StandardWallInteraction;
|
||||
|
||||
HeatTransferModel RanzMarshall;
|
||||
|
||||
CompositionModel SinglePhaseMixture;
|
||||
|
||||
PhaseChangeModel LiquidEvaporation;
|
||||
|
||||
PostProcessingModel none;
|
||||
|
||||
CollisionModel none;
|
||||
|
||||
SurfaceFilmModel none;
|
||||
|
||||
radiation off;
|
||||
|
||||
coupled true;
|
||||
@ -88,8 +68,30 @@ particleForces
|
||||
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;
|
||||
parcelBasisType mass;
|
||||
SOI 0;
|
||||
@ -104,20 +106,20 @@ ManualInjectionCoeffs
|
||||
maxValue 1e-04;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
}
|
||||
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
BirdCorrection true;
|
||||
}
|
||||
}
|
||||
|
||||
SinglePhaseMixtureCoeffs
|
||||
{
|
||||
SinglePhaseMixtureCoeffs
|
||||
{
|
||||
phases
|
||||
(
|
||||
liquid
|
||||
@ -125,16 +127,18 @@ SinglePhaseMixtureCoeffs
|
||||
H2O 1;
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
enthalpyTransfer enthalpyDifference;
|
||||
|
||||
activeLiquids
|
||||
(
|
||||
H2O
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -17,20 +17,6 @@ FoamFile
|
||||
|
||||
active true;
|
||||
|
||||
InjectionModel ManualInjection;
|
||||
|
||||
DragModel SphereDrag;
|
||||
|
||||
DispersionModel StochasticDispersionRAS;
|
||||
|
||||
PatchInteractionModel StandardWallInteraction;
|
||||
|
||||
PostProcessingModel none;
|
||||
|
||||
SurfaceFilmModel none;
|
||||
|
||||
CollisionModel none;
|
||||
|
||||
coupled true;
|
||||
|
||||
cellValueSourceCorrection on;
|
||||
@ -66,8 +52,24 @@ particleForces
|
||||
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;
|
||||
parcelBasisType mass;
|
||||
SOI 0;
|
||||
@ -84,10 +86,10 @@ ManualInjectionCoeffs
|
||||
n 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ConeInjectionCoeffs
|
||||
{
|
||||
ConeInjectionCoeffs
|
||||
{
|
||||
SOI 0.001;
|
||||
duration 0.005;
|
||||
position ( 0.25 0.25 0.05 );
|
||||
@ -109,11 +111,12 @@ ConeInjectionCoeffs
|
||||
n ( 0.5 );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -17,22 +17,6 @@ FoamFile
|
||||
|
||||
active true;
|
||||
|
||||
InjectionModel ManualInjection;
|
||||
|
||||
DragModel SphereDrag;
|
||||
|
||||
DispersionModel StochasticDispersionRAS;
|
||||
|
||||
PatchInteractionModel StandardWallInteraction;
|
||||
|
||||
HeatTransferModel RanzMarshall;
|
||||
|
||||
PostProcessingModel none;
|
||||
|
||||
CollisionModel none;
|
||||
|
||||
SurfaceFilmModel none;
|
||||
|
||||
radiation off;
|
||||
|
||||
coupled true;
|
||||
@ -79,8 +63,26 @@ particleForces
|
||||
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;
|
||||
parcelBasisType mass;
|
||||
SOI 0;
|
||||
@ -97,17 +99,18 @@ ManualInjectionCoeffs
|
||||
n 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
}
|
||||
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
// thermal shielding
|
||||
BirdCorrection false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user