ENH: Updating solver chemFoam and fireFoam tutorials to use new naming
for gasThermoType based on type of energy solved
This commit is contained in:
parent
4511f96d6d
commit
cf5317d6bc
@ -15,15 +15,15 @@
|
||||
}
|
||||
|
||||
label nSpecie = Y.size();
|
||||
PtrList<gasThermoPhysics> specieData(Y.size());
|
||||
PtrList<gasHThermoPhysics> specieData(Y.size());
|
||||
forAll(specieData, i)
|
||||
{
|
||||
specieData.set
|
||||
(
|
||||
i,
|
||||
new gasThermoPhysics
|
||||
new gasHThermoPhysics
|
||||
(
|
||||
dynamic_cast<const reactingMixture<gasThermoPhysics>&>
|
||||
dynamic_cast<const reactingMixture<gasHThermoPhysics>&>
|
||||
(thermo).speciesData()[i]
|
||||
)
|
||||
);
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
combustionModel infinitelyFastChemistry<psiThermoCombustion,gasThermoPhysics>;
|
||||
combustionModel infinitelyFastChemistry<psiThermoCombustion,gasHThermoPhysics>;
|
||||
|
||||
active true;
|
||||
|
||||
|
@ -15,9 +15,8 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
//combustionModel noCombustion<psiThermoCombustion>;
|
||||
combustionModel infinitelyFastChemistry<psiThermoCombustion,gasThermoPhysics>;
|
||||
//combustionModel FSD<psiThermoCombustion,gasThermoPhysics>;
|
||||
combustionModel infinitelyFastChemistry<psiThermoCombustion,gasHThermoPhysics>;
|
||||
//combustionModel FSD<psiThermoCombustion,gasHThermoPhysics>;
|
||||
|
||||
active true;
|
||||
|
||||
|
@ -16,7 +16,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
combustionModel infinitelyFastChemistry<psiThermoCombustion,gasThermoPhysics>;
|
||||
combustionModel infinitelyFastChemistry<psiThermoCombustion,gasHThermoPhysics>;
|
||||
|
||||
active on;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user