mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: updated porousExplicitSourceReactingParcelFoam filter tutorial
This commit is contained in:
@ -11,22 +11,22 @@ FoamFile
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object pointMassSourcesProperties;
|
||||
object energySourcesProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
active true;
|
||||
|
||||
pointSources
|
||||
(
|
||||
source1
|
||||
{
|
||||
timeStart 0.2;
|
||||
duration 2.0;
|
||||
location (2.75 0.5 0);
|
||||
fieldData
|
||||
active true;
|
||||
timeStart 0.2;
|
||||
duration 2.0;
|
||||
selectionMode points;
|
||||
volumeMode absolute;
|
||||
fieldData 10;
|
||||
points
|
||||
(
|
||||
(H2O 0.01)
|
||||
(2.75 0.5 0)
|
||||
);
|
||||
}
|
||||
);
|
||||
@ -0,0 +1,38 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.6 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object massSourcesProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
(
|
||||
source1
|
||||
{
|
||||
active true;
|
||||
timeStart 0.2;
|
||||
duration 2.0;
|
||||
selectionMode points;
|
||||
volumeMode absolute;
|
||||
fieldData
|
||||
(
|
||||
(H2O 0.005)
|
||||
);
|
||||
points
|
||||
(
|
||||
(2.75 0.5 0)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,35 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.6 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object momentumSourcesProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
(
|
||||
source1
|
||||
{
|
||||
active true;
|
||||
timeStart 0.2;
|
||||
duration 2.0;
|
||||
selectionMode points;
|
||||
volumeMode absolute;
|
||||
fieldData (0 0.005 0);
|
||||
points
|
||||
(
|
||||
(2.75 0.5 0)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -15,30 +15,9 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
(
|
||||
(0.002 0.002 0.00005)
|
||||
(0.004 0.002 0.00005)
|
||||
(0.006 0.002 0.00005)
|
||||
(0.008 0.002 0.00005)
|
||||
(0.010 0.002 0.00005)
|
||||
(0.002 0.004 0.00005)
|
||||
(0.004 0.004 0.00005)
|
||||
(0.006 0.004 0.00005)
|
||||
(0.008 0.004 0.00005)
|
||||
(0.010 0.004 0.00005)
|
||||
(0.002 0.006 0.00005)
|
||||
(0.004 0.006 0.00005)
|
||||
(0.006 0.006 0.00005)
|
||||
(0.008 0.006 0.00005)
|
||||
(0.010 0.006 0.00005)
|
||||
(0.002 0.008 0.00005)
|
||||
(0.004 0.008 0.00005)
|
||||
(0.006 0.008 0.00005)
|
||||
(0.008 0.008 0.00005)
|
||||
(0.010 0.008 0.00005)
|
||||
(0.002 0.010 0.00005)
|
||||
(0.004 0.010 0.00005)
|
||||
(0.006 0.010 0.00005)
|
||||
(0.008 0.010 0.00005)
|
||||
(0.010 0.010 0.00005)
|
||||
(0.1 0.32 0.0)
|
||||
(0.1 0.44 0.0)
|
||||
(0.1 0.56 0.0)
|
||||
(0.1 0.68 0.0)
|
||||
)
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -17,7 +17,8 @@ FoamFile
|
||||
|
||||
active true;
|
||||
|
||||
InjectionModel ReactingLookupTableInjection;
|
||||
//InjectionModel ReactingLookupTableInjection;
|
||||
InjectionModel ManualInjection;
|
||||
|
||||
DragModel SphereDrag;
|
||||
|
||||
@ -27,12 +28,16 @@ PatchInteractionModel LocalInteraction;
|
||||
|
||||
HeatTransferModel RanzMarshall;
|
||||
|
||||
CompositionModel SinglePhaseMixture;
|
||||
CompositionModel SingleMixtureFraction;
|
||||
|
||||
PhaseChangeModel LiquidEvaporation;
|
||||
|
||||
PostProcessingModel PatchPostProcessing;
|
||||
|
||||
DevolatilisationModel none;
|
||||
|
||||
SurfaceReactionModel none;
|
||||
|
||||
radiation off;
|
||||
|
||||
coupled true;
|
||||
@ -55,6 +60,8 @@ constantProperties
|
||||
Pr Pr [ 0 0 0 0 0 ] 0.7;
|
||||
Tvap Tvap [ 0 0 0 1 0 ] 273;
|
||||
Tbp Tvap [ 0 0 0 1 0 ] 373;
|
||||
LDevol LDevol [ 0 0 0 0 0 ] 0;
|
||||
hRetentionCoeff hRetentionCoeff [ 0 0 0 0 0 ] 1;
|
||||
constantVolume false;
|
||||
}
|
||||
|
||||
@ -83,9 +90,9 @@ particleForces
|
||||
|
||||
ManualInjectionCoeffs
|
||||
{
|
||||
massTotal massTotal [ 1 0 0 0 0 ] 1e-2;
|
||||
massTotal massTotal [ 1 0 0 0 0 ] 1e-3;
|
||||
parcelBasisType mass;
|
||||
SOI 0;
|
||||
SOI 0.5;
|
||||
positionsFile "reactingCloud1Positions";
|
||||
U0 ( 0 0 0 );
|
||||
parcelPDF
|
||||
@ -109,7 +116,6 @@ ReactingLookupTableInjectionCoeffs
|
||||
parcelsPerSecond 250;
|
||||
}
|
||||
|
||||
|
||||
StandardWallInteractionCoeffs
|
||||
{
|
||||
type rebound;
|
||||
@ -135,15 +141,24 @@ RanzMarshallCoeffs
|
||||
BirdCorrection true;
|
||||
}
|
||||
|
||||
SinglePhaseMixtureCoeffs
|
||||
SingleMixtureFractionCoeffs
|
||||
{
|
||||
phases
|
||||
(
|
||||
gas
|
||||
{
|
||||
}
|
||||
liquid
|
||||
{
|
||||
H2O 1;
|
||||
H2O 1;
|
||||
}
|
||||
solid
|
||||
{
|
||||
}
|
||||
);
|
||||
YGasTot0 0;
|
||||
YLiquidTot0 1;
|
||||
YSolidTot0 0;
|
||||
}
|
||||
|
||||
LiquidEvaporationCoeffs
|
||||
|
||||
Reference in New Issue
Block a user