lagrangian: Avoid the generation of duplicate symbols in the coalCombustion
also remove unused macros
This commit is contained in:
parent
e2ad6d4032
commit
8875f90f07
@ -24,51 +24,12 @@ License
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "coalCloud.H"
|
||||
|
||||
#include "makeParcelCloudFunctionObjects.H"
|
||||
|
||||
// Kinematic
|
||||
#include "makeThermoParcelForces.H" // thermo variant
|
||||
#include "makeParcelDispersionModels.H"
|
||||
#include "makeReactingMultiphaseParcelInjectionModels.H" // MP variant
|
||||
#include "makeParcelPatchInteractionModels.H"
|
||||
|
||||
// Thermodynamic
|
||||
#include "makeParcelHeatTransferModels.H"
|
||||
|
||||
// Reacting
|
||||
#include "makeReactingMultiphaseParcelCompositionModels.H" // MP variant
|
||||
#include "makeReactingParcelPhaseChangeModels.H"
|
||||
#include "makeReactingParcelSurfaceFilmModels.H"
|
||||
|
||||
// Reacting multiphase
|
||||
#include "makeReactingMultiphaseParcelDevolatilisationModels.H"
|
||||
|
||||
// Coal specific
|
||||
#include "makeCoalParcelSurfaceReactionModels.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
makeParcelCloudFunctionObjects(coalCloud);
|
||||
|
||||
// Kinematic sub-models
|
||||
makeThermoParcelForces(coalCloud);
|
||||
makeParcelDispersionModels(coalCloud);
|
||||
makeReactingMultiphaseParcelInjectionModels(coalCloud);
|
||||
makeParcelPatchInteractionModels(coalCloud);
|
||||
|
||||
// Thermo sub-models
|
||||
makeParcelHeatTransferModels(coalCloud);
|
||||
|
||||
// Reacting sub-models
|
||||
makeReactingMultiphaseParcelCompositionModels(coalCloud);
|
||||
makeReactingParcelPhaseChangeModels(coalCloud);
|
||||
|
||||
// Reacting multiphase sub-models
|
||||
makeReactingMultiphaseParcelDevolatilisationModels(coalCloud);
|
||||
makeReactingParcelSurfaceFilmModels(coalCloud);
|
||||
makeCoalParcelSurfaceReactionModels(coalCloud);
|
||||
}
|
||||
|
||||
|
@ -37,8 +37,6 @@ License
|
||||
|
||||
#define makeCoalParcelSurfaceReactionModels(CloudType) \
|
||||
\
|
||||
makeSurfaceReactionModel(CloudType); \
|
||||
makeSurfaceReactionModelType(NoSurfaceReaction, CloudType); \
|
||||
makeSurfaceReactionModelType(COxidationDiffusionLimitedRate, CloudType); \
|
||||
makeSurfaceReactionModelType \
|
||||
( \
|
||||
|
@ -327,17 +327,6 @@ public:
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#define defineParcelTypeNameAndDebug(Type, DebugSwitch) \
|
||||
template<> \
|
||||
const Foam::word DsmcParcel<Type>::typeName(#Type); \
|
||||
template<> \
|
||||
int DsmcParcel<Type>::debug \
|
||||
( \
|
||||
Foam::debug::debugSwitch(#Type, DebugSwitch) \
|
||||
);
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
#include "DsmcParcel.C"
|
||||
#endif
|
||||
|
@ -31,7 +31,6 @@ namespace Foam
|
||||
{
|
||||
// defineTypeNameAndDebug(dsmcParcel, 0);
|
||||
// defineParticleTypeNameAndDebug(dsmcParcel, 0);
|
||||
// defineParcelTypeNameAndDebug(dsmcParcel, 0);
|
||||
}
|
||||
|
||||
|
||||
|
@ -687,17 +687,6 @@ public:
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#define defineParcelTypeNameAndDebug(Type, DebugSwitch) \
|
||||
template<> \
|
||||
const Foam::word KinematicParcel<Type>::typeName(#Type); \
|
||||
template<> \
|
||||
int KinematicParcel<Type>::debug \
|
||||
( \
|
||||
Foam::debug::debugSwitch(#Type, DebugSwitch) \
|
||||
);
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#ifdef NoRepository
|
||||
#include "KinematicParcel.C"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user