Removed "<modelType>Type type" tautology in selection error messages

This commit is contained in:
Will Bainbridge
2023-11-28 16:25:27 +00:00
parent 01d0af39be
commit f6f55caf02
40 changed files with 117 additions and 121 deletions

View File

@ -46,7 +46,7 @@ Foam::autoPtr<Foam::contactAngleModel> Foam::contactAngleModel::New
if (cstrIter == dictionaryConstructorTablePtr_->end())
{
FatalErrorInFunction
<< "Unknown contactAngleModelType type "
<< "Unknown contactAngleModel type "
<< contactAngleModelType << endl << endl
<< "Valid contactAngleModel types are : " << endl
<< dictionaryConstructorTablePtr_->sortedToc()

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2017-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -49,7 +49,7 @@ Foam::autoPtr<Foam::surfaceTensionModel> Foam::surfaceTensionModel::New
if (cstrIter == dictionaryConstructorTablePtr_->end())
{
FatalErrorInFunction
<< "Unknown surfaceTensionModelType type "
<< "Unknown surfaceTensionModel type "
<< surfaceTensionModelType << endl << endl
<< "Valid surfaceTensionModel types are : " << endl
<< dictionaryConstructorTablePtr_->sortedToc()