Skip to content
Snippets Groups Projects
Commit f10b27f4 authored by Henry's avatar Henry
Browse files

solidChemistryModel: Add notImplemented from of the LTS solve function.

parent ee765506
No related merge requests found
......@@ -82,7 +82,7 @@ void Foam::combustionModels::laminar<Type>::correct()
if (ddtScheme == fv::localEulerDdtScheme<scalar>::typeName)
{
const scalarField& rDeltaT =
this->mesh().objectRegistry::lookupObject<volScalarField>
this->mesh().objectRegistry::template lookupObject<volScalarField>
(
"rDeltaT"
);
......
......@@ -92,6 +92,20 @@ Foam::solidChemistryModel<CompType, SolidThermo>::
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
template<class CompType, class SolidThermo>
Foam::scalar Foam::solidChemistryModel<CompType, SolidThermo>::solve
(
const scalarField& deltaT
)
{
notImplemented
(
"solidChemistryModel::solve(const scalarField& deltaT)"
);
return 0;
}
template<class CompType, class SolidThermo>
Foam::tmp<Foam::volScalarField>
Foam::solidChemistryModel<CompType, SolidThermo>::tc() const
......
......@@ -218,6 +218,10 @@ public:
// and return the characteristic time
virtual scalar solve(const scalar deltaT) = 0;
//- Solve the reaction system for the given time step
// and return the characteristic time
virtual scalar solve(const scalarField& deltaT);
//- Return the chemical time scale
virtual tmp<volScalarField> tc() const;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment