![]() |
|
LiquidBridgeBagheriSpecies contains the parameters used to describe a short-range force caused by liquid bridges. More...
#include <LiquidBridgeBagheriSpecies.h>
Public Types | |
typedef LiquidBridgeBagheriInteraction | InteractionType |
The correct Interaction type for this AdhesiveForceSpecies. More... | |
Public Member Functions | |
LiquidBridgeBagheriSpecies () | |
The default constructor. More... | |
LiquidBridgeBagheriSpecies (const LiquidBridgeBagheriSpecies &s) | |
The default copy constructor. More... | |
~LiquidBridgeBagheriSpecies () | |
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 (LiquidBridgeBagheriSpecies *S, LiquidBridgeBagheriSpecies *T) |
creates default values for mixed species More... | |
void | setInteractionDistance () |
void | setLiquidBridgeVolume (Mdouble liquidBridgeVolume) |
used to set the Volume of the liquid bridge. More... | |
Mdouble | getLiquidBridgeVolume () const |
used to access the Volume of the liquid bridge. 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. More... | |
Mdouble | getContactAngle () const |
used to access the contact angle between particle and liquid bridge surface. More... | |
void | setMeanRadius (Mdouble meanRadius) |
used to access the mean radius of the particle. More... | |
Mdouble | getMeanRadius () const |
used to access the mean radius of the particle. More... | |
![]() | |
BaseSpecies * | getBaseSpecies () const |
void | setBaseSpecies (BaseSpecies *baseSpecies) |
Private Attributes | |
Mdouble | liquidBridgeVolume_ |
Volume of the liquid bridge. More... | |
Mdouble | cbrtLiquidBridgeVolume_ |
Cube root of the liquid bridge. More... | |
Mdouble | contactAngle_ |
contact angle between particle and liquid bridge surface More... | |
Mdouble | surfaceTension_ |
surface tension of the liquid More... | |
Mdouble | meanRadius_ |
mean radius of the particles More... | |
LiquidBridgeBagheriSpecies contains the parameters used to describe a short-range force caused by liquid bridges.
See LiquidBridgeBagheriInteraction::computeForce for a description of the force law.
The correct Interaction type for this AdhesiveForceSpecies.
LiquidBridgeBagheriSpecies::LiquidBridgeBagheriSpecies | ( | ) |
The default constructor.
References cbrtLiquidBridgeVolume_, contactAngle_, liquidBridgeVolume_, and surfaceTension_.
LiquidBridgeBagheriSpecies::LiquidBridgeBagheriSpecies | ( | const LiquidBridgeBagheriSpecies & | s | ) |
The default copy constructor.
[in] | the | species that is copied |
References cbrtLiquidBridgeVolume_, contactAngle_, liquidBridgeVolume_, s, and surfaceTension_.
LiquidBridgeBagheriSpecies::~LiquidBridgeBagheriSpecies | ( | ) |
std::string LiquidBridgeBagheriSpecies::getBaseName | ( | ) | const |
Mdouble LiquidBridgeBagheriSpecies::getContactAngle | ( | ) | const |
used to access the contact angle between particle and liquid bridge surface.
References contactAngle_.
Referenced by LiquidBridgeBagheriInteraction::computeAdhesionForce().
Mdouble LiquidBridgeBagheriSpecies::getLiquidBridgeVolume | ( | ) | const |
used to access the Volume of the liquid bridge.
References liquidBridgeVolume_.
Referenced by LiquidBridgeBagheriInteraction::computeAdhesionForce().
Mdouble LiquidBridgeBagheriSpecies::getMeanRadius | ( | ) | const |
used to access the mean radius of the particle.
Mdouble LiquidBridgeBagheriSpecies::getSurfaceTension | ( | ) | const |
used to access the surface tension of the liquid.
References surfaceTension_.
Referenced by LiquidBridgeBagheriInteraction::computeAdhesionForce().
void LiquidBridgeBagheriSpecies::mix | ( | LiquidBridgeBagheriSpecies * | S, |
LiquidBridgeBagheriSpecies * | 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(), Eigen::numext::cbrt(), cbrtLiquidBridgeVolume_, contactAngle_, liquidBridgeVolume_, oomph::QuadTreeNames::S, setInteractionDistance(), and surfaceTension_.
void LiquidBridgeBagheriSpecies::read | ( | std::istream & | is | ) |
Reads the species properties from an input stream.
[in] | input | stream (typically the restart file) |
References Eigen::numext::cbrt(), cbrtLiquidBridgeVolume_, contactAngle_, liquidBridgeVolume_, setInteractionDistance(), oomph::Global_string_for_annotation::string(), and surfaceTension_.
void LiquidBridgeBagheriSpecies::setContactAngle | ( | Mdouble | contactAngle | ) |
used to set the contact angle between particle and liquid bridge surface.
[in] | contactAngle | the contact angle between particle and liquid bridge surface. |
References contactAngle_, logger, constants::pi, and setInteractionDistance().
|
virtual |
Reimplemented from BaseAdhesiveForce.
References cbrtLiquidBridgeVolume_, contactAngle_, BaseForce::getBaseSpecies(), and BaseSpecies::setInteractionDistance().
Referenced by mix(), read(), setContactAngle(), and setLiquidBridgeVolume().
void LiquidBridgeBagheriSpecies::setLiquidBridgeVolume | ( | Mdouble | liquidBridgeVolume | ) |
used to set the Volume of the liquid bridge.
[in] | liquidBridgeVolume | the volume of the liquid bridge. |
References Eigen::numext::cbrt(), cbrtLiquidBridgeVolume_, liquidBridgeVolume_, logger, and setInteractionDistance().
void LiquidBridgeBagheriSpecies::setMeanRadius | ( | Mdouble | meanRadius | ) |
used to access the mean radius of the particle.
void LiquidBridgeBagheriSpecies::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 LiquidBridgeBagheriSpecies::write | ( | std::ostream & | os | ) | const |
Writes the species properties to an output stream.
[out] | output | stream (typically the restart file) |
References contactAngle_, liquidBridgeVolume_, and surfaceTension_.
|
private |
Cube root of the liquid bridge.
This is a slave variable of liquidBridgeVolume_ (i.e. it is always set together) but is useful, because the cube root has to be calculated to obtain the liquid bridge adhesive force.
Referenced by LiquidBridgeBagheriSpecies(), mix(), read(), setInteractionDistance(), and setLiquidBridgeVolume().
|
private |
contact angle between particle and liquid bridge surface
Referenced by getContactAngle(), LiquidBridgeBagheriSpecies(), mix(), read(), setContactAngle(), setInteractionDistance(), and write().
|
private |
Volume of the liquid bridge.
Currently, this is a Species property (i.e. all particles have the same liquid bridge volume), but this should probably become a Particle or Interaction property.
Referenced by getLiquidBridgeVolume(), LiquidBridgeBagheriSpecies(), mix(), read(), setLiquidBridgeVolume(), and write().
|
private |
mean radius of the particles
|
private |
surface tension of the liquid
Referenced by getSurfaceTension(), LiquidBridgeBagheriSpecies(), mix(), read(), setSurfaceTension(), and write().