mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated the porousExplicitSourceReactingParcelFoam solver to use the
reacting multi-phase level of cloud/parcel - changes to createClouds.H - updated tutorial cases to reflect changes
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
Info<< "\nConstructing reacting cloud" << endl;
|
Info<< "\nConstructing reacting cloud" << endl;
|
||||||
icoPoly8ThermoReactingCloud parcels
|
icoPoly8ThermoReactingMultiphaseCloud parcels
|
||||||
(
|
(
|
||||||
"reactingCloud1",
|
"reactingCloud1",
|
||||||
rho,
|
rho,
|
||||||
|
|||||||
@ -43,7 +43,7 @@ Description
|
|||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "hReactionThermo.H"
|
#include "hReactionThermo.H"
|
||||||
#include "turbulenceModel.H"
|
#include "turbulenceModel.H"
|
||||||
#include "BasicReactingCloud.H"
|
#include "BasicReactingMultiphaseCloud.H"
|
||||||
#include "rhoChemistryModel.H"
|
#include "rhoChemistryModel.H"
|
||||||
#include "chemistrySolver.H"
|
#include "chemistrySolver.H"
|
||||||
#include "radiationModel.H"
|
#include "radiationModel.H"
|
||||||
|
|||||||
@ -27,10 +27,14 @@ PatchInteractionModel StandardWallInteraction;
|
|||||||
|
|
||||||
HeatTransferModel RanzMarshall;
|
HeatTransferModel RanzMarshall;
|
||||||
|
|
||||||
CompositionModel SinglePhaseMixture;
|
CompositionModel SingleMixtureFraction;
|
||||||
|
|
||||||
PhaseChangeModel LiquidEvaporation;
|
PhaseChangeModel LiquidEvaporation;
|
||||||
|
|
||||||
|
DevolatilisationModel none;
|
||||||
|
|
||||||
|
SurfaceReactionModel none;
|
||||||
|
|
||||||
PostProcessingModel none;
|
PostProcessingModel none;
|
||||||
|
|
||||||
radiation off;
|
radiation off;
|
||||||
@ -55,6 +59,8 @@ constantProperties
|
|||||||
Tvap Tvap [ 0 0 0 1 0 ] 284;
|
Tvap Tvap [ 0 0 0 1 0 ] 284;
|
||||||
Tbp Tbp [ 0 0 0 1 0 ] 373;
|
Tbp Tbp [ 0 0 0 1 0 ] 373;
|
||||||
Pr Pr [ 0 0 0 0 0 ] 0.7;
|
Pr Pr [ 0 0 0 0 0 ] 0.7;
|
||||||
|
LDevol LDevol [ 0 0 0 0 0 ] 0;
|
||||||
|
hRetentionCoeff hRetentionCoeff [ 0 0 0 0 0 ] 1;
|
||||||
constantVolume false;
|
constantVolume false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -110,15 +116,24 @@ RanzMarshallCoeffs
|
|||||||
BirdCorrection off;
|
BirdCorrection off;
|
||||||
}
|
}
|
||||||
|
|
||||||
SinglePhaseMixtureCoeffs
|
SingleMixtureFractionCoeffs
|
||||||
{
|
{
|
||||||
phases
|
phases
|
||||||
(
|
(
|
||||||
|
gas
|
||||||
|
{
|
||||||
|
}
|
||||||
liquid
|
liquid
|
||||||
{
|
{
|
||||||
H2O 1;
|
H2O 1;
|
||||||
}
|
}
|
||||||
|
solid
|
||||||
|
{
|
||||||
|
}
|
||||||
);
|
);
|
||||||
|
YGasTot0 0;
|
||||||
|
YLiquidTot0 1;
|
||||||
|
YSolidTot0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
LiquidEvaporationCoeffs
|
LiquidEvaporationCoeffs
|
||||||
|
|||||||
@ -27,10 +27,14 @@ PatchInteractionModel StandardWallInteraction;
|
|||||||
|
|
||||||
HeatTransferModel RanzMarshall;
|
HeatTransferModel RanzMarshall;
|
||||||
|
|
||||||
CompositionModel SinglePhaseMixture;
|
CompositionModel SingleMixtureFraction;
|
||||||
|
|
||||||
PhaseChangeModel LiquidEvaporation;
|
PhaseChangeModel LiquidEvaporation;
|
||||||
|
|
||||||
|
DevolatilisationModel none;
|
||||||
|
|
||||||
|
SurfaceReactionModel none;
|
||||||
|
|
||||||
PostProcessingModel PatchPostProcessing;
|
PostProcessingModel PatchPostProcessing;
|
||||||
|
|
||||||
radiation off;
|
radiation off;
|
||||||
@ -55,6 +59,8 @@ constantProperties
|
|||||||
Tvap Tvap [ 0 0 0 1 0 ] 273;
|
Tvap Tvap [ 0 0 0 1 0 ] 273;
|
||||||
Tbp Tbp [ 0 0 0 1 0 ] 373;
|
Tbp Tbp [ 0 0 0 1 0 ] 373;
|
||||||
Pr Pr [ 0 0 0 0 0 ] 0.7;
|
Pr Pr [ 0 0 0 0 0 ] 0.7;
|
||||||
|
LDevol LDevol [ 0 0 0 0 0 ] 0;
|
||||||
|
hRetentionCoeff hRetentionCoeff [ 0 0 0 0 0 ] 1;
|
||||||
constantVolume false;
|
constantVolume false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -132,15 +138,24 @@ RanzMarshallCoeffs
|
|||||||
BirdCorrection off;
|
BirdCorrection off;
|
||||||
}
|
}
|
||||||
|
|
||||||
SinglePhaseMixtureCoeffs
|
SingleMixtureFractionCoeffs
|
||||||
{
|
{
|
||||||
phases
|
phases
|
||||||
(
|
(
|
||||||
|
gas
|
||||||
|
{
|
||||||
|
}
|
||||||
liquid
|
liquid
|
||||||
{
|
{
|
||||||
H2O 1;
|
H2O 1;
|
||||||
}
|
}
|
||||||
|
solid
|
||||||
|
{
|
||||||
|
}
|
||||||
);
|
);
|
||||||
|
YGasTot0 0;
|
||||||
|
YLiquidTot0 1;
|
||||||
|
YSolidTot0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
LiquidEvaporationCoeffs
|
LiquidEvaporationCoeffs
|
||||||
|
|||||||
Reference in New Issue
Block a user