diff --git a/src/fieldSources/derived/fixedTemperatureSource/fixedTemperatureSource.C b/src/fieldSources/derived/fixedTemperatureSource/fixedTemperatureSource.C index 09a92bb1933cd3b7dc866cef70471a89603bf478..bef68f3c4e927ddba13685181a863bd26f66c3bd 100644 --- a/src/fieldSources/derived/fixedTemperatureSource/fixedTemperatureSource.C +++ b/src/fieldSources/derived/fixedTemperatureSource/fixedTemperatureSource.C @@ -54,7 +54,7 @@ Foam::fixedTemperatureSource::fixedTemperatureSource const fvMesh& mesh ) : - ExplicitSetValue<scalar>(name, modelType, dict, mesh), + basicSource(name, modelType, dict, mesh), T_(readScalar(coeffs_.lookup("temperature"))) { fieldNames_.setSize(1, "energy"); @@ -77,7 +77,7 @@ void Foam::fixedTemperatureSource::setValue ) { const basicThermo& thermo = - mesh_.lookupObject<basicThermo>("thermophsicalProperties"); + mesh_.lookupObject<basicThermo>("thermophysicalProperties"); if (eqn.psi().name() == thermo.he().name()) { diff --git a/src/fieldSources/derived/fixedTemperatureSource/fixedTemperatureSource.H b/src/fieldSources/derived/fixedTemperatureSource/fixedTemperatureSource.H index 6c56d6c76287b4e34fa145b0beccc41c3605dee8..4281a38e2ccc5990db25be28b7b447c0e120889f 100644 --- a/src/fieldSources/derived/fixedTemperatureSource/fixedTemperatureSource.H +++ b/src/fieldSources/derived/fixedTemperatureSource/fixedTemperatureSource.H @@ -38,14 +38,14 @@ Description SourceFiles - fixedTemperatureSource.C + basicSource.C \*---------------------------------------------------------------------------*/ #ifndef fixedTemperatureSource_H #define fixedTemperatureSource_H -#include "ExplicitSetValue.H" +#include "basicSource.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -58,7 +58,7 @@ namespace Foam class fixedTemperatureSource : - public ExplicitSetValue<scalar> + public basicSource { protected: