Skip to content

Commit a1df30b

Browse files
committed
fix HZ model
1 parent a880363 commit a1df30b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dem/contact/HertzMindlin.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ def find_max_mparas(self, max_material_num):
4141
def add_surface_property(self, max_material_num, materialID1, materialID2, property):
4242
modulus = DictIO.GetEssential(property, 'ShearModulus')
4343
possion = DictIO.GetEssential(property, 'Possion')
44-
YoungModulus = modulus * 2 * (1 + possion)
45-
ShearModulus = modulus
44+
ShearModulus = 0.5 * modulus / (2. - possion)
45+
YoungModulus = (4. * ShearModulus - 2. * ShearModulus * possion) / (1. - possion)
4646
mu = DictIO.GetEssential(property, 'Friction')
4747
restitution = DictIO.GetEssential(property, 'Restitution')
4848
componousID = 0

0 commit comments

Comments
 (0)