1 #ifndef DROPLETBOUNDARY_H
2 #define DROPLETBOUNDARY_H
72 return "DropletBoundary";
83 void read(std::istream& is)
override;
88 void write(std::ostream& os)
const override;
94 void writeVTK(std::fstream& file)
override;
115 logger(
WARN,
"DropletBoundary: Droplets should repel from wall, but no droplet species was set. Using last species from the species handler instead.");
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
Definition: BaseBoundary.h:49
BoundaryHandler * getHandler() const
Returns the boundary's BoundaryHandler.
Definition: BaseBoundary.cc:143
DPMBase * getDPMBase()
Gets the problem that is solved using this handler.
Definition: BaseHandler.h:725
T * getLastObject()
Gets a pointer to the last Object in this BaseHandler.
Definition: BaseHandler.h:634
Definition: BaseParticle.h:54
The DPMBase header includes quite a few header files, defining all the handlers, which are essential....
Definition: DPMBase.h:77
SpeciesHandler speciesHandler
A handler to that stores the species type i.e. LinearViscoelasticSpecies, etc.
Definition: DPMBase.h:1427
Supplies a 'constant heat flux' to a cuboidal region (specified by two corner points) by adding a ran...
Definition: DropletBoundary.h:26
double dropletVolume
Definition: DropletBoundary.h:41
double lostVolume
Definition: DropletBoundary.h:45
DropletBoundary(const DropletBoundary &other)
Definition: DropletBoundary.h:56
void write(std::ostream &os) const override
Writes the boundary properties to an std::ostream.
Definition: DropletBoundary.cc:94
std::function< void(DropletBoundary &)> generateDroplets_
Definition: DropletBoundary.h:50
void setRemoveDropletsAtWalls(bool removeDroplets)
Definition: DropletBoundary.h:99
DropletBoundary * copy() const override
Used to create a copy of the object NB: purely virtual function.
Definition: DropletBoundary.h:67
bool removeDropletsAtWalls_
Definition: DropletBoundary.h:124
double absorbedVolume
Definition: DropletBoundary.h:43
DropletBoundary()
Definition: DropletBoundary.h:54
void setDropletSpecies(const ParticleSpecies *species)
Definition: DropletBoundary.h:103
void read(std::istream &is) override
Reads some boundary properties from an std::istream.
Definition: DropletBoundary.cc:73
~DropletBoundary() override
Definition: DropletBoundary.h:63
void checkBoundaryAfterParticlesMove(ParticleHandler &pH) override
Runs at the end of each time step.
Definition: DropletBoundary.cc:7
std::string getName() const override
A purely virtual function.
Definition: DropletBoundary.h:71
unsigned checkCount
Definition: DropletBoundary.h:97
std::vector< Droplet > droplets_
Definition: DropletBoundary.h:38
void setGenerateDroplets(std::function< void(DropletBoundary &)> generateDroplets)
Definition: DropletBoundary.h:90
void writeVTK(std::fstream &file) override
Definition: DropletBoundary.cc:106
const ParticleSpecies * dropletSpecies_
Definition: DropletBoundary.h:125
void actionsBeforeTimeLoop() override
Virtual function that does something after DPMBase::setupInitialConditions but before the first time ...
Definition: DropletBoundary.h:107
Container to store all BaseParticle.
Definition: ParticleHandler.h:48
Definition: ParticleSpecies.h:37
This is a class that generates random numbers i.e. named the Random Number Generator (RNG).
Definition: RNG.h:53
Definition: DropletBoundary.h:29
double radius
Definition: DropletBoundary.h:32
Vec3D force
Definition: DropletBoundary.h:35
Vec3D velocity
Definition: DropletBoundary.h:31
Vec3D position
Definition: DropletBoundary.h:30