SPHinXsys  alpha version
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SPH::Solid Class Reference

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 SolidThisObjectPtr () 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_
 
BaseParticlesbase_particles_
 
XmlEngine reload_material_xml_engine_
 
ParticleVariableList reload_local_parameters_
 

Detailed Description

Base class of all solid materials.

Member Data Documentation

◆ contact_friction_

Real SPH::Solid::contact_friction_
protected

friction property mimic fluid viscosity

◆ contact_stiffness_

Real SPH::Solid::contact_stiffness_
protected

contact-force stiffness related to bulk modulus


The documentation for this class was generated from the following file: