SPHinXsys
alpha version
|
Base class of all solid materials. More...
#include <base_material.h>
Inherits SPH::BaseMaterial.
Inherited by SPH::DiffusionReaction< Solid >, and SPH::ElasticSolid.
Public Member Functions | |
Solid (Real rho0, Real contact_stiffness, Real contact_friction=0.0) | |
Solid (Real rho0) | |
Real | ContactFriction () |
Real | ContactStiffness () |
virtual Solid * | ThisObjectPtr () override |
Public Member Functions inherited from SPH::BaseMaterial | |
BaseMaterial (Real rho0) | |
virtual void | assignBaseParticles (BaseParticles *base_particles) |
std::string | MaterialType () |
std::string | LocalParametersName () |
Real | ReferenceDensity () |
virtual void | writeToXmlForReloadLocalParameters (const std::string &filefullpath) |
virtual void | readFromXmlForLocalParameters (const std::string &filefullpath) |
Protected Member Functions | |
void | setContactStiffness (Real c0) |
Protected Attributes | |
Real | contact_stiffness_ |
Real | contact_friction_ |
Protected Attributes inherited from SPH::BaseMaterial | |
std::string | material_type_name_ |
std::string | parameters_name_ |
Real | rho0_ |
BaseParticles * | base_particles_ |
XmlEngine | reload_material_xml_engine_ |
ParticleVariableList | reload_local_parameters_ |
Base class of all solid materials.
|
protected |
friction property mimic fluid viscosity
|
protected |
contact-force stiffness related to bulk modulus