ENH: Multiple tutorial updates
This commit is contained in:
parent
dee30c1e0a
commit
b362957124
@ -127,8 +127,8 @@ hollowConeInjectorCoeffs
|
|||||||
{
|
{
|
||||||
minValue 1e-06;
|
minValue 1e-06;
|
||||||
maxValue 0.00015;
|
maxValue 0.00015;
|
||||||
d ( 0.00015 );
|
d 0.00015;
|
||||||
n ( 3 );
|
n 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
exponentialPDF
|
exponentialPDF
|
||||||
|
@ -20,10 +20,17 @@ solvers
|
|||||||
{
|
{
|
||||||
rho
|
rho
|
||||||
{
|
{
|
||||||
solver PCG;
|
solver PCG;
|
||||||
preconditioner DIC;
|
preconditioner DIC;
|
||||||
tolerance 0;
|
tolerance 1e-7;
|
||||||
relTol 0;
|
relTol 0.1;
|
||||||
|
};
|
||||||
|
|
||||||
|
rhoFinal
|
||||||
|
{
|
||||||
|
$rho;
|
||||||
|
tolerance 1e-7;
|
||||||
|
relTol 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
p
|
p
|
||||||
@ -40,37 +47,13 @@ solvers
|
|||||||
|
|
||||||
pFinal
|
pFinal
|
||||||
{
|
{
|
||||||
solver GAMG;
|
$p;
|
||||||
tolerance 1e-7;
|
tolerance 1e-7;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
smoother GaussSeidel;
|
|
||||||
cacheAgglomeration true;
|
|
||||||
nCellsInCoarsestLevel 10;
|
|
||||||
agglomerator faceAreaPair;
|
|
||||||
mergeLevels 1;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
ft
|
"(U|ft|fu|k|hs)"
|
||||||
{
|
|
||||||
solver smoothSolver;
|
|
||||||
smoother GaussSeidel;
|
|
||||||
tolerance 1e-7;
|
|
||||||
relTol 0;
|
|
||||||
nSweeps 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
fu
|
|
||||||
{
|
|
||||||
solver smoothSolver;
|
|
||||||
smoother GaussSeidel;
|
|
||||||
tolerance 1e-7;
|
|
||||||
relTol 0;
|
|
||||||
nSweeps 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
U
|
|
||||||
{
|
{
|
||||||
solver smoothSolver;
|
solver smoothSolver;
|
||||||
smoother GaussSeidel;
|
smoother GaussSeidel;
|
||||||
@ -79,31 +62,13 @@ solvers
|
|||||||
nSweeps 1;
|
nSweeps 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
UFinal
|
"(U|ft|fu|k|hs)Final"
|
||||||
{
|
{
|
||||||
solver smoothSolver;
|
$U;
|
||||||
smoother GaussSeidel;
|
|
||||||
tolerance 1e-7;
|
tolerance 1e-7;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
nSweeps 1;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
k
|
|
||||||
{
|
|
||||||
solver smoothSolver;
|
|
||||||
smoother GaussSeidel;
|
|
||||||
tolerance 1e-7;
|
|
||||||
relTol 0;
|
|
||||||
nSweeps 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
hs
|
|
||||||
{
|
|
||||||
solver PBiCG;
|
|
||||||
preconditioner DILU;
|
|
||||||
tolerance 1e-7;
|
|
||||||
relTol 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
Ii
|
Ii
|
||||||
{
|
{
|
||||||
|
@ -32,7 +32,7 @@ solvers
|
|||||||
relTol 0.0;
|
relTol 0.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
"(U|Yi|h|k|epsilon)"
|
"(U|Yi|hs|k|epsilon)"
|
||||||
{
|
{
|
||||||
solver PBiCG;
|
solver PBiCG;
|
||||||
preconditioner DILU;
|
preconditioner DILU;
|
||||||
|
@ -15,11 +15,16 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Pr Pr [ 0 0 0 0 0 0 0 ] 0.72;
|
Pr 0.72;
|
||||||
|
|
||||||
thermoType ePsiThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>>;
|
thermoType ePsiThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>>;
|
||||||
|
|
||||||
mixture N2 1 28.01348 100 10000 1000 2.9525407 0.0013968838 -4.9262577e-07 7.8600091e-11 -4.6074978e-15 -923.93753 5.8718221 3.5309628 -0.0001236595 -5.0299339e-07 2.4352768e-09 -1.4087954e-12 -1046.9637 2.9674391 1.458e-06 110;
|
mixture N2
|
||||||
|
1 28.01348
|
||||||
|
100 10000 1000
|
||||||
|
2.9525407 0.0013968838 -4.9262577e-07 7.8600091e-11 -4.6074978e-15 -923.93753 5.8718221
|
||||||
|
3.5309628 -0.0001236595 -5.0299339e-07 2.4352768e-09 -1.4087954e-12 -1046.9637 2.9674391
|
||||||
|
1.458e-06 110;
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
@ -22,6 +22,13 @@ solvers
|
|||||||
solver PCG;
|
solver PCG;
|
||||||
preconditioner DIC;
|
preconditioner DIC;
|
||||||
tolerance 1e-5;
|
tolerance 1e-5;
|
||||||
|
relTol 0.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
rhoFinal
|
||||||
|
{
|
||||||
|
$rho;
|
||||||
|
tolerance 1e-5;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -65,7 +72,7 @@ solvers
|
|||||||
mergeLevels 1;
|
mergeLevels 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
h
|
"(U|h|k|epsilon)"
|
||||||
{
|
{
|
||||||
solver PBiCG;
|
solver PBiCG;
|
||||||
preconditioner DILU;
|
preconditioner DILU;
|
||||||
@ -73,26 +80,9 @@ solvers
|
|||||||
relTol 0.1;
|
relTol 0.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
hFinal
|
"(U|h|k|epsilon)Final"
|
||||||
{
|
{
|
||||||
solver PBiCG;
|
$U;
|
||||||
preconditioner DILU;
|
|
||||||
tolerance 1e-5;
|
|
||||||
relTol 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
k
|
|
||||||
{
|
|
||||||
solver PBiCG;
|
|
||||||
preconditioner DILU;
|
|
||||||
tolerance 1e-5;
|
|
||||||
relTol 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
epsilon
|
|
||||||
{
|
|
||||||
solver PBiCG;
|
|
||||||
preconditioner DILU;
|
|
||||||
tolerance 1e-5;
|
tolerance 1e-5;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ solvers
|
|||||||
mergeLevels 1;
|
mergeLevels 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
U
|
"(U|k|epsilon)"
|
||||||
{
|
{
|
||||||
solver PBiCG;
|
solver PBiCG;
|
||||||
preconditioner DILU;
|
preconditioner DILU;
|
||||||
@ -49,26 +49,9 @@ solvers
|
|||||||
relTol 0.1;
|
relTol 0.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
UFinal
|
"(U|k|epsilon)Final"
|
||||||
{
|
{
|
||||||
solver PBiCG;
|
$U;
|
||||||
preconditioner DILU;
|
|
||||||
tolerance 1e-05;
|
|
||||||
relTol 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
k
|
|
||||||
{
|
|
||||||
solver PBiCG;
|
|
||||||
preconditioner DILU;
|
|
||||||
tolerance 1e-05;
|
|
||||||
relTol 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
epsilon
|
|
||||||
{
|
|
||||||
solver PBiCG;
|
|
||||||
preconditioner DILU;
|
|
||||||
tolerance 1e-05;
|
tolerance 1e-05;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ solvers
|
|||||||
mergeLevels 1;
|
mergeLevels 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
U
|
"(U|k|epsilon)"
|
||||||
{
|
{
|
||||||
solver PBiCG;
|
solver PBiCG;
|
||||||
preconditioner DILU;
|
preconditioner DILU;
|
||||||
@ -49,26 +49,9 @@ solvers
|
|||||||
relTol 0.1;
|
relTol 0.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
UFinal
|
"(U|k|epsilon)Final"
|
||||||
{
|
{
|
||||||
solver PBiCG;
|
$U;
|
||||||
preconditioner DILU;
|
|
||||||
tolerance 1e-05;
|
|
||||||
relTol 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
k
|
|
||||||
{
|
|
||||||
solver PBiCG;
|
|
||||||
preconditioner DILU;
|
|
||||||
tolerance 1e-05;
|
|
||||||
relTol 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
epsilon
|
|
||||||
{
|
|
||||||
solver PBiCG;
|
|
||||||
preconditioner DILU;
|
|
||||||
tolerance 1e-05;
|
tolerance 1e-05;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
}
|
}
|
||||||
|
@ -22,6 +22,13 @@ solvers
|
|||||||
solver PCG;
|
solver PCG;
|
||||||
preconditioner DIC;
|
preconditioner DIC;
|
||||||
tolerance 1e-05;
|
tolerance 1e-05;
|
||||||
|
relTol 0.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
"(rho|G)Final"
|
||||||
|
{
|
||||||
|
$rho;
|
||||||
|
tolerance 1e-05;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -30,6 +37,13 @@ solvers
|
|||||||
solver PBiCG;
|
solver PBiCG;
|
||||||
preconditioner DILU;
|
preconditioner DILU;
|
||||||
tolerance 1e-06;
|
tolerance 1e-06;
|
||||||
|
relTol 0.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
pFinal
|
||||||
|
{
|
||||||
|
$p;
|
||||||
|
tolerance 1e-06;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -38,6 +52,13 @@ solvers
|
|||||||
solver PBiCG;
|
solver PBiCG;
|
||||||
preconditioner DILU;
|
preconditioner DILU;
|
||||||
tolerance 1e-05;
|
tolerance 1e-05;
|
||||||
|
relTol 0.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
"(U|hs|R|k|epsilon)Final"
|
||||||
|
{
|
||||||
|
$U;
|
||||||
|
tolerance 1e-05;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,6 +67,14 @@ solvers
|
|||||||
solver PBiCG;
|
solver PBiCG;
|
||||||
preconditioner DILU;
|
preconditioner DILU;
|
||||||
tolerance 1e-06;
|
tolerance 1e-06;
|
||||||
|
relTol 0.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
"(Yi|CO2|O2|N2|CH4|H2|H2O|CO)Final"
|
||||||
|
{
|
||||||
|
$Yi;
|
||||||
|
preconditioner DILU;
|
||||||
|
tolerance 1e-06;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,6 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
surfaceFilmModel kinematicSingleLayer;
|
surfaceFilmModel kinematicSingleLayer;
|
||||||
//surfaceFilmModel thermoSingleLayer;
|
|
||||||
|
|
||||||
filmRegionName wallFilmRegion;
|
filmRegionName wallFilmRegion;
|
||||||
|
|
||||||
@ -24,30 +23,13 @@ active true;
|
|||||||
|
|
||||||
kinematicSingleLayerCoeffs
|
kinematicSingleLayerCoeffs
|
||||||
{
|
{
|
||||||
deltaStable deltaStable [0 1 0 0 0] 0;
|
thermoModel constant;
|
||||||
Cf 0.005;
|
Cf 0.005;
|
||||||
|
|
||||||
rho rho [1 -3 0 0 0] 1000;
|
rho0 rho0 [1 -3 0 0 0] 1000;
|
||||||
mu mu [1 -1 -1 0 0] 1e-3;
|
mu0 mu0 [1 -1 -1 0 0] 1e-3;
|
||||||
sigma sigma [1 0 -2 0 0] 0.07;
|
sigma0 sigma0 [1 0 -2 0 0] 0.07;
|
||||||
|
|
||||||
injectionModel none;
|
injectionModel none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
thermoSingleLayerCoeffs
|
|
||||||
{
|
|
||||||
deltaStable deltaStable [0 1 0 0 0] 0;
|
|
||||||
Cf 0.005;
|
|
||||||
htcw htcw [1 0 -3 -1 0] 1e-8; // 0.0;
|
|
||||||
htcs htcs [1 0 -3 -1 0] 1e-8; // 0.0;
|
|
||||||
|
|
||||||
rho rho [1 -3 0 0 0] 1000;
|
|
||||||
mu mu [1 -1 -1 0 0] 1e-3;
|
|
||||||
sigma sigma [1 0 -2 0 0] 0.07;
|
|
||||||
cp cp [0 2 -2 -1 0] 4187;
|
|
||||||
|
|
||||||
injectionModel none;
|
|
||||||
|
|
||||||
phaseChangeModel none;
|
|
||||||
}
|
|
||||||
|
@ -23,17 +23,25 @@ foamChemistryFile "$FOAM_CASE/chemkin/foam.inp";
|
|||||||
|
|
||||||
foamChemistryThermoFile "$FOAM_CASE/chemkin/foam.dat";
|
foamChemistryThermoFile "$FOAM_CASE/chemkin/foam.dat";
|
||||||
|
|
||||||
liquidComponents
|
|
||||||
(
|
|
||||||
H2O
|
|
||||||
);
|
|
||||||
|
|
||||||
solidComponents
|
|
||||||
();
|
|
||||||
|
|
||||||
inertSpecie N2;
|
inertSpecie N2;
|
||||||
|
|
||||||
H2O H2O defaultCoeffs;
|
liquids
|
||||||
|
{
|
||||||
|
liquidComponents
|
||||||
|
(
|
||||||
|
H2O
|
||||||
|
);
|
||||||
|
|
||||||
|
H2O H2O defaultCoeffs;
|
||||||
|
}
|
||||||
|
|
||||||
|
solids
|
||||||
|
{
|
||||||
|
solidComponents
|
||||||
|
();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
@ -36,6 +36,7 @@ gradSchemes
|
|||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
grad(pL) Gauss linear;
|
grad(pL) Gauss linear;
|
||||||
|
grad(sigmaf) Gauss linear;
|
||||||
snGradCorr(deltaf) Gauss linear;
|
snGradCorr(deltaf) Gauss linear;
|
||||||
snGradCorr(pp) Gauss linear;
|
snGradCorr(pp) Gauss linear;
|
||||||
snGradCorr(pu) Gauss linear;
|
snGradCorr(pu) Gauss linear;
|
||||||
|
Loading…
Reference in New Issue
Block a user