Skip to content

Commit e442ea9

Browse files
committed
Update meshSize in Hyperelasticity examples
1 parent ccf5e3f commit e442ea9

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

examples/Hyperelasticity/Hyperelas1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
# ----------------------------------------------
3434
# Mesh
3535
# ----------------------------------------------
36-
meshSize = h / 2
36+
meshSize = h / 3
3737

38-
contour = Domain((0, 0), (L, h), h / 3)
38+
contour = Domain((0, 0), (L, h), meshSize)
3939

4040
mesh = contour.Mesh_Extrude(
4141
[], [0, 0, h], [h / meshSize], ElemType.HEXA20, isOrganised=True

examples/Hyperelasticity/Hyperelas2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
# ----------------------------------------------
3434
meshSize = h / 10
3535

36-
contour = Domain((0, 0), (L, h), h / 10)
36+
contour = Domain((0, 0), (L, h), meshSize)
3737

3838
if dim == 2:
3939
mesh = contour.Mesh_2D([], ElemType.QUAD8, isOrganised=True)

examples/Hyperelasticity/Hyperelas4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
# ----------------------------------------------
4040
meshSize = h / 3
4141

42-
contour = Domain((0, 0), (L, h), h / 3)
42+
contour = Domain((0, 0), (L, h), meshSize)
4343

4444
mesh = contour.Mesh_Extrude(
4545
[], [0, 0, h], [h / meshSize], ElemType.HEXA8, isOrganised=True

0 commit comments

Comments
 (0)