LiquidMigrationLSSpecies.h
Go to the documentation of this file.
1 // This file is part of the MercuryDPM project (https://www.mercurydpm.org).
2 // Copyright (c), The MercuryDPM Developers Team. All rights reserved.
3 // License: BSD 3-Clause License; see the LICENSE file in the root directory.
4 
5 #ifndef LiquidMigrationLSSpecies_H
6 #define LiquidMigrationLSSpecies_H
7 
9 #include "Math/ExtendedMath.h"
11 
17 {
18 public:
21 
24 
27 
30 
32  void read(std::istream& is);
33 
35  void write(std::ostream& os) const;
36 
38  std::string getBaseName() const;
39 
42 
43 //adhesion-specific functions
44 
47 
51  //const LiquidMigrationLSInteraction*;
52 
53 //setters and getters
57  void setLiquidBridgeVolumeMax(Mdouble liquidBridgeVolume);
58 
63 
68 
73 
77  void setDistributionCoefficient(Mdouble distributionCoefficient);
78 
83 
87  void setSurfaceTension(Mdouble surfaceTension);
88 
92  Mdouble getSurfaceTension() const;
93 
97  void setContactAngle(Mdouble contactAngle);
98 
102  Mdouble getContactAngle() const;
103 
107  void setViscosity(Mdouble viscosity);
108 
112  Mdouble getViscosity() const;
113 
114 private:
119 
124 
132 
137 
142 
147 
148 };
149 
150 #endif
Definition: BaseAdhesiveForce.h:10
Defines the liquid bridge LS interaction between two particles or walls.
Definition: LiquidMigrationLSInteraction.h:30
LiquidMigrationLSSpecies contains the parameters used to describe a short-range force caused by liqui...
Definition: LiquidMigrationLSSpecies.h:17
std::string getBaseName() const
Used in Species::getName to obtain a unique name for each Species.
Definition: LiquidMigrationLSSpecies.cc:77
void setSurfaceTension(Mdouble surfaceTension)
used to set the surface tension of the liquid.
Definition: LiquidMigrationLSSpecies.cc:164
void setInteractionDistance()
returns the largest separation distance at which adhesive short-range forces can occur.
Definition: LiquidMigrationLSSpecies.cc:99
Mdouble liquidBridgeVolumeMin_
Minimum volume needed to form a liquid bridge.
Definition: LiquidMigrationLSSpecies.h:123
Mdouble getSurfaceTension() const
used to access the surface tension of the liquid.
Definition: LiquidMigrationLSSpecies.cc:173
Mdouble viscosity_
viscosity of the liquid
Definition: LiquidMigrationLSSpecies.h:146
Mdouble getViscosity() const
used to access the Viscosity of the liquid.
Definition: LiquidMigrationLSSpecies.cc:208
void setDistributionCoefficient(Mdouble distributionCoefficient)
used to set the distribution coefficient of the liquid.
Definition: LiquidMigrationLSSpecies.cc:144
void setLiquidBridgeVolumeMax(Mdouble liquidBridgeVolume)
Returns a pointer to the adhesive force interaction LiquidMigrationLSInteraction.
Definition: LiquidMigrationLSSpecies.cc:107
LiquidMigrationLSInteraction InteractionType
The correct Interaction type for this AdhesiveForceSpecies.
Definition: LiquidMigrationLSSpecies.h:20
void setViscosity(Mdouble viscosity)
used to set the Viscosity of the liquid.
Definition: LiquidMigrationLSSpecies.cc:199
void setLiquidBridgeVolumeMin(Mdouble)
used to set the Volume of the liquid bridge.
Definition: LiquidMigrationLSSpecies.cc:118
void write(std::ostream &os) const
Writes the species properties to an output stream.
Definition: LiquidMigrationLSSpecies.cc:49
LiquidMigrationLSSpecies()
The default constructor.
Definition: LiquidMigrationLSSpecies.cc:8
void mix(LiquidMigrationLSSpecies *S, LiquidMigrationLSSpecies *T)
creates default values for mixed species
Definition: LiquidMigrationLSSpecies.cc:87
Mdouble getLiquidBridgeVolumeMin() const
used to access the Volume of the liquid bridge.
Definition: LiquidMigrationLSSpecies.cc:136
Mdouble distributionCoefficient_
distribution coefficient of the liquid
Definition: LiquidMigrationLSSpecies.h:131
void read(std::istream &is)
Reads the species properties from an input stream.
Definition: LiquidMigrationLSSpecies.cc:62
Mdouble liquidBridgeVolumeMax_
Max volume a liquid bridge gets during formation; any excess remains in the liquid film of the partic...
Definition: LiquidMigrationLSSpecies.h:118
Mdouble getDistributionCoefficient() const
used to access the surface tension of the liquid.
Definition: LiquidMigrationLSSpecies.cc:155
Mdouble surfaceTension_
surface tension of the liquid
Definition: LiquidMigrationLSSpecies.h:141
Mdouble contactAngle_
contact angle between particle and liquid bridge surface (in radians)
Definition: LiquidMigrationLSSpecies.h:136
Mdouble getContactAngle() const
used to access the contact angle between particle and liquid bridge surface.
Definition: LiquidMigrationLSSpecies.cc:191
Mdouble getLiquidBridgeVolumeMax() const
used to access the Volume of the liquid bridge.
Definition: LiquidMigrationLSSpecies.cc:128
void setContactAngle(Mdouble contactAngle)
used to set the contact angle between particle and liquid bridge surface (in radians)
Definition: LiquidMigrationLSSpecies.cc:181
~LiquidMigrationLSSpecies()
The default destructor.
Definition: LiquidMigrationLSSpecies.cc:39
RealScalar s
Definition: level1_cplx_impl.h:130
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286
@ S
Definition: quadtree.h:62