mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updating solver chemFoam and fireFoam tutorials to use new naming
for gasThermoType based on type of energy solved
This commit is contained in:
@ -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]
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
combustionModel infinitelyFastChemistry<psiThermoCombustion,gasThermoPhysics>;
|
combustionModel infinitelyFastChemistry<psiThermoCombustion,gasHThermoPhysics>;
|
||||||
|
|
||||||
active true;
|
active true;
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
|
|
||||||
|
|||||||
@ -16,7 +16,7 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
combustionModel infinitelyFastChemistry<psiThermoCombustion,gasThermoPhysics>;
|
combustionModel infinitelyFastChemistry<psiThermoCombustion,gasHThermoPhysics>;
|
||||||
|
|
||||||
active on;
|
active on;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user