Skip to content

Commit 270f667

Browse files
committed
FIX: Use slightly smaller cell size in Gmsh to avoid all points on boundary in MMS test.
1 parent ff64be8 commit 270f667

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed

tests/mmstests/linearelasticity/data/generate_gmsh_2d.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def __init__(self):
2222
"required": True,
2323
"choices": ["tri", "quad"],
2424
}
25+
self.filename = "tri.msh"
2526

2627
def create_geometry(self):
2728
"""Create geometry.

tests/mmstests/linearelasticity/data/generate_gmsh_3d.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ class App(GenerateMesh):
88
Block is DOMAIN_X by DOMAIN_Y by DOMAIN_Z with discretization size DX.
99
"""
1010
DOMAIN_X = DOMAIN_Y = DOMAIN_Z = 8.0e+3
11-
DX = 4.0e+3
11+
DX = 2.0e+3
1212

1313
def __init__(self):
1414
self.cell_choices = {
1515
"required": True,
1616
"choices": ["tet", "hex"],
1717
}
18+
self.filename = "tet.msh"
1819

1920
def create_geometry(self):
2021
"""Create geometry.
16 KB
Binary file not shown.
18 KB
Binary file not shown.

0 commit comments

Comments
 (0)