ENH: Updated coalChemistryFoam tutorial case

This commit is contained in:
andy
2010-02-04 13:30:24 +00:00
parent 0a873f1b0a
commit 21c3504199
3 changed files with 59 additions and 21 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
(
source1
{
centre ( 0.125 0.375 0.05 );
radius 0.005;
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;
}
);
// ************************************************************************* //