35 #ifdef DEBUG_CONSTRUCTOR
36 std::cout<<
"LiquidBridgeWilletSpecies::LiquidBridgeWilletSpecies() finished"<<std::endl;
48 #ifdef DEBUG_CONSTRUCTOR
49 std::cout<<
"LiquidBridgeWilletSpecies::LiquidBridgeWilletSpecies(const LiquidBridgeWilletSpecies &p) finished"<<std::endl;
55 #ifdef DEBUG_DESTRUCTOR
56 std::cout<<
"LiquidBridgeWilletSpecies::~LiquidBridgeWilletSpecies() finished"<<std::endl;
86 return "LiquidBridgeWillet";
114 if (liquidBridgeVolume >= 0)
121 std::cerr <<
"Error in setLiquidBridgeVolume" << std::endl;
139 if (surfaceTension >= 0)
143 std::cerr <<
"Error in setSurfaceTension" << std::endl;
161 if (contactAngle >= 0)
165 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.