mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: solidReactionThermo: incorrect name for runtime selection table
This commit is contained in:
@ -31,7 +31,7 @@ License
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
defineTypeNameAndDebug(solidReactionThermo, 0);
|
defineTypeNameAndDebug(solidReactionThermo, 0);
|
||||||
defineRunTimeSelectionTable(solidReactionThermo, mesh);
|
defineRunTimeSelectionTable(solidReactionThermo, fvMesh);
|
||||||
defineRunTimeSelectionTable(solidReactionThermo, dictionary);
|
defineRunTimeSelectionTable(solidReactionThermo, dictionary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -66,7 +66,7 @@ public:
|
|||||||
(
|
(
|
||||||
autoPtr,
|
autoPtr,
|
||||||
solidReactionThermo,
|
solidReactionThermo,
|
||||||
mesh,
|
fvMesh,
|
||||||
(const fvMesh& mesh),
|
(const fvMesh& mesh),
|
||||||
(mesh)
|
(mesh)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -53,16 +53,16 @@ Foam::autoPtr<Foam::solidReactionThermo> Foam::solidReactionThermo::New
|
|||||||
|
|
||||||
Info<< "Selecting thermodynamics package " << modelType << endl;
|
Info<< "Selecting thermodynamics package " << modelType << endl;
|
||||||
|
|
||||||
meshConstructorTable::iterator cstrIter =
|
fvMeshConstructorTable::iterator cstrIter =
|
||||||
meshConstructorTablePtr_->find(modelType);
|
fvMeshConstructorTablePtr_->find(modelType);
|
||||||
|
|
||||||
if (cstrIter == meshConstructorTablePtr_->end())
|
if (cstrIter == fvMeshConstructorTablePtr_->end())
|
||||||
{
|
{
|
||||||
FatalErrorIn("solidReactionThermo::New(const fvMesh&)")
|
FatalErrorIn("solidReactionThermo::New(const fvMesh&)")
|
||||||
<< "Unknown solidReactionThermo type "
|
<< "Unknown solidReactionThermo type "
|
||||||
<< modelType << nl << nl
|
<< modelType << nl << nl
|
||||||
<< "Valid solidReactionThermo types:" << nl
|
<< "Valid solidReactionThermo types:" << nl
|
||||||
<< meshConstructorTablePtr_->sortedToc() << nl
|
<< fvMeshConstructorTablePtr_->sortedToc() << nl
|
||||||
<< exit(FatalError);
|
<< exit(FatalError);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user