26 #ifndef LiquidMigrationLSInteraction_H
27 #define LiquidMigrationLSInteraction_H
82 void read(std::istream& is)
override;
87 void write(std::ostream& os)
const override;
136 std::vector<Mdouble>
getFieldVTK(
unsigned i)
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
Container to store Interaction objects.
Definition: InteractionHandler.h:45
Defines the liquid bridge LS interaction between two particles or walls.
Definition: LiquidMigrationLSInteraction.h:45
Mdouble liquidBridgeVolume_
Definition: LiquidMigrationLSInteraction.h:149
bool getWasInContact() const
Definition: LiquidMigrationLSInteraction.cc:512
void actionsAfterTimeStep() override
test if particle needs to be ruptured
Definition: LiquidMigrationLSInteraction.cc:175
void write(std::ostream &os) const override
Interaction print function, which accepts an std::ostream as input.
Definition: LiquidMigrationLSInteraction.cc:95
void read(std::istream &is) override
Interaction read function, which accepts an std::istream as input.
Definition: LiquidMigrationLSInteraction.cc:105
void computeAdhesionForce()
Computes the adhesive forces for liquid bridge LS type of interaction.
Definition: LiquidMigrationLSInteraction.cc:122
~LiquidMigrationLSInteraction() override
Destructor.
Definition: LiquidMigrationLSInteraction.cc:80
LiquidMigrationLSInteraction()
Definition: LiquidMigrationLSInteraction.cc:54
bool wasInContact_
A history parameter to store if the particles were in contact or not. Useful to compute adhesive forc...
Definition: LiquidMigrationLSInteraction.h:147
unsigned getNumberOfFieldsVTK() const override
Definition: LiquidMigrationLSInteraction.cc:539
std::string getNameVTK(unsigned i) const override
Definition: LiquidMigrationLSInteraction.cc:549
Mdouble getHalfFillingAngle()
Definition: LiquidMigrationLSInteraction.cc:528
void rupture()
Definition: LiquidMigrationLSInteraction.cc:288
static Mdouble getTotalLiquidFilmVolume(ParticleHandler &)
Definition: LiquidMigrationLSInteraction.cc:560
int getNumberOfContacts(BaseInteractable *interactable)
Definition: LiquidMigrationLSInteraction.cc:275
Mdouble getElasticEnergy() const override
Returns the amount of Elastic energy involved in an interaction. Basically used in case you want to w...
Definition: LiquidMigrationLSInteraction.cc:474
std::string getBaseName() const
Returns the name of the interaction, see Interaction.h.
Definition: LiquidMigrationLSInteraction.cc:492
static Mdouble getTotalLiquidBridgeVolume(InteractionHandler &)
Definition: LiquidMigrationLSInteraction.cc:574
Mdouble getLimitingDistance()
Definition: LiquidMigrationLSInteraction.cc:534
const LiquidMigrationLSSpecies * getSpecies() const
Returns a pointer to the adhesive force species LiquidMigrationLSSpecies.
Definition: LiquidMigrationLSInteraction.cc:483
void setLiquidBridgeVolume(Mdouble liquidBridgeVolume)
Definition: LiquidMigrationLSInteraction.cc:502
Mdouble getLiquidBridgeVolume() const
Definition: LiquidMigrationLSInteraction.cc:497
void form()
Definition: LiquidMigrationLSInteraction.cc:193
std::string getTypeVTK(unsigned i) const override
Definition: LiquidMigrationLSInteraction.cc:544
LiquidMigrationLSSpecies SpeciesType
An alias name for LiquidMigrationLSSpecies data type.
Definition: LiquidMigrationLSInteraction.h:50
void setWasInContact(bool wasInContact)
Definition: LiquidMigrationLSInteraction.cc:517
std::vector< Mdouble > getFieldVTK(unsigned i) const override
Definition: LiquidMigrationLSInteraction.cc:555
Mdouble getRuptureDistance()
Definition: LiquidMigrationLSInteraction.cc:522
void addLiquidBridgeVolume(Mdouble liquidBridgeVolume)
Definition: LiquidMigrationLSInteraction.cc:507
void actionsOnErase() override
If an interaction needs to do something before it gets erased, add it here. E.g. Liquid bridges ruptu...
Definition: LiquidMigrationLSInteraction.cc:87
LiquidMigrationLSSpecies contains the parameters used to describe a short-range force caused by liqui...
Definition: LiquidMigrationLSSpecies.h:38
Container to store all BaseParticle.
Definition: ParticleHandler.h:48
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:73
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51