diff --git a/src/regionModels/thermoBaffleModels/thermoBaffle2D/thermoBaffle2DI.H b/src/regionModels/thermoBaffleModels/thermoBaffle2D/thermoBaffle2DI.H index e9d60c65d8..22d675bbb5 100644 --- a/src/regionModels/thermoBaffleModels/thermoBaffle2D/thermoBaffle2DI.H +++ b/src/regionModels/thermoBaffleModels/thermoBaffle2D/thermoBaffle2DI.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -38,7 +38,6 @@ namespace thermoBaffleModels // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - inline tmp thermoBaffle2D::he ( const scalarField& p, diff --git a/src/regionModels/thermoBaffleModels/thermoBaffleModel/thermoBaffleModel.H b/src/regionModels/thermoBaffleModels/thermoBaffleModel/thermoBaffleModel.H index e9f461391f..917cf452ac 100644 --- a/src/regionModels/thermoBaffleModels/thermoBaffleModel/thermoBaffleModel.H +++ b/src/regionModels/thermoBaffleModels/thermoBaffleModel/thermoBaffleModel.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -157,7 +157,7 @@ public: // Selectors //- Return a reference to the selected model - static autoPtr New(const fvMesh& mesh); + static autoPtr New(const fvMesh& mesh); //- Return a reference to the selected model using dictionary static autoPtr New @@ -173,7 +173,6 @@ public: // Member Functions - // Access //- Return solid thermo diff --git a/src/regionModels/thermoBaffleModels/thermoBaffleModel/thermoBaffleModelNew.C b/src/regionModels/thermoBaffleModels/thermoBaffleModel/thermoBaffleModelNew.C index e8c44486ff..4261b9f48f 100644 --- a/src/regionModels/thermoBaffleModels/thermoBaffleModel/thermoBaffleModelNew.C +++ b/src/regionModels/thermoBaffleModels/thermoBaffleModel/thermoBaffleModelNew.C @@ -38,7 +38,6 @@ namespace thermoBaffleModels autoPtr thermoBaffleModel::New(const fvMesh& mesh) { - word modelType; { IOdictionary thermoBafflePropertiesDict @@ -56,6 +55,7 @@ autoPtr thermoBaffleModel::New(const fvMesh& mesh) thermoBafflePropertiesDict.lookup("thermoBaffleModel") >> modelType; } + Info<< "Selecting baffle model " << modelType << endl; meshConstructorTable::iterator cstrIter = @@ -82,7 +82,6 @@ autoPtr thermoBaffleModel::New const dictionary& dict ) { - word modelType = dict.lookup("thermoBaffleModel"); Info<< "Selecting baffle model " << modelType << endl; @@ -93,7 +92,7 @@ autoPtr thermoBaffleModel::New if (cstrIter == dictionaryConstructorTablePtr_->end()) { - FatalErrorIn("thermoBaffleModel::New(const fvMesh&,const dictionary&)") + FatalErrorIn("thermoBaffleModel::New(const fvMesh&, const dictionary&)") << "Unknown thermoBaffleModel type " << modelType << nl << nl << "Valid thermoBaffleModel types are:" << nl