Commit ab40ddaa authored by sergio's avatar sergio
Browse files

Adding fireCompartment tutorial for new pyrolysis thermo, thermocouple FO and EDC combustion model

parent c659d993
......@@ -67,9 +67,9 @@ Foam::functionObjects::thermoCoupleProbes::thermoCoupleProbes
}
// Check if the property exist (resume old calculation)
// or of it is new
// or of it is new.
dictionary probeDict;
if (getDict(name, probeDict))
if (getDict(typeName, probeDict))
{
probeDict.lookup("Tc") >> Ttc_;
}
......@@ -172,7 +172,7 @@ bool Foam::functionObjects::thermoCoupleProbes::write()
dictionary probeDict;
probeDict.add("Tc", Ttc_);
setProperty(name(), probeDict);
setProperty(typeName, probeDict);
return true;
}
......
......@@ -6,5 +6,6 @@
cleanCase
rm -rf constant/panelRegion/polyMesh
rm -f constant/polyMesh/boundary
rm -f validation/*.eps
# -----------------------------------------------------------------------------
......@@ -18,7 +18,7 @@ FoamFile
".*"
{
mode lookup;
emissivity 1.0;
emissivity 0.8;
absorptivity 0.0;
}
......
......@@ -23,7 +23,7 @@ eddyDissipationDiffusionModelCoeffs
{
semiImplicit false;
CEDC 4;
Cd 6;
Cd 4;
}
infinitelyFastChemistryCoeffs
......
......@@ -20,13 +20,7 @@ radiation on;
radiationModel opaqueSolid;
absorptionEmissionModel multiBandSolidAbsorptionEmission;
multiBandSolidAbsorptionEmissionCoeffs
{
absorptivity (0 0);
emissivity (1 1);
}
absorptionEmissionModel none;
transmissivityModel none;
......
......@@ -23,14 +23,14 @@ radiationModel fvDOM;
fvDOMCoeffs
{
nPhi 4;
nPhi 2;
nTheta 4;
convergence 1e-3;
maxIter 3;
convergence 1e-5;
maxIter 5;
}
// Number of flow iterations per radiation iteration
solverFreq 20;
solverFreq 15;
absorptionEmissionModel greyMeanAbsorptionEmission;
......@@ -44,7 +44,7 @@ constantAbsorptionEmissionCoeffs
greyMeanAbsorptionEmissionCoeffs
{
//lookUpTableFileName "SpeciesTable";
EhrrCoeff 0.2;
EhrrCoeff 0.15;
CO2
{
Tcommon 200; //Common Temp
......@@ -64,11 +64,11 @@ greyMeanAbsorptionEmissionCoeffs
hiTcoeffs //coefss for T > Tcommon
(
18.741
-121.31e3
-121.31e3
273.5e6
-194.05e9
-194.05e9
56.31e12
-5.8169e15
-5.8169e15
);
}
......@@ -119,10 +119,10 @@ greyMeanAbsorptionEmissionCoeffs
hiTcoeffs
(
6.6334
-0.0035686
-0.0035686
1.6682e-8
2.5611e-10
-2.6558e-14
-2.6558e-14
0
);
}
......@@ -145,7 +145,7 @@ greyMeanAbsorptionEmissionCoeffs
);
hiTcoeffs
(
0.1
0.01
0
0
0
......@@ -173,7 +173,7 @@ greyMeanAbsorptionEmissionCoeffs
);
hiTcoeffs
(
0.1
0.01
0
0
0
......
......@@ -32,8 +32,7 @@ LES
kEqnCoeffs
{
Ck 0.074;
Ce 1.048;
Ck 0.06;
}
cubeRootVolCoeffs
......
......@@ -28,7 +28,7 @@ deltaT 0.001;
writeControl adjustableRunTime;
writeInterval 10;
writeInterval 20;
purgeWrite 0;
......@@ -44,11 +44,11 @@ timePrecision 6;
graphFormat raw;
runTimeModifiable yes;
runTimeModifiable no;
adjustTimeStep yes;
maxCo 1.2;
maxCo 2;
maxDi 0.25;
......@@ -61,7 +61,7 @@ functions
type surfaceFieldValue;
libs ("libfieldFunctionObjects.so");
writeControl timeStep;
writeInterval 20;
writeInterval 200;
log true;
writeFields no;
regionType patch;
......@@ -74,8 +74,8 @@ functions
{
type patchProbes;
libs ("libsampling.so");
writeControl writeTime;
writeInterval 20;
writeControl timeStep;
writeInterval 200;
log true;
patchName region0_to_panelRegion_wallPanel;
probeLocations
......@@ -91,8 +91,8 @@ functions
{
type patchProbes;
libs ("libsampling.so");
writeControl writeTime;
writeInterval 20;
writeControl timeStep;
writeInterval 200;
log true;
patchName inlet;
probeLocations
......@@ -154,8 +154,8 @@ functions
{
type probes;
libs ("libsampling.so");
writeControl writeTime;
writeInterval 30;
writeControl timeStep;
writeInterval 200;
probeLocations
(
(-0.1 0.02 0.0) // Lower Gas
......
......@@ -48,7 +48,7 @@ divSchemes
laplacianSchemes
{
default Gauss linear uncorrected;
default Gauss linear orthogonal;
}
interpolationSchemes
......@@ -58,7 +58,7 @@ interpolationSchemes
snGradSchemes
{
default uncorrected;
default orthogonal;
}
fluxRequired
......
......@@ -77,7 +77,7 @@ solvers
PIMPLE
{
momentumPredictor yes;
nOuterCorrectors 3;
nOuterCorrectors 2;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
}
......
......@@ -3,7 +3,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2016 OpenCFD Ltd.
# \\/ M anipulation |
#-------------------------------------------------------------------------------
# License
......@@ -77,6 +77,8 @@ EXPT="$DATAFILET"
echo $OF
echo $EXPT
#
#createEpsT $OF 2 $EXPT 12 Temperature
#createEpsT $OF 3 $EXPT 10 Temperature
#createEpsT $OF 5 $EXPT 3 Temperature
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment