26 #ifndef LiquidMigrationWilletInteraction_H
27 #define LiquidMigrationWilletInteraction_H
82 void read(std::istream& is)
override;
87 void write(std::ostream& os)
const override;
132 std::vector<Mdouble>
getFieldVTK(
unsigned i)
const override;
std::string getTypeVTK(unsigned i) const override
static Mdouble getTotalLiquidBridgeVolume(InteractionHandler &)
unsigned getNumberOfFieldsVTK() const override
writes extra information to the VTK output
LiquidMigrationWilletSpecies contains the parameters used to describe a short-range force caused by l...
int getNumberOfContacts(BaseInteractable *interactable)
Defines the liquid bridge willet interaction between two particles or walls.
static Mdouble getTotalLiquidFilmVolume(ParticleHandler &)
Mdouble getElasticEnergy() const override
Returns the amount of Elastic energy involved in an interaction. Basically used in case you want to w...
const std::complex< Mdouble > i
Stores information about interactions between two interactable objects; often particles but could be ...
std::vector< Mdouble > getFieldVTK(unsigned i) const override
void write(std::ostream &os) const override
Interaction print function, which accepts an std::ostream as input.
bool wasInContact_
A history parameter to store if the particles were in contact or not. Useful to compute adhesive forc...
void read(std::istream &is) override
Interaction read function, which accepts an std::istream as input.
Mdouble getLiquidBridgeVolume() const
void actionsAfterTimeStep() override
test if particle needs to be ruptured
Mdouble getRuptureDistance()
LiquidMigrationWilletInteraction()
void actionsOnErase() override
If an interaction needs to do something before it gets erased, add it here. E.g. Liquid bridges ruptu...
void setWasInContact(bool wasInContact)
Container to store Interaction objects.
std::string getBaseName() const
Returns the name of the interaction, see Interaction.h.
std::string getNameVTK(unsigned i) const override
bool getWasInContact() const
Container to store all BaseParticle.
void addLiquidBridgeVolume(Mdouble liquidBridgeVolume)
Mdouble liquidBridgeVolume_
void setLiquidBridgeVolume(Mdouble liquidBridgeVolume)
~LiquidMigrationWilletInteraction() override
Destructor.
Defines the basic properties that a interactable object can have.
void computeAdhesionForce()
Computes the adhesive forces for liquid bridge Willet type of interaction.
LiquidMigrationWilletSpecies SpeciesType
An alias name for LiquidMigrationWilletSpecies data type.
const LiquidMigrationWilletSpecies * getSpecies() const
Returns a pointer to the adhesive force species LiquidMigrationWilletSpecies.