26 #ifndef LiquidBridgeWilletInteraction_H
27 #define LiquidBridgeWilletInteraction_H
76 void read(std::istream& is)
override;
81 void write(std::ostream& os)
const override;
Defines the basic properties that a interactable object can have.
Definition: BaseInteractable.h:55
Stores information about interactions between two interactable objects; often particles but could be ...
Definition: BaseInteraction.h:60
Definition: BaseParticle.h:54
Defines the liquid bridge willet interaction between two particles or walls.
Definition: LiquidBridgeWilletInteraction.h:43
LiquidBridgeWilletSpecies SpeciesType
An alias name for LiquidBridgeWilletSpecies data type.
Definition: LiquidBridgeWilletInteraction.h:48
bool wasInContact_
A history parameter to store if the particles were in contact or not. Useful to compute adhesive forc...
Definition: LiquidBridgeWilletInteraction.h:108
std::string getBaseName() const
Returns the name of the interaction, see Interaction.h.
Definition: LiquidBridgeWilletInteraction.cc:144
void write(std::ostream &os) const override
Interaction print function, which accepts an std::ostream as input.
Definition: LiquidBridgeWilletInteraction.cc:84
bool getWasInContact() const
Definition: LiquidBridgeWilletInteraction.cc:149
void read(std::istream &is) override
Interaction read function, which accepts an std::istream as input.
Definition: LiquidBridgeWilletInteraction.cc:92
LiquidBridgeWilletInteraction()
Definition: LiquidBridgeWilletInteraction.cc:50
void setWasInContact(bool wasInContact)
Definition: LiquidBridgeWilletInteraction.cc:154
Mdouble getElasticEnergy() const override
Returns the amount of Elastic energy involved in an interaction. Basically used in case you want to w...
Definition: LiquidBridgeWilletInteraction.cc:126
void computeAdhesionForce()
Computes the adhesive forces for liquid bridge Willet type of interaction.
Definition: LiquidBridgeWilletInteraction.cc:102
const LiquidBridgeWilletSpecies * getSpecies() const
Returns a pointer to the adhesive force species LiquidBridgeWilletSpecies.
Definition: LiquidBridgeWilletInteraction.cc:135
~LiquidBridgeWilletInteraction() override
Destructor.
Definition: LiquidBridgeWilletInteraction.cc:74
LiquidBridgeWilletSpecies contains the parameters used to describe a short-range force caused by liqu...
Definition: LiquidBridgeWilletSpecies.h:38
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:73