From e2ab9fb68d4181efd9b7475eeb4fd5b3238343b4 Mon Sep 17 00:00:00 2001 From: ekinaci Date: Wed, 11 May 2016 18:38:22 +0200 Subject: [PATCH] thermCondModel off is added --- src/lagrangian/cfdemParticle/Make/files | 1 + src/lagrangian/cfdemParticle/Make/options | 1 + .../thermCondModel/noTherm/noThermCond.C | 65 +++++++++++++ .../thermCondModel/noTherm/noThermCond.H | 93 +++++++++++++++++++ 4 files changed, 160 insertions(+) create mode 100644 src/lagrangian/cfdemParticle/subModels/thermCondModel/noTherm/noThermCond.C create mode 100644 src/lagrangian/cfdemParticle/subModels/thermCondModel/noTherm/noThermCond.H diff --git a/src/lagrangian/cfdemParticle/Make/files b/src/lagrangian/cfdemParticle/Make/files index 54560223..3eccdfe1 100644 --- a/src/lagrangian/cfdemParticle/Make/files +++ b/src/lagrangian/cfdemParticle/Make/files @@ -36,6 +36,7 @@ $(energyModels)/reactionHeat/reactionHeat.C $(thermCondModels)/thermCondModel/thermCondModel.C $(thermCondModels)/thermCondModel/newThermCondModel.C $(thermCondModels)/SyamlalThermCond/SyamlalThermCond.C +$(thermCondModels)/noTherm/noThermCond.C $(forceModels)/forceModel/forceModel.C $(forceModels)/forceModel/newForceModel.C diff --git a/src/lagrangian/cfdemParticle/Make/options b/src/lagrangian/cfdemParticle/Make/options index 730442ef..09b32bf8 100644 --- a/src/lagrangian/cfdemParticle/Make/options +++ b/src/lagrangian/cfdemParticle/Make/options @@ -20,6 +20,7 @@ EXE_INC = \ -I$(CFDEM_M2MLIB_PATH) \ -I$(CFDEM_SRC_DIR)/cfdTools \ + LIB_LIBS = \ $(PLIBS) \ -L$(CFDEM_LIB_DIR) \ diff --git a/src/lagrangian/cfdemParticle/subModels/thermCondModel/noTherm/noThermCond.C b/src/lagrangian/cfdemParticle/subModels/thermCondModel/noTherm/noThermCond.C new file mode 100644 index 00000000..ffad2d57 --- /dev/null +++ b/src/lagrangian/cfdemParticle/subModels/thermCondModel/noTherm/noThermCond.C @@ -0,0 +1,65 @@ +/*---------------------------------------------------------------------------*\ +License + + This 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 3 of the License, or + (at your option) any later version. + + This code 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 this code. If not, see . + + Copyright (C) 2015- Thomas Lichtenegger, JKU Linz, Austria + +\*---------------------------------------------------------------------------*/ + +#include "error.H" + +#include "noThermCond.H" +#include "addToRunTimeSelectionTable.H" +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +namespace Foam +{ + +// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // + +defineTypeNameAndDebug(noThermCond, 0); + +addToRunTimeSelectionTable(thermCondModel, noThermCond, dictionary); + +// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // + +// Construct from components +noThermCond::noThermCond +( + const dictionary& dict, + cfdemCloud& sm +) +: + thermCondModel(dict,sm) +{} + + +// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // + +noThermCond::~noThermCond() +{} + +// * * * * * * * * * * * * * * * * Member Fct * * * * * * * * * * * * * * * // + +tmp noThermCond::thermCond() const{return volScalarField::null();} + +tmp noThermCond::thermDiff() const{return volScalarField::null();} + + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +} // End namespace Foam + +// ************************************************************************* // diff --git a/src/lagrangian/cfdemParticle/subModels/thermCondModel/noTherm/noThermCond.H b/src/lagrangian/cfdemParticle/subModels/thermCondModel/noTherm/noThermCond.H new file mode 100644 index 00000000..fdd8d5f1 --- /dev/null +++ b/src/lagrangian/cfdemParticle/subModels/thermCondModel/noTherm/noThermCond.H @@ -0,0 +1,93 @@ +/*---------------------------------------------------------------------------*\ + CFDEMcoupling - Open Source CFD-DEM coupling + + CFDEMcoupling is part of the CFDEMproject + www.cfdem.com + Christoph Goniva, christoph.goniva@cfdem.com + Copyright 2009-2012 JKU Linz + Copyright 2012- DCS Computing GmbH, Linz +------------------------------------------------------------------------------- +License + This file is part of CFDEMcoupling. + + CFDEMcoupling 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 3 of the License, or (at your + option) any later version. + + CFDEMcoupling 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 CFDEMcoupling; if not, write to the Free Software Foundation, + Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +Description + This code is designed to realize coupled CFD-DEM simulations using LIGGGHTS + and OpenFOAM(R). Note: this code is not part of OpenFOAM(R) (see DISCLAIMER). + +Class + noThermCond + +SourceFiles + noThermCond.C + +\*---------------------------------------------------------------------------*/ + +#ifndef noThermCond_H +#define noThermCond_H + +#include "thermCondModel.H" +#include "cfdemCloud.H" +#include "fvCFD.H" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +namespace Foam +{ + +/*---------------------------------------------------------------------------*\ + Class noDrag Declaration +\*---------------------------------------------------------------------------*/ + +class noThermCond +: + public thermCondModel +{ + +public: + + //- Runtime type information + TypeName("off"); + + + // Constructors + + //- Construct from components + noThermCond + ( + const dictionary& dict, + cfdemCloud& sm + ); + + // Destructor + + ~noThermCond(); + + // Member Functions + tmp thermCond() const; + tmp thermDiff() const; +}; + + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +} // End namespace Foam + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +#endif + +// ************************************************************************* //