![]() |
|
LiquidMigrationLSSpecies contains the parameters used to describe a short-range force caused by liquid bridges. More...
#include <LiquidMigrationLSSpecies.h>
Inheritance diagram for LiquidMigrationLSSpecies:Public Types | |
| typedef LiquidMigrationLSInteraction | InteractionType |
| The correct Interaction type for this AdhesiveForceSpecies. More... | |
Public Member Functions | |
| LiquidMigrationLSSpecies () | |
| The default constructor. More... | |
| LiquidMigrationLSSpecies (const LiquidMigrationLSSpecies &s) | |
| The default copy constructor. More... | |
| ~LiquidMigrationLSSpecies () | |
| The default destructor. More... | |
| void | read (std::istream &is) |
| Reads the species properties from an input stream. More... | |
| void | write (std::ostream &os) const |
| Writes the species properties to an output stream. More... | |
| std::string | getBaseName () const |
| Used in Species::getName to obtain a unique name for each Species. More... | |
| void | mix (LiquidMigrationLSSpecies *S, LiquidMigrationLSSpecies *T) |
| creates default values for mixed species More... | |
| void | setInteractionDistance () |
| returns the largest separation distance at which adhesive short-range forces can occur. More... | |
| void | setLiquidBridgeVolumeMax (Mdouble liquidBridgeVolume) |
| Returns a pointer to the adhesive force interaction LiquidMigrationLSInteraction. More... | |
| Mdouble | getLiquidBridgeVolumeMax () const |
| used to access the Volume of the liquid bridge. More... | |
| void | setLiquidBridgeVolumeMin (Mdouble) |
| used to set the Volume of the liquid bridge. More... | |
| Mdouble | getLiquidBridgeVolumeMin () const |
| used to access the Volume of the liquid bridge. More... | |
| void | setDistributionCoefficient (Mdouble distributionCoefficient) |
| used to set the distribution coefficient of the liquid. More... | |
| Mdouble | getDistributionCoefficient () const |
| used to access the surface tension of the liquid. More... | |
| void | setSurfaceTension (Mdouble surfaceTension) |
| used to set the surface tension of the liquid. More... | |
| Mdouble | getSurfaceTension () const |
| used to access the surface tension of the liquid. More... | |
| void | setContactAngle (Mdouble contactAngle) |
| used to set the contact angle between particle and liquid bridge surface (in radians) More... | |
| Mdouble | getContactAngle () const |
| used to access the contact angle between particle and liquid bridge surface. More... | |
| void | setViscosity (Mdouble viscosity) |
| used to set the Viscosity of the liquid. More... | |
| Mdouble | getViscosity () const |
| used to access the Viscosity of the liquid. More... | |
Public Member Functions inherited from BaseForce | |
| BaseSpecies * | getBaseSpecies () const |
| void | setBaseSpecies (BaseSpecies *baseSpecies) |
Private Attributes | |
| Mdouble | liquidBridgeVolumeMax_ |
| Max volume a liquid bridge gets during formation; any excess remains in the liquid film of the particle. More... | |
| Mdouble | liquidBridgeVolumeMin_ |
| Minimum volume needed to form a liquid bridge. More... | |
| Mdouble | distributionCoefficient_ |
| distribution coefficient of the liquid More... | |
| Mdouble | contactAngle_ |
| contact angle between particle and liquid bridge surface (in radians) More... | |
| Mdouble | surfaceTension_ |
| surface tension of the liquid More... | |
| Mdouble | viscosity_ |
| viscosity of the liquid More... | |
LiquidMigrationLSSpecies contains the parameters used to describe a short-range force caused by liquid bridges.
See LiquidMigrationLSInteraction::computeForce for a description of the force law.
The correct Interaction type for this AdhesiveForceSpecies.
| LiquidMigrationLSSpecies::LiquidMigrationLSSpecies | ( | ) |
The default constructor.
References contactAngle_, distributionCoefficient_, INFO, liquidBridgeVolumeMax_, liquidBridgeVolumeMin_, logger, surfaceTension_, and viscosity_.
| LiquidMigrationLSSpecies::LiquidMigrationLSSpecies | ( | const LiquidMigrationLSSpecies & | s | ) |
The default copy constructor.
| [in] | the | species that is copied |
References contactAngle_, distributionCoefficient_, INFO, liquidBridgeVolumeMax_, liquidBridgeVolumeMin_, logger, s, surfaceTension_, and viscosity_.
| LiquidMigrationLSSpecies::~LiquidMigrationLSSpecies | ( | ) |
| std::string LiquidMigrationLSSpecies::getBaseName | ( | ) | const |
| Mdouble LiquidMigrationLSSpecies::getContactAngle | ( | ) | const |
used to access the contact angle between particle and liquid bridge surface.
References contactAngle_.
Referenced by LiquidMigrationLSInteraction::computeAdhesionForce(), LiquidMigrationLSInteraction::getHalfFillingAngle(), and LiquidMigrationLSInteraction::getRuptureDistance().
| Mdouble LiquidMigrationLSSpecies::getDistributionCoefficient | ( | ) | const |
used to access the surface tension of the liquid.
References distributionCoefficient_.
Referenced by LiquidMigrationLSInteraction::distributeToOtherBridges().
| Mdouble LiquidMigrationLSSpecies::getLiquidBridgeVolumeMax | ( | ) | const |
used to access the Volume of the liquid bridge.
References liquidBridgeVolumeMax_.
| Mdouble LiquidMigrationLSSpecies::getLiquidBridgeVolumeMin | ( | ) | const |
used to access the Volume of the liquid bridge.
References liquidBridgeVolumeMin_.
| Mdouble LiquidMigrationLSSpecies::getSurfaceTension | ( | ) | const |
used to access the surface tension of the liquid.
References surfaceTension_.
Referenced by LiquidMigrationLSInteraction::computeAdhesionForce().
| Mdouble LiquidMigrationLSSpecies::getViscosity | ( | ) | const |
used to access the Viscosity of the liquid.
References viscosity_.
Referenced by LiquidMigrationLSInteraction::computeAdhesionForce().
| void LiquidMigrationLSSpecies::mix | ( | LiquidMigrationLSSpecies * | S, |
| LiquidMigrationLSSpecies * | T | ||
| ) |
creates default values for mixed species
For all parameters we assume that the harmonic mean of the parameters of the original two species is a sensible default.
| [in] | S,T | the two species whose properties are mixed to create the new species |
References BaseSpecies::average(), contactAngle_, distributionCoefficient_, liquidBridgeVolumeMax_, liquidBridgeVolumeMin_, oomph::QuadTreeNames::S, setInteractionDistance(), surfaceTension_, and viscosity_.
| void LiquidMigrationLSSpecies::read | ( | std::istream & | is | ) |
Reads the species properties from an input stream.
| [in] | input | stream (typically the restart file) |
References contactAngle_, distributionCoefficient_, liquidBridgeVolumeMax_, liquidBridgeVolumeMin_, helpers::readOptionalVariable(), setInteractionDistance(), oomph::Global_string_for_annotation::string(), surfaceTension_, and viscosity_.
| void LiquidMigrationLSSpecies::setContactAngle | ( | Mdouble | contactAngle | ) |
used to set the contact angle between particle and liquid bridge surface (in radians)
| [in] | contactAngle | the contact angle between particle and liquid bridge surface. |
References contactAngle_, logger, and setInteractionDistance().
| void LiquidMigrationLSSpecies::setDistributionCoefficient | ( | Mdouble | distributionCoefficient | ) |
used to set the distribution coefficient of the liquid.
| [in] | distributionCoefficient | the distribution coefficient of the liquid. |
References distributionCoefficient_, and logger.
|
virtual |
returns the largest separation distance at which adhesive short-range forces can occur.
Reimplemented from BaseAdhesiveForce.
References Eigen::numext::cbrt(), contactAngle_, BaseForce::getBaseSpecies(), liquidBridgeVolumeMax_, Eigen::bfloat16_impl::pow(), and BaseSpecies::setInteractionDistance().
Referenced by mix(), read(), setContactAngle(), and setLiquidBridgeVolumeMax().
| void LiquidMigrationLSSpecies::setLiquidBridgeVolumeMax | ( | Mdouble | liquidBridgeVolumeMax | ) |
Returns a pointer to the adhesive force interaction LiquidMigrationLSInteraction.
used to set the Volume of the liquid bridge.
| [in] | liquidBridgeVolume | the maximum volume of the liquid bridge. |
References liquidBridgeVolumeMax_, logger, and setInteractionDistance().
| void LiquidMigrationLSSpecies::setLiquidBridgeVolumeMin | ( | Mdouble | liquidBridgeVolumeMin | ) |
used to set the Volume of the liquid bridge.
| [in] | liquidBridgeVolume | the minimum volume of the liquid bridge, the criterion value of the summation of the liquid film volumes for the liquid bridge forming. |
References liquidBridgeVolumeMin_, and logger.
| void LiquidMigrationLSSpecies::setSurfaceTension | ( | Mdouble | surfaceTension | ) |
used to set the surface tension of the liquid.
| [in] | surfaceTension | the surface tension of the liquid. |
References logger, and surfaceTension_.
| void LiquidMigrationLSSpecies::setViscosity | ( | Mdouble | viscosity | ) |
used to set the Viscosity of the liquid.
| [in] | viscosity | the viscosity of the liquid. |
References logger, and viscosity_.
| void LiquidMigrationLSSpecies::write | ( | std::ostream & | os | ) | const |
Writes the species properties to an output stream.
| [out] | output | stream (typically the restart file) |
References contactAngle_, distributionCoefficient_, liquidBridgeVolumeMax_, liquidBridgeVolumeMin_, surfaceTension_, and viscosity_.
|
private |
contact angle between particle and liquid bridge surface (in radians)
Referenced by getContactAngle(), LiquidMigrationLSSpecies(), mix(), read(), setContactAngle(), setInteractionDistance(), and write().
|
private |
distribution coefficient of the liquid
This is a variable that determines the fraction of the liquid that is to be distributed to the neighboring contacts of the particles after a liquid bridge rupture.
Referenced by getDistributionCoefficient(), LiquidMigrationLSSpecies(), mix(), read(), setDistributionCoefficient(), and write().
|
private |
Max volume a liquid bridge gets during formation; any excess remains in the liquid film of the particle.
Referenced by getLiquidBridgeVolumeMax(), LiquidMigrationLSSpecies(), mix(), read(), setInteractionDistance(), setLiquidBridgeVolumeMax(), and write().
|
private |
Minimum volume needed to form a liquid bridge.
Referenced by getLiquidBridgeVolumeMin(), LiquidMigrationLSSpecies(), mix(), read(), setLiquidBridgeVolumeMin(), and write().
|
private |
surface tension of the liquid
Referenced by getSurfaceTension(), LiquidMigrationLSSpecies(), mix(), read(), setSurfaceTension(), and write().
|
private |
viscosity of the liquid
Referenced by getViscosity(), LiquidMigrationLSSpecies(), mix(), read(), setViscosity(), and write().