mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Rationalized heat release rate functions
Combined 'dQ()' and 'Sh()' into 'Qdot()' which returns the heat-release rate in the normal units [kg/m/s3] and used as the heat release rate source term in the energy equations, to set the field 'Qdot' in several combustion solvers and for the evaluation of the local time-step when running LTS.
This commit is contained in:
@ -105,9 +105,9 @@ Foam::ReactingPhaseModel<BasePhaseModel, ReactionType>::R
|
||||
|
||||
template<class BasePhaseModel, class ReactionType>
|
||||
Foam::tmp<Foam::volScalarField>
|
||||
Foam::ReactingPhaseModel<BasePhaseModel, ReactionType>::Sh() const
|
||||
Foam::ReactingPhaseModel<BasePhaseModel, ReactionType>::Qdot() const
|
||||
{
|
||||
return reaction_->Sh();
|
||||
return reaction_->Qdot();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -87,8 +87,8 @@ public:
|
||||
volScalarField& Yi
|
||||
) const;
|
||||
|
||||
//- Return the reacton heat source
|
||||
virtual tmp<volScalarField> Sh() const;
|
||||
//- Return heat release rate
|
||||
virtual tmp<volScalarField> Qdot() const;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user