26 #ifndef HeatFluidCoupledParticle_H
27 #define HeatFluidCoupledParticle_H
44 template<
class Particle>
89 return "HeatFluidCoupledParticle";
95 std::string
getTypeVTK(
unsigned)
const override {
return "Float32"; }
100 return "liquidFilmVolume";
102 return "liquidBridgeVolume";
104 return "fullLiquidVolume";
106 return "temperature";
113 }
else if (i==2 ||
i==0) {
115 for (
auto k : this->getInteractions()) {
118 fullLiquidVolume += 0.5*j->getLiquidBridgeVolume();
121 return {fullLiquidVolume};
129 this->getSpecies()->actionsAfterTimeStep(
this);
HeatFluidCoupled< SphericalParticle > HeatFluidCoupledParticle
Template specialisation of HeatFluidCoupled<Particle> for spherical particles.
Definition: HeatFluidCoupledParticle.h:134
Class of particles that store both temperature and liquid volume, which is adapted for the CFD-DEM st...
Definition: HeatFluidCoupledParticle.h:46
void actionsAfterTimeStep() override
The actionAfterTimeStep is defined in the species, as we cannot extract the species properties of a H...
Definition: HeatFluidCoupledParticle.h:128
std::vector< Mdouble > getFieldVTK(unsigned i) const override
Tells the vtkWriter the value of each field written for this particle type.
Definition: HeatFluidCoupledParticle.h:110
HeatFluidCoupled * copy() const override
HeatFluidCoupled copy method. Use copy constructor of this HeatFluidCoupled to create a copy on the h...
Definition: HeatFluidCoupledParticle.h:78
unsigned getNumberOfFieldsVTK() const override
Tells the vtkWriter how many fields should be written for this particle type.
Definition: HeatFluidCoupledParticle.h:92
HeatFluidCoupled(const HeatFluidCoupled &p)=default
HeatFluidCoupled copy constructor, which accepts as input a reference to a HeatFluidCoupled....
std::string getName() const override
Returns the name of the object; in this case "HeatFluidCoupledParticle".
Definition: HeatFluidCoupledParticle.h:87
HeatFluidCoupled()=default
HeatFluidCoupled constructor creates a HeatFluidCoupled at (0,0,0) with radius, mass and inertia equa...
std::string getTypeVTK(unsigned) const override
Tells the vtkWriter the type of each field written for this particle type.
Definition: HeatFluidCoupledParticle.h:95
std::string getNameVTK(unsigned i) const override
Tells the vtkWriter the name of each field written for this particle type.
Definition: HeatFluidCoupledParticle.h:98
~HeatFluidCoupled() override=default
HeatFluidCoupled destructor, needs to be implemented and checked if it removes tangential spring info...
Mdouble liquidVolume_
Definition: LiquidFilmParticle.h:136
Defines the liquid bridge willet interaction between two particles or walls.
Definition: LiquidMigrationWilletInteraction.h:45
Definition: ThermalParticle.h:36
Mdouble temperature_
Definition: ThermalParticle.h:141
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51