mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated coalChemistryFoam tutorial case
This commit is contained in:
14
tutorials/lagrangian/coalChemistryFoam/simplifiedSiwek/Allrun
Executable file
14
tutorials/lagrangian/coalChemistryFoam/simplifiedSiwek/Allrun
Executable 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
|
||||
@ -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;
|
||||
}
|
||||
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -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;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user