26 #ifndef LiquidMigrationWilletInteraction_H
27 #define LiquidMigrationWilletInteraction_H
70 void read(std::istream& is);
74 void write(std::ostream& os)
const;
112 std::string
getTypeVTK(
unsigned i)
const override;
114 std::string
getNameVTK(
unsigned i)
const override;
116 std::vector<Mdouble>
getFieldVTK(
unsigned i)
const override;
std::string getTypeVTK(unsigned i) const override
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.
Mdouble getElasticEnergy() const
Returns the amount of Elastic energy involved in an interaction. Basically used in case you want to w...
Stores information about interactions between two interactable objects; often particles but could be ...
LiquidMigrationWilletInteraction(BaseInteractable *P, BaseInteractable *I, Mdouble timeStamp)
Constructor.
std::vector< Mdouble > getFieldVTK(unsigned i) const override
bool wasInContact_
A history parameter to store if the particles were in contact or not. Useful to compute adhesive forc...
Mdouble getLiquidBridgeVolume() const
Mdouble getRuptureDistance()
virtual void actionsOnErase()
If an interaction needs to do something before it gets erased, add it here. E.g. Liquid bridges ruptu...
void setWasInContact(bool wasInContact)
std::string getBaseName() const
Returns the name of the interaction, see Interaction.h.
void read(std::istream &is)
Interaction read function, which accepts an std::istream as input.
virtual ~LiquidMigrationWilletInteraction()
Destructor.
std::string getNameVTK(unsigned i) const override
bool getWasInContact() const
void addLiquidBridgeVolume(Mdouble liquidBridgeVolume)
Mdouble liquidBridgeVolume_
void setLiquidBridgeVolume(Mdouble liquidBridgeVolume)
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.
void write(std::ostream &os) const
Interaction print function, which accepts an std::ostream as input.
void actionsAfterTimeStep()
test if particle needs to be ruptured
const LiquidMigrationWilletSpecies * getSpecies() const
A dynamic_cast of BaseSpecies type pointer to a pointer of type LiquidMigrationWilletSpecies.