ENH: Updating tutorial cases to use sensible enthalpy thermo packages

This commit is contained in:
andy
2010-02-12 17:51:38 +00:00
parent 4c7809d341
commit 3784ae12dd
18 changed files with 22 additions and 34 deletions

View File

@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType hPsiMixtureThermo<reactingMixture<gasThermoPhysics>>;
thermoType hsPsiMixtureThermo<reactingMixture<gasThermoPhysics>>;
CHEMKINFile "$FOAM_CASE/chemkin/chem.inp";

View File

@ -39,7 +39,7 @@ divSchemes
{
fu limitedLinear 1;
ft limitedLinear 1;
h limitedLinear 1;
hs limitedLinear 1;
};
div((muEff*dev2(grad(U).T()))) Gauss linear;
}
@ -50,7 +50,7 @@ laplacianSchemes
laplacian(muEff,U) Gauss linear corrected;
laplacian(muEff,ft) 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(rhoD,k) Gauss linear corrected;
laplacian(rhoD,epsilon) Gauss linear corrected;

View File

@ -31,7 +31,7 @@ solvers
tolerance 1e-06;
}
"(U|Yi|h|k|epsilon)"
"(U|Yi|hs|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;

View File

@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType hPsiMixtureThermo<reactingMixture<gasThermoPhysics>>;
thermoType hsPsiMixtureThermo<reactingMixture<gasThermoPhysics>>;
inertSpecie N2;

View File

@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType hPsiMixtureThermo<reactingMixture<gasThermoPhysics>>;
thermoType hsPsiMixtureThermo<reactingMixture<gasThermoPhysics>>;
chemistryReader foamChemistryReader;

View File

@ -32,7 +32,7 @@ divSchemes
div(phi,U) Gauss upwind;
div(phid,p) Gauss upwind;
div(phiU,p) Gauss linear;
div(phi,h) Gauss upwind;
div(phi,hs) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(U) Gauss linear;
@ -49,7 +49,7 @@ laplacianSchemes
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
laplacian(DREff,R) 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

View File

@ -33,7 +33,7 @@ solvers
relTol 0;
}
"(U|h|R|k|epsilon)"
"(U|hs|R|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;

View File

@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType hRhoMixtureThermo<reactingMixture<icoPoly8ThermoPhysics>>;
thermoType hsRhoMixtureThermo<reactingMixture<icoPoly8ThermoPhysics>>;
chemistryReader foamChemistryReader;

View File

@ -32,7 +32,7 @@ divSchemes
div(phi,U) Gauss upwind;
div(phid,p) Gauss upwind;
div(phiU,p) Gauss linear;
div(phi,h) Gauss upwind;
div(phi,hs) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(U) Gauss linear;
@ -49,7 +49,7 @@ laplacianSchemes
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
laplacian(DREff,R) 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

View File

@ -25,7 +25,7 @@ solvers
relTol 0;
}
"(U|h|k|epsilon)"
"(U|hs|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;

View File

@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType hRhoMixtureThermo<reactingMixture<icoPoly8ThermoPhysics>>;
thermoType hsRhoMixtureThermo<reactingMixture<icoPoly8ThermoPhysics>>;
chemistryReader foamChemistryReader;

View File

@ -24,8 +24,6 @@ gradSchemes
{
default Gauss linear;
grad(p) Gauss linear;
// grad(U) cellLimited Gauss linear 1;
// grad(k) cellLimited Gauss linear 1;
}
divSchemes
@ -34,7 +32,7 @@ divSchemes
div(phi,U) Gauss upwind;
div(phid,p) Gauss upwind;
div(phiU,p) Gauss linear;
div(phi,h) Gauss upwind;
div(phi,hs) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,omega) Gauss upwind;
@ -46,16 +44,6 @@ divSchemes
laplacianSchemes
{
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

View File

@ -49,7 +49,7 @@ solvers
tolerance 1e-06;
relTol 0;
};
"(Yi|h|)"
"(Yi|hs)"
{
solver PBiCG;
preconditioner DILU;

View File

@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType hRhoMixtureThermo<reactingMixture<icoPoly8ThermoPhysics>>;
thermoType hsRhoMixtureThermo<reactingMixture<icoPoly8ThermoPhysics>>;
chemistryReader foamChemistryReader;

View File

@ -34,7 +34,7 @@ divSchemes
div(phi,U) Gauss upwind;
div(phid,p) Gauss upwind;
div(phiU,p) Gauss linear;
div(phi,h) Gauss upwind;
div(phi,hs) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,omega) Gauss upwind;

View File

@ -49,7 +49,7 @@ solvers
tolerance 1e-06;
relTol 0;
};
"(Yi|h|)"
"(Yi|hs)"
{
solver PBiCG;
preconditioner DILU;

View File

@ -32,7 +32,7 @@ divSchemes
div(phi,U) Gauss upwind;
div(phid,p) Gauss upwind;
div(phiU,p) Gauss linear;
div(phi,h) Gauss upwind;
div(phi,hs) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(U) Gauss linear;
@ -49,7 +49,7 @@ laplacianSchemes
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
laplacian(DREff,R) 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

View File

@ -25,7 +25,7 @@ solvers
relTol 0;
}
"(U|h|k|epsilon)"
"(U|hs|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;