ENH: Updating solver chemFoam and fireFoam tutorials to use new naming

for gasThermoType based on type of energy solved
This commit is contained in:
sergio
2013-01-28 10:49:35 +00:00
parent 4511f96d6d
commit cf5317d6bc
4 changed files with 7 additions and 8 deletions

View File

@ -15,15 +15,15 @@
} }
label nSpecie = Y.size(); label nSpecie = Y.size();
PtrList<gasThermoPhysics> specieData(Y.size()); PtrList<gasHThermoPhysics> specieData(Y.size());
forAll(specieData, i) forAll(specieData, i)
{ {
specieData.set specieData.set
( (
i, i,
new gasThermoPhysics new gasHThermoPhysics
( (
dynamic_cast<const reactingMixture<gasThermoPhysics>&> dynamic_cast<const reactingMixture<gasHThermoPhysics>&>
(thermo).speciesData()[i] (thermo).speciesData()[i]
) )
); );

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel infinitelyFastChemistry<psiThermoCombustion,gasThermoPhysics>; combustionModel infinitelyFastChemistry<psiThermoCombustion,gasHThermoPhysics>;
active true; active true;

View File

@ -15,9 +15,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
//combustionModel noCombustion<psiThermoCombustion>; combustionModel infinitelyFastChemistry<psiThermoCombustion,gasHThermoPhysics>;
combustionModel infinitelyFastChemistry<psiThermoCombustion,gasThermoPhysics>; //combustionModel FSD<psiThermoCombustion,gasHThermoPhysics>;
//combustionModel FSD<psiThermoCombustion,gasThermoPhysics>;
active true; active true;

View File

@ -16,7 +16,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel infinitelyFastChemistry<psiThermoCombustion,gasThermoPhysics>; combustionModel infinitelyFastChemistry<psiThermoCombustion,gasHThermoPhysics>;
active on; active on;