Skip to content

Commit

Permalink
fix HZ model
Browse files Browse the repository at this point in the history
  • Loading branch information
Yihao-Shi committed Jul 8, 2024
1 parent a880363 commit a1df30b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dem/contact/HertzMindlin.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def find_max_mparas(self, max_material_num):
def add_surface_property(self, max_material_num, materialID1, materialID2, property):
modulus = DictIO.GetEssential(property, 'ShearModulus')
possion = DictIO.GetEssential(property, 'Possion')
YoungModulus = modulus * 2 * (1 + possion)
ShearModulus = modulus
ShearModulus = 0.5 * modulus / (2. - possion)
YoungModulus = (4. * ShearModulus - 2. * ShearModulus * possion) / (1. - possion)
mu = DictIO.GetEssential(property, 'Friction')
restitution = DictIO.GetEssential(property, 'Restitution')
componousID = 0
Expand Down

0 comments on commit a1df30b

Please sign in to comment.