mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updating tutorial cases to use sensible enthalpy thermo packages
This commit is contained in:
@ -15,7 +15,7 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
thermoType hPsiMixtureThermo<reactingMixture<gasThermoPhysics>>;
|
thermoType hsPsiMixtureThermo<reactingMixture<gasThermoPhysics>>;
|
||||||
|
|
||||||
CHEMKINFile "$FOAM_CASE/chemkin/chem.inp";
|
CHEMKINFile "$FOAM_CASE/chemkin/chem.inp";
|
||||||
|
|
||||||
|
|||||||
@ -39,7 +39,7 @@ divSchemes
|
|||||||
{
|
{
|
||||||
fu limitedLinear 1;
|
fu limitedLinear 1;
|
||||||
ft limitedLinear 1;
|
ft limitedLinear 1;
|
||||||
h limitedLinear 1;
|
hs limitedLinear 1;
|
||||||
};
|
};
|
||||||
div((muEff*dev2(grad(U).T()))) Gauss linear;
|
div((muEff*dev2(grad(U).T()))) Gauss linear;
|
||||||
}
|
}
|
||||||
@ -50,7 +50,7 @@ laplacianSchemes
|
|||||||
laplacian(muEff,U) Gauss linear corrected;
|
laplacian(muEff,U) Gauss linear corrected;
|
||||||
laplacian(muEff,ft) Gauss linear corrected;
|
laplacian(muEff,ft) Gauss linear corrected;
|
||||||
laplacian(muEff,fu) Gauss linear corrected;
|
laplacian(muEff,fu) Gauss linear corrected;
|
||||||
laplacian(((alphah*mut)+alpha),h) Gauss linear corrected;
|
laplacian(((alphah*mut)+alpha),hs) Gauss linear corrected;
|
||||||
laplacian((rho|A(U)),p) Gauss linear corrected;
|
laplacian((rho|A(U)),p) Gauss linear corrected;
|
||||||
laplacian(rhoD,k) Gauss linear corrected;
|
laplacian(rhoD,k) Gauss linear corrected;
|
||||||
laplacian(rhoD,epsilon) Gauss linear corrected;
|
laplacian(rhoD,epsilon) Gauss linear corrected;
|
||||||
|
|||||||
@ -31,7 +31,7 @@ solvers
|
|||||||
tolerance 1e-06;
|
tolerance 1e-06;
|
||||||
}
|
}
|
||||||
|
|
||||||
"(U|Yi|h|k|epsilon)"
|
"(U|Yi|hs|k|epsilon)"
|
||||||
{
|
{
|
||||||
solver PBiCG;
|
solver PBiCG;
|
||||||
preconditioner DILU;
|
preconditioner DILU;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
thermoType hPsiMixtureThermo<reactingMixture<gasThermoPhysics>>;
|
thermoType hsPsiMixtureThermo<reactingMixture<gasThermoPhysics>>;
|
||||||
|
|
||||||
inertSpecie N2;
|
inertSpecie N2;
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
thermoType hPsiMixtureThermo<reactingMixture<gasThermoPhysics>>;
|
thermoType hsPsiMixtureThermo<reactingMixture<gasThermoPhysics>>;
|
||||||
|
|
||||||
chemistryReader foamChemistryReader;
|
chemistryReader foamChemistryReader;
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,7 @@ divSchemes
|
|||||||
div(phi,U) Gauss upwind;
|
div(phi,U) Gauss upwind;
|
||||||
div(phid,p) Gauss upwind;
|
div(phid,p) Gauss upwind;
|
||||||
div(phiU,p) Gauss linear;
|
div(phiU,p) Gauss linear;
|
||||||
div(phi,h) Gauss upwind;
|
div(phi,hs) Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) Gauss upwind;
|
||||||
div(U) Gauss linear;
|
div(U) Gauss linear;
|
||||||
@ -49,7 +49,7 @@ laplacianSchemes
|
|||||||
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
|
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
|
||||||
laplacian(DREff,R) Gauss linear corrected;
|
laplacian(DREff,R) Gauss linear corrected;
|
||||||
laplacian((rho*(1|A(U))),p) Gauss linear corrected;
|
laplacian((rho*(1|A(U))),p) Gauss linear corrected;
|
||||||
laplacian(alphaEff,h) Gauss linear corrected;
|
laplacian(alphaEff,hs) Gauss linear corrected;
|
||||||
}
|
}
|
||||||
|
|
||||||
interpolationSchemes
|
interpolationSchemes
|
||||||
|
|||||||
@ -33,7 +33,7 @@ solvers
|
|||||||
relTol 0;
|
relTol 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
"(U|h|R|k|epsilon)"
|
"(U|hs|R|k|epsilon)"
|
||||||
{
|
{
|
||||||
solver PBiCG;
|
solver PBiCG;
|
||||||
preconditioner DILU;
|
preconditioner DILU;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
thermoType hRhoMixtureThermo<reactingMixture<icoPoly8ThermoPhysics>>;
|
thermoType hsRhoMixtureThermo<reactingMixture<icoPoly8ThermoPhysics>>;
|
||||||
|
|
||||||
chemistryReader foamChemistryReader;
|
chemistryReader foamChemistryReader;
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,7 @@ divSchemes
|
|||||||
div(phi,U) Gauss upwind;
|
div(phi,U) Gauss upwind;
|
||||||
div(phid,p) Gauss upwind;
|
div(phid,p) Gauss upwind;
|
||||||
div(phiU,p) Gauss linear;
|
div(phiU,p) Gauss linear;
|
||||||
div(phi,h) Gauss upwind;
|
div(phi,hs) Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) Gauss upwind;
|
||||||
div(U) Gauss linear;
|
div(U) Gauss linear;
|
||||||
@ -49,7 +49,7 @@ laplacianSchemes
|
|||||||
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
|
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
|
||||||
laplacian(DREff,R) Gauss linear corrected;
|
laplacian(DREff,R) Gauss linear corrected;
|
||||||
laplacian((rho*(1|A(U))),p) Gauss linear corrected;
|
laplacian((rho*(1|A(U))),p) Gauss linear corrected;
|
||||||
laplacian(alphaEff,h) Gauss linear corrected;
|
laplacian(alphaEff,hs) Gauss linear corrected;
|
||||||
}
|
}
|
||||||
|
|
||||||
interpolationSchemes
|
interpolationSchemes
|
||||||
|
|||||||
@ -25,7 +25,7 @@ solvers
|
|||||||
relTol 0;
|
relTol 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
"(U|h|k|epsilon)"
|
"(U|hs|k|epsilon)"
|
||||||
{
|
{
|
||||||
solver PBiCG;
|
solver PBiCG;
|
||||||
preconditioner DILU;
|
preconditioner DILU;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
thermoType hRhoMixtureThermo<reactingMixture<icoPoly8ThermoPhysics>>;
|
thermoType hsRhoMixtureThermo<reactingMixture<icoPoly8ThermoPhysics>>;
|
||||||
|
|
||||||
chemistryReader foamChemistryReader;
|
chemistryReader foamChemistryReader;
|
||||||
|
|
||||||
|
|||||||
@ -24,8 +24,6 @@ gradSchemes
|
|||||||
{
|
{
|
||||||
default Gauss linear;
|
default Gauss linear;
|
||||||
grad(p) Gauss linear;
|
grad(p) Gauss linear;
|
||||||
// grad(U) cellLimited Gauss linear 1;
|
|
||||||
// grad(k) cellLimited Gauss linear 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
@ -34,7 +32,7 @@ divSchemes
|
|||||||
div(phi,U) Gauss upwind;
|
div(phi,U) Gauss upwind;
|
||||||
div(phid,p) Gauss upwind;
|
div(phid,p) Gauss upwind;
|
||||||
div(phiU,p) Gauss linear;
|
div(phiU,p) Gauss linear;
|
||||||
div(phi,h) Gauss upwind;
|
div(phi,hs) Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) Gauss upwind;
|
||||||
div(phi,omega) Gauss upwind;
|
div(phi,omega) Gauss upwind;
|
||||||
@ -46,16 +44,6 @@ divSchemes
|
|||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
{
|
{
|
||||||
default Gauss linear uncorrected;
|
default Gauss linear uncorrected;
|
||||||
/*
|
|
||||||
laplacian(muEff,U) Gauss linear corrected;
|
|
||||||
laplacian(mut,U) Gauss linear corrected;
|
|
||||||
laplacian(DkEff,k) Gauss linear corrected;
|
|
||||||
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
|
|
||||||
laplacian(DepsilonEff,omega) Gauss linear corrected;
|
|
||||||
laplacian(DREff,R) Gauss linear corrected;
|
|
||||||
laplacian((rho*(1|A(U))),p) Gauss linear corrected;
|
|
||||||
laplacian(alphaEff,h) Gauss linear corrected;
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interpolationSchemes
|
interpolationSchemes
|
||||||
|
|||||||
@ -49,7 +49,7 @@ solvers
|
|||||||
tolerance 1e-06;
|
tolerance 1e-06;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
};
|
};
|
||||||
"(Yi|h|)"
|
"(Yi|hs)"
|
||||||
{
|
{
|
||||||
solver PBiCG;
|
solver PBiCG;
|
||||||
preconditioner DILU;
|
preconditioner DILU;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
thermoType hRhoMixtureThermo<reactingMixture<icoPoly8ThermoPhysics>>;
|
thermoType hsRhoMixtureThermo<reactingMixture<icoPoly8ThermoPhysics>>;
|
||||||
|
|
||||||
chemistryReader foamChemistryReader;
|
chemistryReader foamChemistryReader;
|
||||||
|
|
||||||
|
|||||||
@ -34,7 +34,7 @@ divSchemes
|
|||||||
div(phi,U) Gauss upwind;
|
div(phi,U) Gauss upwind;
|
||||||
div(phid,p) Gauss upwind;
|
div(phid,p) Gauss upwind;
|
||||||
div(phiU,p) Gauss linear;
|
div(phiU,p) Gauss linear;
|
||||||
div(phi,h) Gauss upwind;
|
div(phi,hs) Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) Gauss upwind;
|
||||||
div(phi,omega) Gauss upwind;
|
div(phi,omega) Gauss upwind;
|
||||||
|
|||||||
@ -49,7 +49,7 @@ solvers
|
|||||||
tolerance 1e-06;
|
tolerance 1e-06;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
};
|
};
|
||||||
"(Yi|h|)"
|
"(Yi|hs)"
|
||||||
{
|
{
|
||||||
solver PBiCG;
|
solver PBiCG;
|
||||||
preconditioner DILU;
|
preconditioner DILU;
|
||||||
|
|||||||
@ -32,7 +32,7 @@ divSchemes
|
|||||||
div(phi,U) Gauss upwind;
|
div(phi,U) Gauss upwind;
|
||||||
div(phid,p) Gauss upwind;
|
div(phid,p) Gauss upwind;
|
||||||
div(phiU,p) Gauss linear;
|
div(phiU,p) Gauss linear;
|
||||||
div(phi,h) Gauss upwind;
|
div(phi,hs) Gauss upwind;
|
||||||
div(phi,k) Gauss upwind;
|
div(phi,k) Gauss upwind;
|
||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) Gauss upwind;
|
||||||
div(U) Gauss linear;
|
div(U) Gauss linear;
|
||||||
@ -49,7 +49,7 @@ laplacianSchemes
|
|||||||
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
|
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
|
||||||
laplacian(DREff,R) Gauss linear corrected;
|
laplacian(DREff,R) Gauss linear corrected;
|
||||||
laplacian((rho*(1|A(U))),p) Gauss linear corrected;
|
laplacian((rho*(1|A(U))),p) Gauss linear corrected;
|
||||||
laplacian(alphaEff,h) Gauss linear corrected;
|
laplacian(alphaEff,hs) Gauss linear corrected;
|
||||||
}
|
}
|
||||||
|
|
||||||
interpolationSchemes
|
interpolationSchemes
|
||||||
|
|||||||
@ -25,7 +25,7 @@ solvers
|
|||||||
relTol 0;
|
relTol 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
"(U|h|k|epsilon)"
|
"(U|hs|k|epsilon)"
|
||||||
{
|
{
|
||||||
solver PBiCG;
|
solver PBiCG;
|
||||||
preconditioner DILU;
|
preconditioner DILU;
|
||||||
|
|||||||
Reference in New Issue
Block a user