35 #ifdef DEBUG_CONSTRUCTOR
36 std::cout<<
"LiquidBridgeWilletSpecies::LiquidBridgeWilletSpecies() finished"<<std::endl;
49 #ifdef DEBUG_CONSTRUCTOR
50 std::cout<<
"LiquidBridgeWilletSpecies::LiquidBridgeWilletSpecies(const LiquidBridgeWilletSpecies &p) finished"<<std::endl;
56 #ifdef DEBUG_DESTRUCTOR
57 std::cout<<
"LiquidBridgeWilletSpecies::~LiquidBridgeWilletSpecies() finished"<<std::endl;
87 return "LiquidBridgeWillet";
115 if (liquidBridgeVolume >= 0)
122 std::cerr <<
"Error in setLiquidBridgeVolume(" << liquidBridgeVolume <<
")" << std::endl;
140 if (surfaceTension >= 0)
144 std::cerr <<
"Error in setSurfaceTension" << std::endl;
162 if (contactAngle >= 0)
166 std::cerr <<
"Error in setContactAngle" << std::endl;
void read(std::istream &is)
Reads the species properties from an input stream.
void setContactAngle(Mdouble contactAngle)
used to set the contact angle between particle and liquid bridge surface.
Mdouble contactAngle_
contact angle between particle and liquid bridge surface
Mdouble liquidBridgeVolume_
Volume of the liquid bridge.
Mdouble getContactAngle() const
used to access the contact angle between particle and liquid bridge surface.
Mdouble getLiquidBridgeVolume() const
used to access the Volume of the liquid bridge.
Mdouble getSurfaceTension() const
used to access the surface tension of the liquid.
void mix(LiquidBridgeWilletSpecies *const S, LiquidBridgeWilletSpecies *const T)
creates default values for mixed species
LiquidBridgeWilletSpecies()
The default constructor.
void setLiquidBridgeVolume(Mdouble liquidBridgeVolume)
used to set the Volume of the liquid bridge.
virtual ~LiquidBridgeWilletSpecies()
The default destructor.
Mdouble average(Mdouble a, Mdouble b)
defines the average of two variables by the harmonic mean.
void setSurfaceTension(Mdouble surfaceTension)
used to set the surface tension of the liquid.
Mdouble surfaceTension_
surface tension of the liquid
LiquidBridgeWilletSpecies contains the parameters used to describe a short-range force caused by liqu...
Mdouble cbrtLiquidBridgeVolume_
Cube root of the liquid bridge.
std::string getBaseName() const
Used in Species::getName to obtain a unique name for each Species.
Mdouble getInteractionDistance() const
returns the largest separation distance at which adhesive short-range forces can occur.
void write(std::ostream &os) const
Writes the species properties to an output stream.