|
LiquidMigrationWilletSpecies contains the parameters used to describe a short-range force caused by liquid bridges. More...
#include <LiquidMigrationWilletSpecies.h>
Public Types | |
typedef LiquidMigrationWilletInteraction | InteractionType |
The correct Interaction type for this AdhesiveForceSpecies. More... | |
Public Member Functions | |
LiquidMigrationWilletSpecies () | |
The default constructor. More... | |
LiquidMigrationWilletSpecies (const LiquidMigrationWilletSpecies &s) | |
The default copy constructor. More... | |
~LiquidMigrationWilletSpecies () | |
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 (LiquidMigrationWilletSpecies *S, LiquidMigrationWilletSpecies *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) |
used to set the Volume of the liquid bridge. 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... | |
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 More... | |
Mdouble | surfaceTension_ |
surface tension of the liquid More... | |
LiquidMigrationWilletSpecies contains the parameters used to describe a short-range force caused by liquid bridges.
See LiquidMigrationWilletInteraction::computeForce for a description of the force law.
The correct Interaction type for this AdhesiveForceSpecies.
LiquidMigrationWilletSpecies::LiquidMigrationWilletSpecies | ( | ) |
The default constructor.
References contactAngle_, distributionCoefficient_, liquidBridgeVolumeMax_, liquidBridgeVolumeMin_, and surfaceTension_.
LiquidMigrationWilletSpecies::LiquidMigrationWilletSpecies | ( | const LiquidMigrationWilletSpecies & | s | ) |
The default copy constructor.
[in] | the | species that is copied |
References contactAngle_, distributionCoefficient_, liquidBridgeVolumeMax_, liquidBridgeVolumeMin_, and surfaceTension_.
LiquidMigrationWilletSpecies::~LiquidMigrationWilletSpecies | ( | ) |
std::string LiquidMigrationWilletSpecies::getBaseName | ( | ) | const |
Mdouble LiquidMigrationWilletSpecies::getContactAngle | ( | ) | const |
used to access the contact angle between particle and liquid bridge surface.
References contactAngle_.
Referenced by LiquidMigrationWilletInteraction::computeAdhesionForce(), LiquidMigrationWilletInteraction::getRuptureDistance(), and mix().
Mdouble LiquidMigrationWilletSpecies::getDistributionCoefficient | ( | ) | const |
used to access the surface tension of the liquid.
References distributionCoefficient_.
Referenced by mix(), and LiquidMigrationWilletInteraction::rupture().
Mdouble LiquidMigrationWilletSpecies::getLiquidBridgeVolumeMax | ( | ) | const |
used to access the Volume of the liquid bridge.
References liquidBridgeVolumeMax_.
Referenced by LiquidMigrationWilletInteraction::form(), mix(), and LiquidMigrationWilletInteraction::rupture().
Mdouble LiquidMigrationWilletSpecies::getLiquidBridgeVolumeMin | ( | ) | const |
used to access the Volume of the liquid bridge.
References liquidBridgeVolumeMin_.
Referenced by LiquidMigrationWilletInteraction::form(), and mix().
Mdouble LiquidMigrationWilletSpecies::getSurfaceTension | ( | ) | const |
used to access the surface tension of the liquid.
References surfaceTension_.
Referenced by LiquidMigrationWilletInteraction::computeAdhesionForce(), and mix().
void LiquidMigrationWilletSpecies::mix | ( | LiquidMigrationWilletSpecies * | S, |
LiquidMigrationWilletSpecies * | 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_, getContactAngle(), getDistributionCoefficient(), getLiquidBridgeVolumeMax(), getLiquidBridgeVolumeMin(), getSurfaceTension(), setLiquidBridgeVolumeMax(), setLiquidBridgeVolumeMin(), and surfaceTension_.
void LiquidMigrationWilletSpecies::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(), and surfaceTension_.
void LiquidMigrationWilletSpecies::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_, ERROR, logger, and setInteractionDistance().
void LiquidMigrationWilletSpecies::setDistributionCoefficient | ( | Mdouble | distributionCoefficient | ) |
used to set the distribution coefficient of the liquid.
[in] | distributionCoefficient | the distribution coefficient of the liquid. |
References distributionCoefficient_, ERROR, and logger.
void LiquidMigrationWilletSpecies::setInteractionDistance | ( | ) |
returns the largest separation distance at which adhesive short-range forces can occur.
References contactAngle_, BaseForce::getBaseSpecies(), liquidBridgeVolumeMax_, and BaseSpecies::setInteractionDistance().
Referenced by setContactAngle(), and setLiquidBridgeVolumeMax().
void LiquidMigrationWilletSpecies::setLiquidBridgeVolumeMax | ( | Mdouble | liquidBridgeVolumeMax | ) |
used to set the Volume of the liquid bridge.
[in] | liquidBridgeVolume | the volume of the liquid bridge. |
References liquidBridgeVolumeMax_, logger, and setInteractionDistance().
Referenced by mix().
void LiquidMigrationWilletSpecies::setLiquidBridgeVolumeMin | ( | Mdouble | liquidBridgeVolumeMin | ) |
used to set the Volume of the liquid bridge.
References liquidBridgeVolumeMin_, and logger.
Referenced by mix().
void LiquidMigrationWilletSpecies::setSurfaceTension | ( | Mdouble | surfaceTension | ) |
used to set the surface tension of the liquid.
[in] | surfaceTension | the surface tension of the liquid. |
References ERROR, logger, and surfaceTension_.
void LiquidMigrationWilletSpecies::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_, and surfaceTension_.
|
private |
contact angle between particle and liquid bridge surface
Referenced by getContactAngle(), LiquidMigrationWilletSpecies(), 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(), LiquidMigrationWilletSpecies(), 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(), LiquidMigrationWilletSpecies(), read(), setInteractionDistance(), setLiquidBridgeVolumeMax(), and write().
|
private |
Minimum volume needed to form a liquid bridge.
Referenced by getLiquidBridgeVolumeMin(), LiquidMigrationWilletSpecies(), read(), setLiquidBridgeVolumeMin(), and write().
|
private |
surface tension of the liquid
Referenced by getSurfaceTension(), LiquidMigrationWilletSpecies(), mix(), read(), setSurfaceTension(), and write().