5 #ifndef HeatFluidCoupledINTERACTION_H
6 #define HeatFluidCoupledINTERACTION_H
12 template<
class NormalForceSpecies>
15 template<
class NormalForceInteraction>
56 template<
class NormalForceInteraction>
59 NormalForceInteraction::computeNormalForce();
60 Mdouble radius = 2.0 * NormalForceInteraction::getEffectiveRadius();
62 const SpeciesType* species =
static_cast<const SpeciesType*
>(NormalForceInteraction::getBaseSpecies()->getNormalForce());
66 if (pParticle && iParticle)
70 * (pParticle->getTemperature() - iParticle->getTemperature())
71 * contactArea / NormalForceInteraction::getDistance();
74 * NormalForceInteraction::getHandler()->getDPMBase()->getTimeStep();
75 pParticle->addTemperature(-mdT * pParticle->getInvMass());
76 iParticle->addTemperature(mdT * iParticle->getInvMass());
float * p
Definition: Tutorial_Map_using.cpp:9
Defines the basic properties that a interactable object can have.
Definition: BaseInteractable.h:34
Stores information about interactions between two interactable objects; often particles but could be ...
Definition: BaseInteraction.h:39
Definition: HeatFluidCoupledInteraction.h:17
HeatFluidCoupledSpecies< typename NormalForceInteraction::SpeciesType > SpeciesType
Definition: HeatFluidCoupledInteraction.h:19
void computeNormalForce()
Computes the normal forces due to linear plastic visco elastic interaction.
Definition: HeatFluidCoupledInteraction.h:57
virtual ~HeatFluidCoupledInteraction()
Destructor.
Definition: HeatFluidCoupledInteraction.h:46
HeatFluidCoupledInteraction(const HeatFluidCoupledInteraction &p)
Copy constructor.
Definition: HeatFluidCoupledInteraction.h:39
HeatFluidCoupledInteraction()
Default Constructor.
Definition: HeatFluidCoupledInteraction.h:31
HeatFluidCoupledInteraction(BaseInteractable *P, BaseInteractable *I, unsigned timeStamp)
Constructor.
Definition: HeatFluidCoupledInteraction.h:24
Species for the HeatFluidCoupledParticle.
Definition: HeatFluidCoupledSpecies.h:14
Class of particles that store both temperature and liquid volume, which is adapted for the CFD-DEM st...
Definition: HeatFluidCoupledParticle.h:25
Definition: ThermalInteraction.h:16
Mdouble getThermalConductivity() const
Allows heatCapacity_ to be accessed.
Definition: ThermalSpecies.h:247
Mdouble getHeatCapacity() const
Allows heatCapacity_ to be accessed.
Definition: ThermalSpecies.h:232
#define max(a, b)
Definition: datatypes.h:23
#define I
Definition: main.h:127
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:77
const Mdouble pi
Definition: ExtendedMath.h:23