![]() |
|
LiquidMigrationWilletViscousSpecies contains the parameters used to describe a short-range force caused by liquid bridges. More...
#include <LiquidMigrationWilletViscousSpecies.h>
Public Types | |
typedef LiquidMigrationWilletViscousInteraction | InteractionType |
The correct Interaction type for this AdhesiveForceSpecies. More... | |
![]() | |
typedef LiquidMigrationWilletInteraction | InteractionType |
The correct Interaction type for this AdhesiveForceSpecies. More... | |
Public Member Functions | |
LiquidMigrationWilletViscousSpecies () | |
The default constructor. More... | |
LiquidMigrationWilletViscousSpecies (const LiquidMigrationWilletViscousSpecies &s) | |
The default copy constructor. More... | |
~LiquidMigrationWilletViscousSpecies () | |
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 (LiquidMigrationWilletViscousSpecies *S, LiquidMigrationWilletViscousSpecies *T) |
creates default values for mixed species 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... | |
![]() | |
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... | |
![]() | |
BaseSpecies * | getBaseSpecies () const |
void | setBaseSpecies (BaseSpecies *baseSpecies) |
Private Attributes | |
Mdouble | viscosity_ |
viscosity of the liquid More... | |
LiquidMigrationWilletViscousSpecies contains the parameters used to describe a short-range force caused by liquid bridges.
See LiquidMigrationWilletViscousInteraction::computeAdhesionForce for a description of the force law.
typedef LiquidMigrationWilletViscousInteraction LiquidMigrationWilletViscousSpecies::InteractionType |
The correct Interaction type for this AdhesiveForceSpecies.
LiquidMigrationWilletViscousSpecies::LiquidMigrationWilletViscousSpecies | ( | ) |
The default constructor.
References viscosity_.
LiquidMigrationWilletViscousSpecies::LiquidMigrationWilletViscousSpecies | ( | const LiquidMigrationWilletViscousSpecies & | s | ) |
The default copy constructor.
[in] | the | species that is copied |
References s, and viscosity_.
LiquidMigrationWilletViscousSpecies::~LiquidMigrationWilletViscousSpecies | ( | ) |
std::string LiquidMigrationWilletViscousSpecies::getBaseName | ( | ) | const |
Mdouble LiquidMigrationWilletViscousSpecies::getViscosity | ( | ) | const |
used to access the Viscosity of the liquid.
References viscosity_.
Referenced by LiquidMigrationWilletViscousInteraction::computeAdhesionForce().
void LiquidMigrationWilletViscousSpecies::mix | ( | LiquidMigrationWilletViscousSpecies * | S, |
LiquidMigrationWilletViscousSpecies * | 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(), LiquidMigrationWilletSpecies::mix(), oomph::QuadTreeNames::S, and viscosity_.
void LiquidMigrationWilletViscousSpecies::read | ( | std::istream & | is | ) |
Reads the species properties from an input stream.
[in] | input | stream (typically the restart file) |
References LiquidMigrationWilletSpecies::read(), oomph::Global_string_for_annotation::string(), and viscosity_.
void LiquidMigrationWilletViscousSpecies::setViscosity | ( | Mdouble | viscosity | ) |
used to set the Viscosity of the liquid.
[in] | viscosity | the viscosity of the liquid. |
References logger, and viscosity_.
void LiquidMigrationWilletViscousSpecies::write | ( | std::ostream & | os | ) | const |
Writes the species properties to an output stream.
[out] | output | stream (typically the restart file) |
References viscosity_, and LiquidMigrationWilletSpecies::write().
|
private |
viscosity of the liquid
Referenced by getViscosity(), LiquidMigrationWilletViscousSpecies(), mix(), read(), setViscosity(), and write().