mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: combustion models - updated for current API
This commit is contained in:
@ -125,10 +125,13 @@ template<class CombThermoType, class ThermoType>
|
||||
Foam::combustionModels::diffusionMulticomponent<CombThermoType, ThermoType>::
|
||||
diffusionMulticomponent
|
||||
(
|
||||
const word& modelType, const fvMesh& mesh, const word& phaseName
|
||||
const word& modelType,
|
||||
const fvMesh& mesh,
|
||||
const word& combustionProperties,
|
||||
const word& phaseName
|
||||
)
|
||||
:
|
||||
CombThermoType(modelType, mesh, phaseName),
|
||||
CombThermoType(modelType, mesh, combustionProperties, phaseName),
|
||||
reactions_
|
||||
(
|
||||
dynamic_cast<const reactingMixture<ThermoType>&>(this->thermo())
|
||||
|
||||
@ -171,6 +171,7 @@ public:
|
||||
(
|
||||
const word& modelType,
|
||||
const fvMesh& mesh,
|
||||
const word& combustionProperties,
|
||||
const word& phaseName
|
||||
);
|
||||
|
||||
|
||||
@ -35,13 +35,17 @@ template<class CombThermoType, class ThermoType>
|
||||
eddyDissipationDiffusionModel<CombThermoType, ThermoType>::
|
||||
eddyDissipationDiffusionModel
|
||||
(
|
||||
const word& modelType, const fvMesh& mesh, const word& phaseName
|
||||
const word& modelType,
|
||||
const fvMesh& mesh,
|
||||
const word& combustionProperties,
|
||||
const word& phaseName
|
||||
)
|
||||
:
|
||||
eddyDissipationModelBase<CombThermoType, ThermoType>
|
||||
(
|
||||
modelType,
|
||||
mesh,
|
||||
combustionProperties,
|
||||
phaseName
|
||||
),
|
||||
Cd_(readScalar(this->coeffs().lookup("Cd")))
|
||||
|
||||
@ -45,7 +45,7 @@ namespace combustionModels
|
||||
{
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class eddyDissipationDiffusionModel Declaration
|
||||
Class eddyDissipationDiffusionModel Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
template<class CombThermoType, class ThermoType>
|
||||
@ -81,6 +81,7 @@ public:
|
||||
(
|
||||
const word& modelType,
|
||||
const fvMesh& mesh,
|
||||
const word& combustionProperties,
|
||||
const word& phaseName
|
||||
);
|
||||
|
||||
|
||||
@ -35,13 +35,17 @@ namespace combustionModels
|
||||
template<class CombThermoType, class ThermoType>
|
||||
eddyDissipationModelBase<CombThermoType, ThermoType>::eddyDissipationModelBase
|
||||
(
|
||||
const word& modelType, const fvMesh& mesh, const word& phaseName
|
||||
const word& modelType,
|
||||
const fvMesh& mesh,
|
||||
const word& combustionProperties,
|
||||
const word& phaseName
|
||||
)
|
||||
:
|
||||
singleStepCombustion<CombThermoType, ThermoType>
|
||||
(
|
||||
modelType,
|
||||
mesh,
|
||||
combustionProperties,
|
||||
phaseName
|
||||
),
|
||||
CEDC_(readScalar(this->coeffs().lookup("CEDC")))
|
||||
|
||||
@ -80,6 +80,7 @@ public:
|
||||
(
|
||||
const word& modelType,
|
||||
const fvMesh& mesh,
|
||||
const word& combustionProperties,
|
||||
const word& phaseName
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user