From 45a5899043a97cce5c3279527aad877c78b4c19a Mon Sep 17 00:00:00 2001 From: andy <andy> Date: Tue, 21 Aug 2012 16:30:37 +0100 Subject: [PATCH] ENH: added virtual mass force selection to parcel types --- .../intermediate/parcels/include/makeParcelForces.H | 6 ++++-- .../intermediate/parcels/include/makeThermoParcelForces.H | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/lagrangian/intermediate/parcels/include/makeParcelForces.H b/src/lagrangian/intermediate/parcels/include/makeParcelForces.H index 81e1658000d..7658900598d 100644 --- a/src/lagrangian/intermediate/parcels/include/makeParcelForces.H +++ b/src/lagrangian/intermediate/parcels/include/makeParcelForces.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -36,6 +36,7 @@ License #include "ParamagneticForce.H" #include "PressureGradientForce.H" #include "SRFForce.H" +#include "VirtualMassForce.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -48,7 +49,8 @@ License makeParticleForceModelType(NonInertialFrameForce, CloudType); \ makeParticleForceModelType(ParamagneticForce, CloudType); \ makeParticleForceModelType(PressureGradientForce, CloudType); \ - makeParticleForceModelType(SRFForce, CloudType); + makeParticleForceModelType(SRFForce, CloudType); \ + makeParticleForceModelType(VirtualMassForce, CloudType); // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/lagrangian/intermediate/parcels/include/makeThermoParcelForces.H b/src/lagrangian/intermediate/parcels/include/makeThermoParcelForces.H index f71ad43d5ea..dff1f464a1c 100644 --- a/src/lagrangian/intermediate/parcels/include/makeThermoParcelForces.H +++ b/src/lagrangian/intermediate/parcels/include/makeThermoParcelForces.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -37,6 +37,7 @@ License #include "ParamagneticForce.H" #include "PressureGradientForce.H" #include "SRFForce.H" +#include "VirtualMassForce.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -50,7 +51,8 @@ License makeParticleForceModelType(NonInertialFrameForce, CloudType); \ makeParticleForceModelType(ParamagneticForce, CloudType); \ makeParticleForceModelType(PressureGradientForce, CloudType); \ - makeParticleForceModelType(SRFForce, CloudType); + makeParticleForceModelType(SRFForce, CloudType); \ + makeParticleForceModelType(VirtualMassForce, CloudType); // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -- GitLab