From 5065b287487e2918345925b28c156add176ffe36 Mon Sep 17 00:00:00 2001 From: andy <a.heather@opencfd.co.uk> Date: Fri, 22 May 2009 13:38:17 +0100 Subject: [PATCH] added post-processing sub-models to build system --- src/lagrangian/intermediate/Make/files | 3 + ...BasicKinematicParcelPostProcessingModels.C | 55 +++++++++++++++++++ ...tingMultiphaseParcelPostProcessingModels.C | 55 +++++++++++++++++++ ...eBasicReactingParcelPostProcessingModels.C | 55 +++++++++++++++++++ ...akeBasicThermoParcelPostProcessingModels.C | 54 ++++++++++++++++++ 5 files changed, 222 insertions(+) create mode 100644 src/lagrangian/intermediate/parcels/derived/basicKinematicParcel/submodels/makeBasicKinematicParcelPostProcessingModels.C create mode 100644 src/lagrangian/intermediate/parcels/derived/basicReactingMultiphaseParcel/submodels/makeBasicReactingMultiphaseParcelPostProcessingModels.C create mode 100644 src/lagrangian/intermediate/parcels/derived/basicReactingParcel/submodels/makeBasicReactingParcelPostProcessingModels.C create mode 100644 src/lagrangian/intermediate/parcels/derived/basicThermoParcel/submodels/makeBasicThermoParcelPostProcessingModels.C diff --git a/src/lagrangian/intermediate/Make/files b/src/lagrangian/intermediate/Make/files index 4b371547f86..15b0c081a19 100644 --- a/src/lagrangian/intermediate/Make/files +++ b/src/lagrangian/intermediate/Make/files @@ -28,6 +28,7 @@ $(KINEMATICPARCEL)/defineBasicKinematicParcel.C $(KINEMATICPARCEL)/submodels/makeBasicKinematicParcelDispersionModels.C $(KINEMATICPARCEL)/submodels/makeBasicKinematicParcelDragModels.C $(KINEMATICPARCEL)/submodels/makeBasicKinematicParcelInjectionModels.C +$(KINEMATICPARCEL)/submodels/makeBasicKinematicParcelPostProcessingModels.C $(KINEMATICPARCEL)/submodels/makeBasicKinematicParcelWallInteractionModels.C @@ -38,6 +39,7 @@ $(THERMOPARCEL)/submodels/makeBasicThermoParcelDispersionModels.C $(THERMOPARCEL)/submodels/makeBasicThermoParcelDragModels.C $(THERMOPARCEL)/submodels/makeBasicThermoParcelHeatTransferModels.C $(THERMOPARCEL)/submodels/makeBasicThermoParcelInjectionModels.C +$(THERMOPARCEL)/submodels/makeBasicThermoParcelPostProcessingModels.C $(THERMOPARCEL)/submodels/makeBasicThermoParcelWallInteractionModels.C @@ -50,6 +52,7 @@ $(REACTINGPARCEL)/submodels/makeBasicReactingParcelDragModels.C $(REACTINGPARCEL)/submodels/makeBasicReactingParcelHeatTransferModels.C $(REACTINGPARCEL)/submodels/makeBasicReactingParcelInjectionModels.C $(REACTINGPARCEL)/submodels/makeBasicReactingParcelPhaseChangeModels.C +$(REACTINGPARCEL)/submodels/makeBasicReactingParcelPostProcessingModels.C $(REACTINGPARCEL)/submodels/makeBasicReactingParcelWallInteractionModels.C diff --git a/src/lagrangian/intermediate/parcels/derived/basicKinematicParcel/submodels/makeBasicKinematicParcelPostProcessingModels.C b/src/lagrangian/intermediate/parcels/derived/basicKinematicParcel/submodels/makeBasicKinematicParcelPostProcessingModels.C new file mode 100644 index 00000000000..3b4020dfd81 --- /dev/null +++ b/src/lagrangian/intermediate/parcels/derived/basicKinematicParcel/submodels/makeBasicKinematicParcelPostProcessingModels.C @@ -0,0 +1,55 @@ +/*---------------------------------------------------------------------------*\ + ========= | + \\ / 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 + +\*---------------------------------------------------------------------------*/ + +#include "basicKinematicParcel.H" +#include "KinematicCloud.H" + +#include "NoPostProcessing.H" +#include "StandardPostProcessing.H" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +namespace Foam +{ + makePostProcessingModel(KinematicCloud<basicKinematicParcel>); + + // Add instances of post-processing model to the table + makePostProcessingModelType + ( + NoPostProcessing, + KinematicCloud, + basicKinematicParcel + ); + makePostProcessingModelType + ( + StandardPostProcessing, + KinematicCloud, + basicKinematicParcel + ); +}; + + +// ************************************************************************* // diff --git a/src/lagrangian/intermediate/parcels/derived/basicReactingMultiphaseParcel/submodels/makeBasicReactingMultiphaseParcelPostProcessingModels.C b/src/lagrangian/intermediate/parcels/derived/basicReactingMultiphaseParcel/submodels/makeBasicReactingMultiphaseParcelPostProcessingModels.C new file mode 100644 index 00000000000..1cc61af6704 --- /dev/null +++ b/src/lagrangian/intermediate/parcels/derived/basicReactingMultiphaseParcel/submodels/makeBasicReactingMultiphaseParcelPostProcessingModels.C @@ -0,0 +1,55 @@ +/*---------------------------------------------------------------------------*\ + ========= | + \\ / 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 + +\*---------------------------------------------------------------------------*/ + +#include "basicReactingMultiphaseParcel.H" +#include "KinematicCloud.H" + +#include "NoPostProcessing.H" +#include "StandardPostProcessing.H" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +namespace Foam +{ + makePostProcessingModel(KinematicCloud<basicReactingMultiphaseParcel>); + + // Add instances of post-processing model to the table + makePostProcessingModelType + ( + NoPostProcessing, + KinematicCloud, + basicReactingMultiphaseParcel + ); + makePostProcessingModelType + ( + StandardPostProcessing, + KinematicCloud, + basicReactingMultiphaseParcel + ); +}; + + +// ************************************************************************* // diff --git a/src/lagrangian/intermediate/parcels/derived/basicReactingParcel/submodels/makeBasicReactingParcelPostProcessingModels.C b/src/lagrangian/intermediate/parcels/derived/basicReactingParcel/submodels/makeBasicReactingParcelPostProcessingModels.C new file mode 100644 index 00000000000..ca9a3dba6c6 --- /dev/null +++ b/src/lagrangian/intermediate/parcels/derived/basicReactingParcel/submodels/makeBasicReactingParcelPostProcessingModels.C @@ -0,0 +1,55 @@ +/*---------------------------------------------------------------------------*\ + ========= | + \\ / 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 + +\*---------------------------------------------------------------------------*/ + +#include "basicReactingParcel.H" +#include "KinematicCloud.H" + +#include "NoPostProcessing.H" +#include "StandardPostProcessing.H" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +namespace Foam +{ + makePostProcessingModel(KinematicCloud<basicReactingParcel>); + + // Add instances of post-processing model to the table + makePostProcessingModelType + ( + NoPostProcessing, + KinematicCloud, + basicReactingParcel + ); + makePostProcessingModelType + ( + StandardPostProcessing, + KinematicCloud, + basicReactingParcel + ); +}; + + +// ************************************************************************* // diff --git a/src/lagrangian/intermediate/parcels/derived/basicThermoParcel/submodels/makeBasicThermoParcelPostProcessingModels.C b/src/lagrangian/intermediate/parcels/derived/basicThermoParcel/submodels/makeBasicThermoParcelPostProcessingModels.C new file mode 100644 index 00000000000..01886387674 --- /dev/null +++ b/src/lagrangian/intermediate/parcels/derived/basicThermoParcel/submodels/makeBasicThermoParcelPostProcessingModels.C @@ -0,0 +1,54 @@ +/*---------------------------------------------------------------------------*\ + ========= | + \\ / 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 + +\*---------------------------------------------------------------------------*/ + +#include "basicThermoParcel.H" +#include "KinematicCloud.H" +#include "NoPostProcessing.H" +#include "StandardPostProcessing.H" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +namespace Foam +{ + makePostProcessingModel(KinematicCloud<basicThermoParcel>); + + // Add instances of post-processing model to the table + makePostProcessingModelType + ( + NoPostProcessing, + KinematicCloud, + basicThermoParcel + ); + makePostProcessingModelType + ( + StandardPostProcessing, + KinematicCloud, + basicThermoParcel + ); +}; + + +// ************************************************************************* // -- GitLab