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:
@ -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,102 +70,111 @@ 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
|
||||
InjectionModel ReactingMultiphaseLookupTableInjection;
|
||||
|
||||
DragModel SphereDrag;
|
||||
|
||||
DispersionModel none;
|
||||
|
||||
PatchInteractionModel LocalInteraction;
|
||||
|
||||
HeatTransferModel RanzMarshall;
|
||||
|
||||
CompositionModel SingleMixtureFraction;
|
||||
|
||||
PhaseChangeModel LiquidEvaporation;
|
||||
|
||||
PostProcessingModel PatchPostProcessing;
|
||||
|
||||
DevolatilisationModel none;
|
||||
|
||||
SurfaceReactionModel none;
|
||||
|
||||
SurfaceFilmModel none;
|
||||
|
||||
CollisionModel none;
|
||||
|
||||
ReactingMultiphaseLookupTableInjectionCoeffs
|
||||
{
|
||||
pdfType uniform;
|
||||
uniformPDF
|
||||
{
|
||||
minValue 1e-04;
|
||||
maxValue 1e-04;
|
||||
}
|
||||
massTotal massTotal [ 1 0 0 0 0 ] 1e-2;
|
||||
parcelBasisType mass;
|
||||
SOI 0.5;
|
||||
inputFile "parcelInjectionProperties";
|
||||
duration 1.0;
|
||||
parcelsPerSecond 250;
|
||||
}
|
||||
}
|
||||
|
||||
ReactingMultiphaseLookupTableInjectionCoeffs
|
||||
{
|
||||
massTotal massTotal [ 1 0 0 0 0 ] 1e-2;
|
||||
parcelBasisType mass;
|
||||
SOI 0.5;
|
||||
inputFile "parcelInjectionProperties";
|
||||
duration 1.0;
|
||||
parcelsPerSecond 250;
|
||||
}
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
LocalInteractionCoeffs
|
||||
{
|
||||
patches
|
||||
(
|
||||
walls
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
cycLeft_half0
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
cycLeft_half1
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
LocalInteractionCoeffs
|
||||
{
|
||||
patches
|
||||
(
|
||||
walls
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
cycLeft_half0
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
cycLeft_half1
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
);
|
||||
}
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
BirdCorrection true;
|
||||
}
|
||||
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
BirdCorrection true;
|
||||
}
|
||||
SingleMixtureFractionCoeffs
|
||||
{
|
||||
phases
|
||||
(
|
||||
gas
|
||||
{
|
||||
}
|
||||
liquid
|
||||
{
|
||||
H2O 1;
|
||||
}
|
||||
solid
|
||||
{
|
||||
}
|
||||
);
|
||||
YGasTot0 0;
|
||||
YLiquidTot0 1;
|
||||
YSolidTot0 0;
|
||||
}
|
||||
|
||||
SingleMixtureFractionCoeffs
|
||||
{
|
||||
phases
|
||||
(
|
||||
gas
|
||||
{
|
||||
}
|
||||
liquid
|
||||
{
|
||||
H2O 1;
|
||||
}
|
||||
solid
|
||||
{
|
||||
}
|
||||
);
|
||||
YGasTot0 0;
|
||||
YLiquidTot0 1;
|
||||
YSolidTot0 0;
|
||||
}
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
enthalpyTransfer enthalpyDifference;
|
||||
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
enthalpyTransfer enthalpyDifference;
|
||||
activeLiquids
|
||||
(
|
||||
H2O
|
||||
);
|
||||
}
|
||||
|
||||
activeLiquids
|
||||
(
|
||||
H2O
|
||||
);
|
||||
}
|
||||
PatchPostProcessingCoeffs
|
||||
{
|
||||
maxStoredParcels 20;
|
||||
|
||||
PatchPostProcessingCoeffs
|
||||
{
|
||||
maxStoredParcels 20;
|
||||
|
||||
patches
|
||||
(
|
||||
cycLeft_half0
|
||||
cycLeft_half1
|
||||
);
|
||||
patches
|
||||
(
|
||||
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,71 +72,98 @@ particleForces
|
||||
paramagnetic off;
|
||||
}
|
||||
|
||||
ManualInjectionCoeffs
|
||||
subModels
|
||||
{
|
||||
massTotal massTotal [ 1 0 0 0 0 ] 5.23599e-10; // 1 droplet of density 1000 kg/m3
|
||||
parcelBasisType mass;
|
||||
SOI 0;
|
||||
positionsFile "reactingCloud1Positions";
|
||||
U0 (0 0 0);
|
||||
parcelPDF
|
||||
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
|
||||
{
|
||||
pdfType uniform;
|
||||
uniformPDF
|
||||
massTotal massTotal [ 1 0 0 0 0 ] 5.23599e-10; // 1 droplet of density 1000 kg/m3
|
||||
parcelBasisType mass;
|
||||
SOI 0;
|
||||
positionsFile "reactingCloud1Positions";
|
||||
U0 (0 0 0);
|
||||
parcelPDF
|
||||
{
|
||||
minValue 100e-06;
|
||||
maxValue 100e-06;
|
||||
pdfType uniform;
|
||||
uniformPDF
|
||||
{
|
||||
minValue 100e-06;
|
||||
maxValue 100e-06;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
BirdCorrection off;
|
||||
}
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
BirdCorrection off;
|
||||
}
|
||||
|
||||
SingleMixtureFractionCoeffs
|
||||
{
|
||||
phases
|
||||
(
|
||||
gas
|
||||
{
|
||||
}
|
||||
liquid
|
||||
{
|
||||
H2O 1;
|
||||
}
|
||||
solid
|
||||
{
|
||||
}
|
||||
);
|
||||
YGasTot0 0;
|
||||
YLiquidTot0 1;
|
||||
YSolidTot0 0;
|
||||
}
|
||||
SingleMixtureFractionCoeffs
|
||||
{
|
||||
phases
|
||||
(
|
||||
gas
|
||||
{
|
||||
}
|
||||
liquid
|
||||
{
|
||||
H2O 1;
|
||||
}
|
||||
solid
|
||||
{
|
||||
}
|
||||
);
|
||||
YGasTot0 0;
|
||||
YLiquidTot0 1;
|
||||
YSolidTot0 0;
|
||||
}
|
||||
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
enthalpyTransfer enthalpyDifference; // latentHeat;
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
enthalpyTransfer enthalpyDifference; // latentHeat;
|
||||
|
||||
activeLiquids
|
||||
(
|
||||
H2O
|
||||
);
|
||||
}
|
||||
activeLiquids
|
||||
(
|
||||
H2O
|
||||
);
|
||||
}
|
||||
|
||||
PatchPostProcessingCoeffs
|
||||
{
|
||||
maxStoredParcels 100;
|
||||
PatchPostProcessingCoeffs
|
||||
{
|
||||
maxStoredParcels 100;
|
||||
|
||||
patches
|
||||
(
|
||||
outlet
|
||||
);
|
||||
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,93 +72,120 @@ particleForces
|
||||
paramagnetic off;
|
||||
}
|
||||
|
||||
PatchInjectionCoeffs
|
||||
subModels
|
||||
{
|
||||
SOI 0.01;
|
||||
massTotal massTotal [ 1 0 0 0 0 ] 8;
|
||||
parcelBasisType mass;
|
||||
patchName inletCentral;
|
||||
duration 10000;
|
||||
parcelsPerSecond 1e5;
|
||||
U0 (40 0 0);
|
||||
flowRateProfile constant 1;
|
||||
parcelPDF
|
||||
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
|
||||
{
|
||||
pdfType general;
|
||||
generalPDF
|
||||
SOI 0.01;
|
||||
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
|
||||
(
|
||||
(10e-06 0.0025)
|
||||
(15e-06 0.0528)
|
||||
(20e-06 0.2795)
|
||||
(25e-06 1.0918)
|
||||
(30e-06 2.3988)
|
||||
(35e-06 4.4227)
|
||||
(40e-06 6.3888)
|
||||
(45e-06 8.6721)
|
||||
(50e-06 10.3153)
|
||||
(55e-06 11.6259)
|
||||
(60e-06 12.0030)
|
||||
(65e-06 10.4175)
|
||||
(70e-06 10.8427)
|
||||
(75e-06 8.0016)
|
||||
(80e-06 6.1333)
|
||||
(85e-06 3.8827)
|
||||
(90e-06 3.4688)
|
||||
);
|
||||
pdfType general;
|
||||
generalPDF
|
||||
{
|
||||
distribution
|
||||
(
|
||||
(10e-06 0.0025)
|
||||
(15e-06 0.0528)
|
||||
(20e-06 0.2795)
|
||||
(25e-06 1.0918)
|
||||
(30e-06 2.3988)
|
||||
(35e-06 4.4227)
|
||||
(40e-06 6.3888)
|
||||
(45e-06 8.6721)
|
||||
(50e-06 10.3153)
|
||||
(55e-06 11.6259)
|
||||
(60e-06 12.0030)
|
||||
(65e-06 10.4175)
|
||||
(70e-06 10.8427)
|
||||
(75e-06 8.0016)
|
||||
(80e-06 6.1333)
|
||||
(85e-06 3.8827)
|
||||
(90e-06 3.4688)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
}
|
||||
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
BirdCorrection off;
|
||||
}
|
||||
RanzMarshallCoeffs
|
||||
{
|
||||
BirdCorrection off;
|
||||
}
|
||||
|
||||
SingleMixtureFractionCoeffs
|
||||
{
|
||||
phases
|
||||
(
|
||||
gas
|
||||
{
|
||||
}
|
||||
liquid
|
||||
{
|
||||
H2O 1;
|
||||
}
|
||||
solid
|
||||
{
|
||||
}
|
||||
);
|
||||
YGasTot0 0;
|
||||
YLiquidTot0 1;
|
||||
YSolidTot0 0;
|
||||
}
|
||||
SingleMixtureFractionCoeffs
|
||||
{
|
||||
phases
|
||||
(
|
||||
gas
|
||||
{
|
||||
}
|
||||
liquid
|
||||
{
|
||||
H2O 1;
|
||||
}
|
||||
solid
|
||||
{
|
||||
}
|
||||
);
|
||||
YGasTot0 0;
|
||||
YLiquidTot0 1;
|
||||
YSolidTot0 0;
|
||||
}
|
||||
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
enthalpyTransfer enthalpyDifference;
|
||||
LiquidEvaporationCoeffs
|
||||
{
|
||||
enthalpyTransfer enthalpyDifference;
|
||||
|
||||
activeLiquids
|
||||
(
|
||||
H2O
|
||||
);
|
||||
}
|
||||
activeLiquids
|
||||
(
|
||||
H2O
|
||||
);
|
||||
}
|
||||
|
||||
PatchPostProcessingCoeffs
|
||||
{
|
||||
maxStoredParcels 100;
|
||||
PatchPostProcessingCoeffs
|
||||
{
|
||||
maxStoredParcels 100;
|
||||
|
||||
patches
|
||||
(
|
||||
outlet
|
||||
);
|
||||
patches
|
||||
(
|
||||
outlet
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user