|
MPM-Geomechanics
Material Point Method for simulating geo-materials under large deformation conditions
|
Represents a Newtonian fluid. More...
#include <Newtonian.h>


Public Member Functions | |
| Newtonian (int id, double density, double viscosity, double bulk) | |
| Create a Newtonian fluid material. | |
| virtual | ~Newtonian () |
| Default destructor. | |
| void | setViscosity (double viscosity) |
| Configure the dynamic viscosity. | |
| void | setBulk (double bulk) |
| Configure the bulk modulus. | |
| virtual void | updateStress (Particle *particle) const override |
| Update the stress in the particle. | |
| virtual Material::MaterialType | getType () const |
| Return the material type. | |
| virtual double | getSoundSpeed () const override |
| Get sound speed. | |
Public Member Functions inherited from Material | |
| Material (int id=-1, double density=0, MaterialType type=MaterialType::NONE) | |
| Default constructor. | |
| virtual | ~Material () |
| Default destructor. | |
| int | getId () const |
| Return the identification. | |
| double | getDensity () const |
| Returns material density. | |
| double | getDensityFluid () const |
| Returns fluid density on material. | |
| double | getPorosity () const |
| Returns material porosity. | |
| Vector3d | getHydraulicConductivity () const |
| Returns Hydraulic conductivity. | |
| double | getBulkModulusFluid () const |
| Returns Bulk modulus of fluid in mixture. | |
| void | setId (int material_id) |
| Configure the material identification. | |
| void | setDensity (double material_density) |
| Configures the material density. | |
| void | setDensityFluid (double fluid_density) |
| Configures fluid density in material. | |
| void | setPorosity (double material_porosity) |
| Configures the material porosity. | |
| void | setBulkModulusFluid (double bulk_fluid) |
| Configures the volumetric modulus of fluid. | |
| void | setHydraulicConductivity (Vector3d hydraulic_conductivity) |
| Configures the material hydraulic conductivity. | |
| void | setType (MaterialType material_type) |
| Configures the material type. | |
Protected Attributes | |
| double | Viscosity |
| Dynamic viscosity \(\mu\). | |
| double | Bulk |
| Bulk modulus \(K\). | |
Protected Attributes inherited from Material | |
| int | id |
| material identification | |
| double | density |
| initial material density \(\rho^{0}\) or initial solid density in two-phase calculations \(\rho^{s,0}\) | |
| double | densityFluid |
| initial density of the fluid phase in two-phase calculations \(\rho^{f,0}\) | |
| double | porosity |
| initial porosity \(n^0\) | |
| double | bulkModulusFluid |
| elastic volumetric modulus of fluid in mixture \(K^f\) | |
| Vector3d | hydraulicConductivity |
| hydraulic conductivity of the fluid in the material \(k_i\) | |
| MaterialType | type |
| material type | |
Additional Inherited Members | |
Public Types inherited from Material | |
| enum | MaterialType { NONE , ELASTIC , ELASTOPLASTIC , NEWTONIAN } |
Represents a Newtonian fluid.
|
inline |
|
inlinevirtual |
Default destructor.
|
overridevirtual |
|
inlinevirtual |
|
inline |
Configure the bulk modulus.
| [in] | bulk | Bulk modulus \(K\) |
|
inline |
Configure the dynamic viscosity.
| [in] | viscosity | Dynamic viscosity \(\mu\) |
|
overridevirtual |
|
protected |
Bulk modulus \(K\).
|
protected |
Dynamic viscosity \(\mu\).