ENH: updated porousExplicitSourceReactingParcelFoam filter tutorial

This commit is contained in:
andy
2010-02-03 18:48:33 +00:00
parent 8bd56817fa
commit f8faccf8dd
5 changed files with 108 additions and 41 deletions

View File

@ -11,22 +11,22 @@ FoamFile
format ascii; format ascii;
class dictionary; class dictionary;
location "constant"; location "constant";
object pointMassSourcesProperties; object energySourcesProperties;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
active true;
pointSources
( (
source1 source1
{ {
active true;
timeStart 0.2; timeStart 0.2;
duration 2.0; duration 2.0;
location (2.75 0.5 0); selectionMode points;
fieldData volumeMode absolute;
fieldData 10;
points
( (
(H2O 0.01) (2.75 0.5 0)
); );
} }
); );

View File

@ -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)
);
}
);
// ************************************************************************* //

View File

@ -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)
);
}
);
// ************************************************************************* //

View File

@ -15,30 +15,9 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
( (
(0.002 0.002 0.00005) (0.1 0.32 0.0)
(0.004 0.002 0.00005) (0.1 0.44 0.0)
(0.006 0.002 0.00005) (0.1 0.56 0.0)
(0.008 0.002 0.00005) (0.1 0.68 0.0)
(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)
) )
// ************************************************************************* // // ************************************************************************* //

View File

@ -17,7 +17,8 @@ FoamFile
active true; active true;
InjectionModel ReactingLookupTableInjection; //InjectionModel ReactingLookupTableInjection;
InjectionModel ManualInjection;
DragModel SphereDrag; DragModel SphereDrag;
@ -27,12 +28,16 @@ PatchInteractionModel LocalInteraction;
HeatTransferModel RanzMarshall; HeatTransferModel RanzMarshall;
CompositionModel SinglePhaseMixture; CompositionModel SingleMixtureFraction;
PhaseChangeModel LiquidEvaporation; PhaseChangeModel LiquidEvaporation;
PostProcessingModel PatchPostProcessing; PostProcessingModel PatchPostProcessing;
DevolatilisationModel none;
SurfaceReactionModel none;
radiation off; radiation off;
coupled true; coupled true;
@ -55,6 +60,8 @@ constantProperties
Pr Pr [ 0 0 0 0 0 ] 0.7; Pr Pr [ 0 0 0 0 0 ] 0.7;
Tvap Tvap [ 0 0 0 1 0 ] 273; Tvap Tvap [ 0 0 0 1 0 ] 273;
Tbp Tvap [ 0 0 0 1 0 ] 373; 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; constantVolume false;
} }
@ -83,9 +90,9 @@ particleForces
ManualInjectionCoeffs ManualInjectionCoeffs
{ {
massTotal massTotal [ 1 0 0 0 0 ] 1e-2; massTotal massTotal [ 1 0 0 0 0 ] 1e-3;
parcelBasisType mass; parcelBasisType mass;
SOI 0; SOI 0.5;
positionsFile "reactingCloud1Positions"; positionsFile "reactingCloud1Positions";
U0 ( 0 0 0 ); U0 ( 0 0 0 );
parcelPDF parcelPDF
@ -109,7 +116,6 @@ ReactingLookupTableInjectionCoeffs
parcelsPerSecond 250; parcelsPerSecond 250;
} }
StandardWallInteractionCoeffs StandardWallInteractionCoeffs
{ {
type rebound; type rebound;
@ -135,15 +141,24 @@ RanzMarshallCoeffs
BirdCorrection true; BirdCorrection true;
} }
SinglePhaseMixtureCoeffs SingleMixtureFractionCoeffs
{ {
phases phases
( (
gas
{
}
liquid liquid
{ {
H2O 1; H2O 1;
} }
solid
{
}
); );
YGasTot0 0;
YLiquidTot0 1;
YSolidTot0 0;
} }
LiquidEvaporationCoeffs LiquidEvaporationCoeffs