Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev

This commit is contained in:
andy
2010-02-08 19:13:37 +00:00
93 changed files with 5041 additions and 2548 deletions

View File

@ -0,0 +1,14 @@
#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
application=`getApplication`
# create mesh
runApplication blockMesh
# create ignition cells cellSet
runApplication cellSet
runApplication $application

View File

@ -11,29 +11,21 @@ FoamFile
format ascii;
class dictionary;
location "constant";
object enthalpySourceProperties;
object energySourcesProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
active yes;
cellSource sphereToCell;
volumeType absolute;
timeStart 0.15;
duration 0.1;
onValue 10000;
offValue 0;
sphereToCellCoeffs
{
centre ( 0.125 0.375 0.05 );
radius 0.005;
}
(
source1
{
active true;
timeStart 0.15;
duration 0.1;
selectionMode cellSet;
volumeMode absolute;
fieldData 10000;
cellSet ignitionCells;
}
);
// ************************************************************************* //

View File

@ -0,0 +1,32 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object cellSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
name ignitionCells;
action new;
topoSetSources
(
sphereToCell
{
centre ( 0.125 0.375 0.05 );
radius 0.005;
}
);
// ************************************************************************* //

View File

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

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 1e-4) // kg/s
);
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

@ -14,12 +14,12 @@ FoamFile
object scalarListList;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// x y z u v w d rho mDot T cp Y0..YN
// (x y z) (u v w) d rho mDot T cp (Y0..Y2) (Yg0..YgN) (Yl0..YlN) (Ys0..YsN)
(
(0.1 0.32 0.0 0.5 0.25 0.0 0.001 1000 0.2 300 4200 1.0)
(0.1 0.44 0.0 0.5 0.10 0.0 0.001 1000 0.2 300 4200 1.0)
(0.1 0.56 0.0 0.5 -0.10 0.0 0.001 1000 0.2 300 4200 1.0)
(0.1 0.68 0.0 0.5 -0.25 0.0 0.001 1000 0.2 300 4200 1.0)
(0.1 0.32 0.0) (0.5 0.25 0.0) 0.001 1000 0.2 300 4200 (0 1 0) () (1) ()
(0.1 0.44 0.0) (0.5 0.10 0.0) 0.001 1000 0.2 300 4200 (0 1 0) () (1) ()
(0.1 0.56 0.0) (0.5 -0.10 0.0) 0.001 1000 0.2 300 4200 (0 1 0) () (1) ()
(0.1 0.68 0.0) (0.5 -0.25 0.0) 0.001 1000 0.2 300 4200 (0 1 0) () (1) ()
);

View File

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

View File

@ -17,7 +17,8 @@ FoamFile
active true;
InjectionModel ReactingLookupTableInjection;
InjectionModel ReactingMultiphaseLookupTableInjection;
//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
@ -99,7 +106,7 @@ ManualInjectionCoeffs
}
}
ReactingLookupTableInjectionCoeffs
ReactingMultiphaseLookupTableInjectionCoeffs
{
massTotal massTotal [ 1 0 0 0 0 ] 1e-2;
parcelBasisType mass;
@ -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

View File

@ -27,10 +27,14 @@ PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
CompositionModel SinglePhaseMixture;
CompositionModel SingleMixtureFraction;
PhaseChangeModel LiquidEvaporation;
DevolatilisationModel none;
SurfaceReactionModel none;
PostProcessingModel none;
radiation off;
@ -55,6 +59,8 @@ constantProperties
Tvap Tvap [ 0 0 0 1 0 ] 284;
Tbp Tbp [ 0 0 0 1 0 ] 373;
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;
}
@ -110,15 +116,24 @@ RanzMarshallCoeffs
BirdCorrection off;
}
SinglePhaseMixtureCoeffs
SingleMixtureFractionCoeffs
{
phases
(
gas
{
}
liquid
{
H2O 1;
H2O 1;
}
solid
{
}
);
YGasTot0 0;
YLiquidTot0 1;
YSolidTot0 0;
}
LiquidEvaporationCoeffs

View File

@ -27,10 +27,14 @@ PatchInteractionModel StandardWallInteraction;
HeatTransferModel RanzMarshall;
CompositionModel SinglePhaseMixture;
CompositionModel SingleMixtureFraction;
PhaseChangeModel LiquidEvaporation;
DevolatilisationModel none;
SurfaceReactionModel none;
PostProcessingModel PatchPostProcessing;
radiation off;
@ -55,6 +59,8 @@ constantProperties
Tvap Tvap [ 0 0 0 1 0 ] 273;
Tbp Tbp [ 0 0 0 1 0 ] 373;
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;
}
@ -132,15 +138,24 @@ RanzMarshallCoeffs
BirdCorrection off;
}
SinglePhaseMixtureCoeffs
SingleMixtureFractionCoeffs
{
phases
(
gas
{
}
liquid
{
H2O 1;
H2O 1;
}
solid
{
}
);
YGasTot0 0;
YLiquidTot0 1;
YSolidTot0 0;
}
LiquidEvaporationCoeffs