Skip to content
Snippets Groups Projects
Commit cba4af27 authored by Andrew Heather's avatar Andrew Heather
Browse files

furher updates to submodel instantiations

parent c766b6c3
Branches
Tags
No related merge requests found
......@@ -26,17 +26,21 @@ License
#include "CoalParcel.H"
// Kinematic
#include "makeReactingParcelDispersionModels.H"
#include "makeReactingParcelDragModels.H"
#include "makeReactingParcelInjectionModels.H"
#include "makeReactingMultiphaseParcelInjectionModels.H" // MP variant
#include "makeReactingParcelPatchInteractionModels.H"
#include "makeReactingParcelPostProcessingModels.H"
// Thermodynamic
#include "makeReactingParcelHeatTransferModels.H"
#include "makeReactingMultiphaseParcelCompositionModels.H"
// Reacting
#include "makeReactingMultiphaseParcelCompositionModels.H" // MP variant
#include "makeReactingParcelPhaseChangeModels.H"
// Reacting multiphase
#include "makeReactingMultiphaseParcelDevolatilisationModels.H"
#include "makeCoalParcelSurfaceReactionModels.H"
......@@ -47,7 +51,7 @@ namespace Foam
// Kinematic sub-models
createReactingDispersionModelType(CoalParcel);
createReactingDragModelType(CoalParcel);
createReactingInjectionModelType(CoalParcel);
createReactingMultiphaseInjectionModelType(CoalParcel);
createReactingPatchInteractionModelType(CoalParcel);
createReactingPostProcessingModelType(CoalParcel);
......
......@@ -60,28 +60,28 @@ License
ReactingMultiphaseCloud<ParcelType<ThermoType> > \
); \
\
makeSurfaceReactionModelThermoTypeNew \
makeSurfaceReactionModelThermoType \
( \
NoSurfaceReaction, \
ReactingMultiphaseCloud, \
ParcelType, \
ThermoType \
); \
makeSurfaceReactionModelThermoTypeNew \
makeSurfaceReactionModelThermoType \
( \
COxidationDiffusionLimitedRate, \
ReactingMultiphaseCloud, \
ParcelType, \
ThermoType \
); \
makeSurfaceReactionModelThermoTypeNew \
makeSurfaceReactionModelThermoType \
( \
COxidationKineticDiffusionLimitedRate, \
ReactingMultiphaseCloud, \
ParcelType, \
ThermoType \
); \
makeSurfaceReactionModelThermoTypeNew \
makeSurfaceReactionModelThermoType \
( \
COxidationMurphyShaddix, \
ReactingMultiphaseCloud, \
......
......@@ -26,17 +26,21 @@ License
#include "BasicReactingMultiphaseParcel.H"
// Kinematic
#include "makeReactingParcelDispersionModels.H"
#include "makeReactingParcelDragModels.H"
#include "makeReactingParcelInjectionModels.H"
#include "makeReactingMultiphaseParcelInjectionModels.H" // MP variant
#include "makeReactingParcelPatchInteractionModels.H"
#include "makeReactingParcelPostProcessingModels.H"
// Thermodynamic
#include "makeReactingParcelHeatTransferModels.H"
#include "makeReactingMultiphaseParcelCompositionModels.H"
// Reacting
#include "makeReactingMultiphaseParcelCompositionModels.H" // MP variant
#include "makeReactingParcelPhaseChangeModels.H"
// Reacting multiphase
#include "makeReactingMultiphaseParcelDevolatilisationModels.H"
#include "makeReactingMultiphaseParcelSurfaceReactionModels.H"
......@@ -47,7 +51,7 @@ namespace Foam
// Kinematic sub-models
createReactingDispersionModelType(BasicReactingMultiphaseParcel);
createReactingDragModelType(BasicReactingMultiphaseParcel);
createReactingInjectionModelType(BasicReactingMultiphaseParcel);
createReactingMultiphaseInjectionModelType(BasicReactingMultiphaseParcel);
createReactingPatchInteractionModelType(BasicReactingMultiphaseParcel);
createReactingPostProcessingModelType(BasicReactingMultiphaseParcel);
......
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
\*---------------------------------------------------------------------------*/
#ifndef makeReactingMultiphaseParcelInjectionModels_H
#define makeReactingMultiphaseParcelInjectionModels_H
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "reactingThermoTypes.H"
#include "KinematicCloud.H"
#include "ConeInjection.H"
#include "FieldActivatedInjection.H"
#include "ManualInjection.H"
#include "NoInjection.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#define createReactingMultiphaseInjectionModelType(ParcelType) \
\
createReactingMultiphaseInjectionModelThermoType \
( \
ParcelType, \
specieConstProperties \
); \
\
createReactingMultiphaseInjectionModelThermoType \
( \
ParcelType, \
specieReactingProperties \
);
#define createReactingMultiphaseInjectionModelThermoType(ParcelType, ThermoType)\
\
makeInjectionModel(KinematicCloud<ParcelType<ThermoType> >); \
\
makeInjectionModelThermoType \
( \
ConeInjection, \
KinematicCloud, \
ParcelType, \
ThermoType \
); \
makeInjectionModelThermoType \
( \
FieldActivatedInjection, \
KinematicCloud, \
ParcelType, \
ThermoType \
); \
makeInjectionModelThermoType \
( \
ManualInjection, \
KinematicCloud, \
ParcelType, \
ThermoType \
); \
makeInjectionModelThermoType \
( \
NoInjection, \
KinematicCloud, \
ParcelType, \
ThermoType \
); \
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#endif
// ************************************************************************* //
......@@ -26,14 +26,17 @@ License
#include "BasicReactingParcel.H"
// Kinematic
#include "makeReactingParcelDispersionModels.H"
#include "makeReactingParcelDragModels.H"
#include "makeReactingParcelInjectionModels.H"
#include "makeReactingParcelPatchInteractionModels.H"
#include "makeReactingParcelPostProcessingModels.H"
// Thermodynamic
#include "makeReactingParcelHeatTransferModels.H"
// Reacting
#include "makeReactingParcelCompositionModels.H"
#include "makeReactingParcelPhaseChangeModels.H"
......
......@@ -172,25 +172,7 @@ public:
);
#define makeSurfaceReactionModelType(SS, CloudType, ParcelType) \
\
defineNamedTemplateTypeNameAndDebug(SS<CloudType<ParcelType> >, 0); \
\
SurfaceReactionModel<CloudType<ParcelType> >:: \
adddictionaryConstructorToTable<SS<CloudType<ParcelType> > > \
add##SS##CloudType##ParcelType##ConstructorToTable_;
#define makeSurfaceReactionModelTypeInstance(SS, CloudType, ParcelType) \
\
defineNamedTemplateTypeNameAndDebug(SS, 0); \
\
SurfaceReactionModel<CloudType<ParcelType> >:: \
adddictionaryConstructorToTable<SS> \
add##SS##CloudType##ParcelType##ConstructorToTable_;
#define makeSurfaceReactionModelThermoTypeNew(SS, CloudType, ParcelType, ThermoType)\
#define makeSurfaceReactionModelThermoType(SS, CloudType, ParcelType, ThermoType)\
\
defineNamedTemplateTypeNameAndDebug \
( \
......@@ -203,6 +185,7 @@ public:
<SS<CloudType<ParcelType<ThermoType> > > > \
add##SS##CloudType##ParcelType##ThermoType##ConstructorToTable_;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment