mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
INT: Additional integration updates/clean-up
This commit is contained in:
@ -31,22 +31,22 @@ namespace combustionModels
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
template<class CombThermoType, class ThermoType>
|
||||
eddyDissipationDiffusionModel<CombThermoType, ThermoType>::
|
||||
template<class ReactionThermo, class ThermoType>
|
||||
eddyDissipationDiffusionModel<ReactionThermo, ThermoType>::
|
||||
eddyDissipationDiffusionModel
|
||||
(
|
||||
const word& modelType,
|
||||
const fvMesh& mesh,
|
||||
const word& combustionProperties,
|
||||
const word& phaseName
|
||||
ReactionThermo& thermo,
|
||||
const compressibleTurbulenceModel& turb,
|
||||
const word& combustionProperties
|
||||
)
|
||||
:
|
||||
eddyDissipationModelBase<CombThermoType, ThermoType>
|
||||
eddyDissipationModelBase<ReactionThermo, ThermoType>
|
||||
(
|
||||
modelType,
|
||||
mesh,
|
||||
combustionProperties,
|
||||
phaseName
|
||||
thermo,
|
||||
turb,
|
||||
combustionProperties
|
||||
),
|
||||
Cd_(readScalar(this->coeffs().lookup("Cd")))
|
||||
{}
|
||||
@ -54,8 +54,8 @@ eddyDissipationDiffusionModel
|
||||
|
||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||
|
||||
template<class CombThermoType, class ThermoType>
|
||||
eddyDissipationDiffusionModel<CombThermoType, ThermoType>::
|
||||
template<class ReactionThermo, class ThermoType>
|
||||
eddyDissipationDiffusionModel<ReactionThermo, ThermoType>::
|
||||
~eddyDissipationDiffusionModel()
|
||||
{}
|
||||
|
||||
@ -63,17 +63,17 @@ eddyDissipationDiffusionModel<CombThermoType, ThermoType>::
|
||||
// * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
template<class CombThermoType, class ThermoType>
|
||||
template<class ReactionThermo, class ThermoType>
|
||||
Foam::tmp<Foam::volScalarField>
|
||||
eddyDissipationDiffusionModel<CombThermoType, ThermoType>::timeScale()
|
||||
eddyDissipationDiffusionModel<ReactionThermo, ThermoType>::timeScale()
|
||||
{
|
||||
return (max(this->rtTurb(), this->rtDiff()));
|
||||
}
|
||||
|
||||
|
||||
template<class CombThermoType, class ThermoType>
|
||||
template<class ReactionThermo, class ThermoType>
|
||||
Foam::tmp<Foam::volScalarField>
|
||||
eddyDissipationDiffusionModel<CombThermoType, ThermoType>::rtDiff() const
|
||||
eddyDissipationDiffusionModel<ReactionThermo, ThermoType>::rtDiff() const
|
||||
{
|
||||
tmp<volScalarField> tdelta
|
||||
(
|
||||
@ -102,10 +102,10 @@ eddyDissipationDiffusionModel<CombThermoType, ThermoType>::rtDiff() const
|
||||
}
|
||||
|
||||
|
||||
template<class CombThermoType, class ThermoType>
|
||||
bool eddyDissipationDiffusionModel<CombThermoType, ThermoType>::read()
|
||||
template<class ReactionThermo, class ThermoType>
|
||||
bool eddyDissipationDiffusionModel<ReactionThermo, ThermoType>::read()
|
||||
{
|
||||
if (eddyDissipationModelBase<CombThermoType, ThermoType>::read())
|
||||
if (eddyDissipationModelBase<ReactionThermo, ThermoType>::read())
|
||||
{
|
||||
this->coeffs().lookup("Cd") >> Cd_;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user