ENH: Tutorial updates

This commit is contained in:
andy
2013-11-05 15:22:35 +00:00
parent 2c6491c3c0
commit 00f7b44fa1
19 changed files with 86 additions and 835 deletions

View File

@ -49,6 +49,8 @@ boundaryField
region0_to_pyrolysisRegion_coupledWall region0_to_pyrolysisRegion_coupledWall
{ {
type filmPyrolysisRadiativeCoupledMixed; type filmPyrolysisRadiativeCoupledMixed;
pyrolysisRegion pyrolysisRegion;
filmRegion filmRegion;
Tnbr T; Tnbr T;
kappa fluidThermo; kappa fluidThermo;
QrNbr none; QrNbr none;

View File

@ -34,6 +34,8 @@ boundaryField
region0_to_pyrolysisRegion_coupledWall region0_to_pyrolysisRegion_coupledWall
{ {
type filmPyrolysisRadiativeCoupledMixed; type filmPyrolysisRadiativeCoupledMixed;
pyrolysisRegion pyrolysisRegion;
filmRegion filmRegion;
Tnbr T; Tnbr T;
kappa solidThermo; kappa solidThermo;
kappaName none; kappaName none;

View File

@ -15,32 +15,29 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
1 pyrolysis
( {
pyrolysis active true;
{
active true;
pyrolysisModel reactingOneDim; pyrolysisModel reactingOneDim;
regionName pyrolysisRegion; regionName pyrolysisRegion;
reactingOneDimCoeffs reactingOneDimCoeffs
{ {
filmCoupled true; filmCoupled true;
gasHSource true; gasHSource true;
QrHSource false; QrHSource false;
radFluxName Qr; radFluxName Qr;
moveMesh false; // true; moveMesh false; // true;
minimumDelta 1e-6; minimumDelta 1e-6;
useChemistrySolvers true; useChemistrySolvers true;
} }
} }
)
// ************************************************************************* // // ************************************************************************* //

View File

@ -18,237 +18,7 @@ FoamFile
solution solution
{ {
active false; active false;
coupled yes;
transient yes;
cellValueSourceCorrection yes;
sourceTerms
{
schemes
{
rho explicit 1;
U explicit 1;
Yi explicit 1;
hs explicit 1;
}
}
interpolationSchemes
{
rho cell;
U cellPoint;
mu cell;
T cell;
Cp cell;
p cell;
}
integrationSchemes
{
U Euler;
T analytical;
}
} }
constantProperties
{
parcelTypeId 1;
rhoMin 1e-15;
TMin 200;
pMin 1000;
minParticleMass 1e-15;
rho0 1000;
T0 300;
Cp0 4187;
youngsModulus 1e9;
poissonsRatio 0.35;
epsilon0 1;
f0 0.5;
Pr 0.7;
Tvap 273;
Tbp 373;
constantVolume false;
}
subModels
{
particleForces
{
sphereDrag;
gravity;
}
injectionModel none;//coneInjection;
dispersionModel none;
patchInteractionModel standardWallInteraction;
heatTransferModel none;
compositionModel singlePhaseMixture;
phaseChangeModel none;
surfaceFilmModel thermoSurfaceFilm;
radiation off;
coneNozzleInjectionCoeffs
{
massTotal massTotal [ 1 0 0 0 0 ] 0.0005;
parcelBasisType mass;
SOI 0.001;
duration 10; //0.005;
position ( 0. 0.0 0.0 );
direction ( 0 -1 0 );
parcelsPerSecond 10000;
//flowRateProfile constant 0.01;
flowRateProfile constant 0.01;
Umag constant 50;
thetaInner constant 0;
thetaOuter constant 30;
parcelPDF
{
pdfType RosinRammler;
RosinRammlerPDF
{
minValue 5e-05;
maxValue 0.0001;
// d ( 7.5e-05 );
d 7.5e-05;
// n ( 0.5 );
n 0.5;
}
}
}
coneInjectionCoeffs
{
SOI 1055.00;//800.000;
duration 1000.00;//1800.000;
// positionsFile "reactingCloud1Positions";
// axesFile "reactingCloud1Axes";
positionAxis
(
( ( -2.13360 4.47040 -1.52400) ( 0 -1 0 ) )
( ( -1.52400 4.47040 -1.52400) ( 0 -1 0 ) )
( ( -0.91440 4.47040 -1.52400) ( 0 -1 0 ) )
( ( -0.30480 4.47040 -1.52400) ( 0 -1 0 ) )
( ( 0.30480 4.47040 -1.52400) ( 0 -1 0 ) )
( ( 0.91440 4.47040 -1.52400) ( 0 -1 0 ) )
( ( 1.52400 4.47040 -1.52400) ( 0 -1 0 ) )
( ( 2.13360 4.47040 -1.52400) ( 0 -1 0 ) )
( ( -2.13360 4.47040 -0.91440) ( 0 -1 0 ) )
( ( -1.52400 4.47040 -0.91440) ( 0 -1 0 ) )
( ( -0.91440 4.47040 -0.91440) ( 0 -1 0 ) )
( ( -0.30480 4.47040 -0.91440) ( 0 -1 0 ) )
( ( 0.30480 4.47040 -0.91440) ( 0 -1 0 ) )
( ( 0.91440 4.47040 -0.91440) ( 0 -1 0 ) )
( ( 1.52400 4.47040 -0.91440) ( 0 -1 0 ) )
( ( 2.13360 4.47040 -0.91440) ( 0 -1 0 ) )
( ( -2.13360 4.47040 -0.30480) ( 0 -1 0 ) )
( ( -1.52400 4.47040 -0.30480) ( 0 -1 0 ) )
( ( -0.91440 4.47040 -0.30480) ( 0 -1 0 ) )
( ( -0.30480 4.47040 -0.30480) ( 0 -1 0 ) )
( ( 0.30480 4.47040 -0.30480) ( 0 -1 0 ) )
( ( 0.91440 4.47040 -0.30480) ( 0 -1 0 ) )
( ( 1.52400 4.47040 -0.30480) ( 0 -1 0 ) )
( ( 2.13360 4.47040 -0.30480) ( 0 -1 0 ) )
( ( -2.13360 4.47040 0.30480) ( 0 -1 0 ) )
( ( -1.52400 4.47040 0.30480) ( 0 -1 0 ) )
( ( -0.91440 4.47040 0.30480) ( 0 -1 0 ) )
( ( -0.30480 4.47040 0.30480) ( 0 -1 0 ) )
( ( 0.30480 4.47040 0.30480) ( 0 -1 0 ) )
( ( 0.91440 4.47040 0.30480) ( 0 -1 0 ) )
( ( 1.52400 4.47040 0.30480) ( 0 -1 0 ) )
( ( 2.13360 4.47040 0.30480) ( 0 -1 0 ) )
( ( -2.13360 4.47040 0.91440) ( 0 -1 0 ) )
( ( -1.52400 4.47040 0.91440) ( 0 -1 0 ) )
( ( -0.91440 4.47040 0.91440) ( 0 -1 0 ) )
( ( -0.30480 4.47040 0.91440) ( 0 -1 0 ) )
( ( 0.30480 4.47040 0.91440) ( 0 -1 0 ) )
( ( 0.91440 4.47040 0.91440) ( 0 -1 0 ) )
( ( 1.52400 4.47040 0.91440) ( 0 -1 0 ) )
( ( 2.13360 4.47040 0.91440) ( 0 -1 0 ) )
( ( -2.13360 4.47040 1.52400) ( 0 -1 0 ) )
( ( -1.52400 4.47040 1.52400) ( 0 -1 0 ) )
( ( -0.91440 4.47040 1.52400) ( 0 -1 0 ) )
( ( -0.30480 4.47040 1.52400) ( 0 -1 0 ) )
( ( 0.30480 4.47040 1.52400) ( 0 -1 0 ) )
( ( 0.91440 4.47040 1.52400) ( 0 -1 0 ) )
( ( 1.52400 4.47040 1.52400) ( 0 -1 0 ) )
( ( 2.13360 4.47040 1.52400) ( 0 -1 0 ) )
);
//massTotal is the total for all injectors
massTotal 1211.35; //kg over 1000 seconds (0.1 gpm/ft2)
//massTotal 3634.05; //kg over 1000 seconds (0.3 gpm/ft2)
parcelsPerInjector 30000;
parcelsPerSecond 500;
parcelBasisType mass;
flowRateProfile constant 0.1;
Umag constant 2.0;
thetaInner constant 5;
thetaOuter constant 120;
sizeDistribution
{
type uniform;
uniformDistribution
{
minValue 0.001;
maxValue 0.002;
d ( 7.5e-05 );
n ( 0.5 );
}
}
}
standardWallInteractionCoeffs
{
type escape;//stick;//rebound;
}
RanzMarshallCoeffs
{
// thermal shielding
BirdCorrection true;
}
singlePhaseMixtureCoeffs
{
phases
(
liquid
{
H2O 1;
}
);
}
thermoSurfaceFilmCoeffs
{
interactionType splashBai;
deltaWet 0.0002;
Adry 2630;
Awet 1320;
Cf 0.6;
}
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,30 +23,32 @@ regionName filmRegion;
thermoSingleLayerCoeffs thermoSingleLayerCoeffs
{ {
thermoModel singleComponent; filmThermoModel liquid;
liquidCoeffs
{
useReferenceValues no;
liquid H2O;
}
filmViscosityModel liquid;
hydrophilic no; hydrophilic no;
deltaWet 1e-4; deltaWet 1e-4;
liquid H2O; turbulence laminar;
turbulence laminar;
laminarCoeffs laminarCoeffs
{ {
Cf 0.005; Cf 0.005;
} }
radiationModel none; radiationModel none;
standardRadiationCoeffs standardRadiationCoeffs
{ {
//deltaMi 1e-6;
beta 0.75; beta 0.75;
kappaBar 0.25; kappaBar 0.25;
} }
upperSurfaceModels upperSurfaceModels
{ {
heatTransferModel constant; heatTransferModel constant;
constantCoeffs constantCoeffs
{ {
@ -63,70 +65,14 @@ thermoSingleLayerCoeffs
} }
} }
injectionModels
();
forces forces
( (
surfaceShear
thermocapillary thermocapillary
//contactAngle
); );
surfaceShearCoeffs
{
Cf 0.005;
}
contactAngleCoeffs
{
Ccf 0.085;
contactAngleDistribution
{
type normal;
normalDistribution
{
minValue 50;
maxValue 100;
expectation 75;
variance 100;
}
}
zeroForcePatches
();
}
injectionModels
(
//curvatureSeparation
//drippingInjection
);
curvatureSeparationCoeffs
{
definedPatchRadii
(
("(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])" 0)
);
}
drippingInjectionCoeffs
{
cloudName reactingCloud1;
deltaStable 0;
particlesPerParcel 100.0;
parcelDistribution
{
type RosinRammler;
RosinRammlerDistribution
{
minValue 5e-04;
maxValue 0.0012;
d 7.5e-05;
n 0.5;
}
}
}
phaseChangeModel standardPhaseChange; phaseChangeModel standardPhaseChange;
standardPhaseChangeCoeffs standardPhaseChangeCoeffs
@ -135,4 +81,4 @@ thermoSingleLayerCoeffs
deltaMin 1e-8; deltaMin 1e-8;
L 1.0; L 1.0;
} }
} }

View File

@ -15,29 +15,27 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
1 pyrolysis
( {
pyrolysis active true;
pyrolysisModel reactingOneDim;
regionName panelRegion;
reactingOneDimCoeffs
{ {
active true; gasHSource false; //Energy source term due to pyrolysis gas
QrHSource false; //Energy source term due in depht radiation
minimumDelta 1e-12;
pyrolysisModel reactingOneDim; reactionDeltaMin 1e-12;
regionName panelRegion; moveMesh false;
reactingOneDimCoeffs
{
gasHSource false; //Energy source term due to pyrolysis gas
QrHSource false; //Energy source term due in depht radiation
minimumDelta 1e-12;
reactionDeltaMin 1e-12;
moveMesh false;
}
infoOutput true;
} }
)
infoOutput true;
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -18,142 +18,7 @@ FoamFile
solution solution
{ {
active false; active false;
coupled yes;
transient yes;
cellValueSourceCorrection yes;
maxCo 0.3;
sourceTerms
{
schemes
{
rho explicit 1;
U explicit 1;
Yi explicit 1;
h explicit 1;
radiation explicit 1;
}
}
interpolationSchemes
{
rho cell;
U cellPoint;
mu cell;
T cell;
Cp cell;
p cell;
}
integrationSchemes
{
U Euler;
T analytical;
}
} }
constantProperties
{
rho0 1000;
T0 300;
Cp0 4187;
youngsModulus 1e9;
poissonsRatio 0.35;
epsilon0 1;
f0 0.5;
constantVolume false;
}
subModels
{
particleForces
{
sphereDrag;
gravity;
}
injectionModel coneInjection;
dispersionModel none;
patchInteractionModel standardWallInteraction;
heatTransferModel none;
compositionModel singlePhaseMixture;
phaseChangeModel none;
stochasticCollisionModel none;
surfaceFilmModel thermoSurfaceFilm;
radiation off;
coneInjectionCoeffs
{
SOI 0.000;
duration 20.000;
positionAxis
(
((0.3 0.35 1.45) (0 0 -1))
((0.6 0.35 1.45) (0 0 -1))
);
massTotal 10;
parcelsPerInjector 20000;
parcelsPerSecond 500;
parcelBasisType mass;
flowRateProfile constant 0.1;
Umag constant 3.0;
thetaInner constant 0;
thetaOuter constant 45;
sizeDistribution
{
type RosinRammler;
RosinRammlerDistribution
{
minValue 5e-04;
maxValue 0.0012;
d 7.5e-05;
n 0.5;
}
}
}
standardWallInteractionCoeffs
{
type rebound;
}
singlePhaseMixtureCoeffs
{
phases
(
liquid
{
H2O 1;
}
);
}
thermoSurfaceFilmCoeffs
{
interactionType splashBai;
deltaWet 0.0005;
Adry 2630;
Awet 1320;
Cf 0.6;
}
}
cloudFunctions
{}
// ************************************************************************* // // ************************************************************************* //

View File

@ -15,28 +15,25 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
1 pyrolysis
( {
pyrolysis active false;
pyrolysisModel none;
regionName panelRegion;
reactingOneDimCoeffs
{ {
radFluxName Qr;
active false; minimumDelta 1e-8;
pyrolysisModel none; moveMesh false;
regionName panelRegion;
reactingOneDimCoeffs
{
radFluxName Qr;
minimumDelta 1e-8;
moveMesh false;
}
infoOutput false;
} }
)
infoOutput false;
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -18,142 +18,7 @@ FoamFile
solution solution
{ {
active false; active false;
coupled yes;
transient yes;
cellValueSourceCorrection yes;
maxCo 0.3;
sourceTerms
{
schemes
{
rho explicit 1;
U explicit 1;
Yi explicit 1;
h explicit 1;
radiation explicit 1;
}
}
interpolationSchemes
{
rho cell;
U cellPoint;
mu cell;
T cell;
Cp cell;
p cell;
}
integrationSchemes
{
U Euler;
T analytical;
}
} }
constantProperties
{
rho0 1000;
T0 300;
Cp0 4187;
youngsModulus 1e9;
poissonsRatio 0.35;
epsilon0 1;
f0 0.5;
constantVolume false;
}
subModels
{
particleForces
{
sphereDrag;
gravity;
}
injectionModel coneInjection;
dispersionModel none;
patchInteractionModel standardWallInteraction;
heatTransferModel none;
compositionModel singlePhaseMixture;
phaseChangeModel none;
stochasticCollisionModel none;
surfaceFilmModel thermoSurfaceFilm;
radiation off;
coneInjectionCoeffs
{
SOI 0.000;
duration 20.000;
positionAxis
(
((0.3 0.35 1.45) (0 0 -1))
((0.6 0.35 1.45) (0 0 -1))
);
massTotal 10;
parcelsPerInjector 20000;
parcelsPerSecond 500;
parcelBasisType mass;
flowRateProfile constant 0.1;
Umag constant 3.0;
thetaInner constant 0;
thetaOuter constant 45;
sizeDistribution
{
type RosinRammler;
RosinRammlerDistribution
{
minValue 5e-04;
maxValue 0.0012;
d 7.5e-05;
n 0.5;
}
}
}
standardWallInteractionCoeffs
{
type rebound;
}
singlePhaseMixtureCoeffs
{
phases
(
liquid
{
H2O 1;
}
);
}
thermoSurfaceFilmCoeffs
{
interactionType splashBai;
deltaWet 0.0005;
Adry 2630;
Awet 1320;
Cf 0.6;
}
}
cloudFunctions
{}
// ************************************************************************* // // ************************************************************************* //

View File

@ -15,28 +15,25 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
1 pyrolysis
( {
pyrolysis active false;
pyrolysisModel none;
regionName panelRegion;
reactingOneDimCoeffs
{ {
radFluxName Qr;
active false; minimumDelta 1e-8;
pyrolysisModel none; moveMesh false;
regionName panelRegion;
reactingOneDimCoeffs
{
radFluxName Qr;
minimumDelta 1e-8;
moveMesh false;
}
infoOutput false;
} }
)
infoOutput false;
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -18,142 +18,6 @@ FoamFile
solution solution
{ {
active false; active false;
coupled yes;
transient yes;
cellValueSourceCorrection yes;
maxCo 0.3;
sourceTerms
{
schemes
{
rho explicit 1;
U explicit 1;
Yi explicit 1;
h explicit 1;
radiation explicit 1;
}
}
interpolationSchemes
{
rho cell;
U cellPoint;
mu cell;
T cell;
Cp cell;
p cell;
}
integrationSchemes
{
U Euler;
T analytical;
}
} }
constantProperties
{
rho0 1000;
T0 300;
Cp0 4187;
youngsModulus 1e9;
poissonsRatio 0.35;
epsilon0 1;
f0 0.5;
constantVolume false;
}
subModels
{
particleForces
{
sphereDrag;
gravity;
}
injectionModel coneInjection;
dispersionModel none;
patchInteractionModel standardWallInteraction;
heatTransferModel none;
compositionModel singlePhaseMixture;
phaseChangeModel none;
stochasticCollisionModel none;
surfaceFilmModel thermoSurfaceFilm;
radiation off;
coneInjectionCoeffs
{
SOI 0.000;
duration 20.000;
positionAxis
(
((0.3 0.35 1.45) (0 0 -1))
((0.6 0.35 1.45) (0 0 -1))
);
massTotal 10;
parcelsPerInjector 20000;
parcelsPerSecond 500;
parcelBasisType mass;
flowRateProfile constant 0.1;
Umag constant 3.0;
thetaInner constant 0;
thetaOuter constant 45;
sizeDistribution
{
type RosinRammler;
RosinRammlerDistribution
{
minValue 5e-04;
maxValue 0.0012;
d 7.5e-05;
n 0.5;
}
}
}
standardWallInteractionCoeffs
{
type rebound;
}
singlePhaseMixtureCoeffs
{
phases
(
liquid
{
H2O 1;
}
);
}
thermoSurfaceFilmCoeffs
{
interactionType splashBai;
deltaWet 0.0005;
Adry 2630;
Awet 1320;
Cf 0.6;
}
}
cloudFunctions
{}
// ************************************************************************* // // ************************************************************************* //

View File

@ -65,16 +65,6 @@ constantProperties
T0 350; T0 350;
Cp0 4100; Cp0 4100;
youngsModulus 1e9;
poissonsRatio 0.35;
epsilon0 1;
f0 0.5;
TDevol 273;
LDevol 0;
hRetentionCoeff 1;
constantVolume false; constantVolume false;
} }

View File

@ -59,10 +59,6 @@ constantProperties
rho0 1000; rho0 1000;
T0 300; T0 300;
Cp0 4187; Cp0 4187;
youngsModulus 2e9;
poissonsRatio 0.35;
epsilon0 1; epsilon0 1;
f0 0.5; f0 0.5;

View File

@ -59,9 +59,6 @@ constantProperties
T0 300; T0 300;
Cp0 900; Cp0 900;
youngsModulus 40e9;
poissonsRatio 0.25;
epsilon0 1; epsilon0 1;
f0 0.5; f0 0.5;
} }

View File

@ -59,12 +59,6 @@ constantProperties
T0 300; T0 300;
Cp0 4187; Cp0 4187;
youngsModulus 1e9;
poissonsRatio 0.35;
epsilon0 1;
f0 0.5;
constantVolume false; constantVolume false;
} }

View File

@ -59,12 +59,6 @@ constantProperties
T0 300; T0 300;
Cp0 4187; Cp0 4187;
youngsModulus 1e9;
poissonsRatio 0.35;
epsilon0 1;
f0 0.5;
constantVolume false; constantVolume false;
} }

View File

@ -59,12 +59,6 @@ constantProperties
T0 300; T0 300;
Cp0 4187; Cp0 4187;
youngsModulus 1e9;
poissonsRatio 0.35;
epsilon0 1;
f0 0.5;
constantVolume false; constantVolume false;
} }

View File

@ -65,16 +65,6 @@ constantProperties
T0 350; T0 350;
Cp0 4100; Cp0 4100;
youngsModulus 1e9;
poissonsRatio 0.35;
epsilon0 1;
f0 0.5;
TDevol 273;
LDevol 0;
hRetentionCoeff 1;
constantVolume false; constantVolume false;
} }

View File

@ -58,17 +58,10 @@ constantProperties
{ {
T0 320; T0 320;
// place holders for rho0, Cp0 and sigma0 // place holders for rho0 and Cp0
// - reset from liquid props using T0 // - reset from liquid properties using T0
rho0 1000; rho0 1000;
Cp0 4187; Cp0 4187;
sigma0 0.02;
youngsModulus 1e9;
poissonsRatio 0.35;
epsilon0 1;
f0 0.5;
constantVolume false; constantVolume false;
} }