Skip to content
Snippets Groups Projects
Commit 742d1dc6 authored by Andrew Heather's avatar Andrew Heather Committed by Mark OLESEN
Browse files

WIP: duplicate constructor entries (#2538)

WIP: Updated multiphaseEuler runtime constructor table names

WIP: Updated multiphaseInter runtime constructor table names

WIP: Updated reactingEuler runtime constructor table names

WIP: Updated twoPhaseEuler runtime constructor table names
parent 1e02a4ae
No related branches found
No related tags found
No related merge requests found
Showing
with 28 additions and 28 deletions
...@@ -43,7 +43,7 @@ namespace diameterModels ...@@ -43,7 +43,7 @@ namespace diameterModels
( (
diameterModel, diameterModel,
constant, constant,
dictionary multiphaseEuler
); );
} }
} }
......
...@@ -35,7 +35,7 @@ namespace Foam ...@@ -35,7 +35,7 @@ namespace Foam
namespace multiphaseEuler namespace multiphaseEuler
{ {
defineTypeNameAndDebug(diameterModel, 0); defineTypeNameAndDebug(diameterModel, 0);
defineRunTimeSelectionTable(diameterModel, dictionary); defineRunTimeSelectionTable(diameterModel, multiphaseEuler);
} }
} }
...@@ -69,7 +69,7 @@ Foam::multiphaseEuler::diameterModel::New ...@@ -69,7 +69,7 @@ Foam::multiphaseEuler::diameterModel::New
<< ": " << ": "
<< modelType << endl; << modelType << endl;
auto* ctorPtr = dictionaryConstructorTable(modelType); auto* ctorPtr = multiphaseEulerConstructorTable(modelType);
if (!ctorPtr) if (!ctorPtr)
{ {
...@@ -78,7 +78,7 @@ Foam::multiphaseEuler::diameterModel::New ...@@ -78,7 +78,7 @@ Foam::multiphaseEuler::diameterModel::New
dict, dict,
"diameterModel", "diameterModel",
modelType, modelType,
*dictionaryConstructorTablePtr_ *multiphaseEulerConstructorTablePtr_
) << exit(FatalIOError); ) << exit(FatalIOError);
} }
......
...@@ -76,7 +76,7 @@ public: ...@@ -76,7 +76,7 @@ public:
( (
autoPtr, autoPtr,
diameterModel, diameterModel,
dictionary, multiphaseEuler,
( (
const dictionary& dict, const dictionary& dict,
const phaseModel& phase const phaseModel& phase
......
...@@ -43,7 +43,7 @@ namespace diameterModels ...@@ -43,7 +43,7 @@ namespace diameterModels
( (
diameterModel, diameterModel,
isothermal, isothermal,
dictionary multiphaseEuler
); );
} }
} }
......
...@@ -43,7 +43,7 @@ namespace dragModels ...@@ -43,7 +43,7 @@ namespace dragModels
( (
dragModel, dragModel,
Ergun, Ergun,
dictionary multiphaseEuler
); );
} }
} }
......
...@@ -43,7 +43,7 @@ namespace dragModels ...@@ -43,7 +43,7 @@ namespace dragModels
( (
dragModel, dragModel,
Gibilaro, Gibilaro,
dictionary multiphaseEuler
); );
} }
} }
......
...@@ -43,7 +43,7 @@ namespace dragModels ...@@ -43,7 +43,7 @@ namespace dragModels
( (
dragModel, dragModel,
GidaspowErgunWenYu, GidaspowErgunWenYu,
dictionary multiphaseEuler
); );
} }
} }
......
...@@ -43,7 +43,7 @@ namespace dragModels ...@@ -43,7 +43,7 @@ namespace dragModels
( (
dragModel, dragModel,
GidaspowSchillerNaumann, GidaspowSchillerNaumann,
dictionary multiphaseEuler
); );
} }
} }
......
...@@ -43,7 +43,7 @@ namespace dragModels ...@@ -43,7 +43,7 @@ namespace dragModels
( (
dragModel, dragModel,
SchillerNaumann, SchillerNaumann,
dictionary multiphaseEuler
); );
} }
} }
......
...@@ -43,7 +43,7 @@ namespace dragModels ...@@ -43,7 +43,7 @@ namespace dragModels
( (
dragModel, dragModel,
SyamlalOBrien, SyamlalOBrien,
dictionary multiphaseEuler
); );
} }
} }
......
...@@ -43,7 +43,7 @@ namespace dragModels ...@@ -43,7 +43,7 @@ namespace dragModels
( (
dragModel, dragModel,
WenYu, WenYu,
dictionary multiphaseEuler
); );
} }
} }
......
...@@ -43,7 +43,7 @@ namespace dragModels ...@@ -43,7 +43,7 @@ namespace dragModels
( (
dragModel, dragModel,
blended, blended,
dictionary multiphaseEuler
); );
} }
} }
......
...@@ -35,7 +35,7 @@ namespace Foam ...@@ -35,7 +35,7 @@ namespace Foam
namespace multiphaseEuler namespace multiphaseEuler
{ {
defineTypeNameAndDebug(dragModel, 0); defineTypeNameAndDebug(dragModel, 0);
defineRunTimeSelectionTable(dragModel, dictionary); defineRunTimeSelectionTable(dragModel, multiphaseEuler);
} }
} }
...@@ -74,7 +74,7 @@ Foam::multiphaseEuler::dragModel::New ...@@ -74,7 +74,7 @@ Foam::multiphaseEuler::dragModel::New
<< ": " << ": "
<< modelType << endl; << modelType << endl;
auto* ctorPtr = dictionaryConstructorTable(modelType); auto* ctorPtr = multiphaseEulerConstructorTable(modelType);
if (!ctorPtr) if (!ctorPtr)
{ {
...@@ -83,7 +83,7 @@ Foam::multiphaseEuler::dragModel::New ...@@ -83,7 +83,7 @@ Foam::multiphaseEuler::dragModel::New
dict, dict,
"dragModel", "dragModel",
modelType, modelType,
*dictionaryConstructorTablePtr_ *multiphaseEulerConstructorTablePtr_
) << exit(FatalIOError); ) << exit(FatalIOError);
} }
......
...@@ -76,7 +76,7 @@ public: ...@@ -76,7 +76,7 @@ public:
( (
autoPtr, autoPtr,
dragModel, dragModel,
dictionary, multiphaseEuler,
( (
const dictionary& interfaceDict, const dictionary& interfaceDict,
const phaseModel& phase1, const phaseModel& phase1,
......
...@@ -43,7 +43,7 @@ namespace dragModels ...@@ -43,7 +43,7 @@ namespace dragModels
( (
dragModel, dragModel,
interface, interface,
dictionary multiphaseEuler
); );
} }
} }
......
...@@ -43,7 +43,7 @@ namespace heatTransferModels ...@@ -43,7 +43,7 @@ namespace heatTransferModels
( (
heatTransferModel, heatTransferModel,
RanzMarshall, RanzMarshall,
dictionary multiphaseEuler
); );
} }
} }
......
...@@ -35,7 +35,7 @@ namespace Foam ...@@ -35,7 +35,7 @@ namespace Foam
namespace multiphaseEuler namespace multiphaseEuler
{ {
defineTypeNameAndDebug(heatTransferModel, 0); defineTypeNameAndDebug(heatTransferModel, 0);
defineRunTimeSelectionTable(heatTransferModel, dictionary); defineRunTimeSelectionTable(heatTransferModel, multiphaseEuler);
} }
} }
...@@ -78,7 +78,7 @@ Foam::multiphaseEuler::heatTransferModel::New ...@@ -78,7 +78,7 @@ Foam::multiphaseEuler::heatTransferModel::New
<< ": " << ": "
<< modelType << endl; << modelType << endl;
auto* ctorPtr = dictionaryConstructorTable(modelType); auto* ctorPtr = multiphaseEulerConstructorTable(modelType);
if (!ctorPtr) if (!ctorPtr)
{ {
...@@ -87,7 +87,7 @@ Foam::multiphaseEuler::heatTransferModel::New ...@@ -87,7 +87,7 @@ Foam::multiphaseEuler::heatTransferModel::New
dict, dict,
"heatTransferModel", "heatTransferModel",
modelType, modelType,
*dictionaryConstructorTablePtr_ *multiphaseEulerConstructorTablePtr_
) << exit(FatalIOError); ) << exit(FatalIOError);
} }
......
...@@ -77,7 +77,7 @@ public: ...@@ -77,7 +77,7 @@ public:
( (
autoPtr, autoPtr,
heatTransferModel, heatTransferModel,
dictionary, multiphaseEuler,
( (
const dictionary& dict, const dictionary& dict,
const volScalarField& alpha1, const volScalarField& alpha1,
......
...@@ -269,7 +269,7 @@ public: ...@@ -269,7 +269,7 @@ public:
( \ ( \
interfaceCompositionModel, \ interfaceCompositionModel, \
Type##Thermo##OtherThermo, \ Type##Thermo##OtherThermo, \
dictionary \ multiphaseInter \
) )
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
...@@ -36,7 +36,7 @@ namespace Foam ...@@ -36,7 +36,7 @@ namespace Foam
namespace multiphaseInter namespace multiphaseInter
{ {
defineTypeNameAndDebug(interfaceCompositionModel, 0); defineTypeNameAndDebug(interfaceCompositionModel, 0);
defineRunTimeSelectionTable(interfaceCompositionModel, dictionary); defineRunTimeSelectionTable(interfaceCompositionModel, multiphaseInter);
} }
} }
...@@ -99,7 +99,7 @@ Foam::multiphaseInter::interfaceCompositionModel::New ...@@ -99,7 +99,7 @@ Foam::multiphaseInter::interfaceCompositionModel::New
Info<< "Selecting interfaceCompositionModel for " Info<< "Selecting interfaceCompositionModel for "
<< pair << ": " << modelType << endl; << pair << ": " << modelType << endl;
auto* ctorPtr = dictionaryConstructorTable(modelType); auto* ctorPtr = multiphaseInterConstructorTable(modelType);
if (!ctorPtr) if (!ctorPtr)
{ {
...@@ -108,7 +108,7 @@ Foam::multiphaseInter::interfaceCompositionModel::New ...@@ -108,7 +108,7 @@ Foam::multiphaseInter::interfaceCompositionModel::New
dict, dict,
"interfaceCompositionModel", "interfaceCompositionModel",
modelType, modelType,
*dictionaryConstructorTablePtr_ *multiphaseInterConstructorTablePtr_
) << exit(FatalIOError); ) << exit(FatalIOError);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment