Skip to content

Commit 0669ea9

Browse files
committed
Update poroelasticity full-scale tests to use same label for multiple boundary conditions.
1 parent c62af74 commit 0669ea9

File tree

7 files changed

+10
-22
lines changed

7 files changed

+10
-22
lines changed

tests/fullscale/poroelasticity/cryer/generate_gmsh.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,27 +47,21 @@ def mark(self):
4747
dim=2,
4848
entities=[self.s_shell],
4949
),
50-
BoundaryGroup(
51-
name="boundary_shell_copy",
52-
tag=11,
53-
dim=2,
54-
entities=[self.s_shell],
55-
),
5650
BoundaryGroup(
5751
name="boundary_zneg",
58-
tag=12,
52+
tag=11,
5953
dim=2,
6054
entities=[self.s_zneg],
6155
),
6256
BoundaryGroup(
6357
name="boundary_yneg",
64-
tag=13,
58+
tag=12,
6559
dim=2,
6660
entities=[self.s_yneg],
6761
),
6862
BoundaryGroup(
6963
name="boundary_xneg",
70-
tag=14,
64+
tag=13,
7165
dim=2,
7266
entities=[self.s_xneg],
7367
),
-31 Bytes
Binary file not shown.

tests/fullscale/poroelasticity/cryer/pylithapp.cfg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ db_auxiliary_field.description = Dirichlet BC on surface
126126

127127
# ------------------------------------------------------------------------------
128128
[pylithapp.problem.bc.bc_shell_traction]
129-
label = boundary_shell_copy
130-
label_value = 11
129+
label = boundary_shell
130+
label_value = 10
131131
field = displacement
132132
scale_name = stress
133133

@@ -141,7 +141,7 @@ auxiliary_subfields.initial_amplitude.basis_order = 0
141141
# ------------------------------------------------------------------------------
142142
[pylithapp.problem.bc.bc_xneg]
143143
label = boundary_xneg
144-
label_value = 14
144+
label_value = 13
145145
field = displacement
146146
constrained_dof = [0]
147147

@@ -151,7 +151,7 @@ db_auxiliary_field.description = Dirichlet BC on -x
151151
# ------------------------------------------------------------------------------
152152
[pylithapp.problem.bc.bc_yneg]
153153
label = boundary_yneg
154-
label_value = 13
154+
label_value = 12
155155
field = displacement
156156
constrained_dof = [1]
157157

@@ -161,7 +161,7 @@ db_auxiliary_field.description = Dirichlet BC on -y
161161
# ------------------------------------------------------------------------------
162162
[pylithapp.problem.bc.bc_zneg]
163163
label = boundary_zneg
164-
label_value = 12
164+
label_value = 11
165165
field = displacement
166166
constrained_dof = [2]
167167

tests/fullscale/poroelasticity/terzaghi/generate_gmsh.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,6 @@ def mark(self):
8383
dim=1,
8484
entities=[self.l_ypos],
8585
),
86-
BoundaryGroup(
87-
name="boundary_ypos_copy",
88-
tag=14,
89-
dim=1,
90-
entities=[self.l_ypos],
91-
),
9286
)
9387
for group in face_groups:
9488
group.create_physical_group()
-30 Bytes
Binary file not shown.
-30 Bytes
Binary file not shown.

tests/fullscale/poroelasticity/terzaghi/pylithapp.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ auxiliary_subfields.initial_amplitude.basis_order = 0
165165

166166
# ------------------------------------------------------------------------------
167167
[pylithapp.problem.bc.bc_ypos_pressure]
168-
label = boundary_ypos_copy
169-
label_value = 14
168+
label = boundary_ypos
169+
label_value = 13
170170
field = pressure
171171

172172
constrained_dof = [0]

0 commit comments

Comments
 (0)