Skip to content

Commit

Permalink
Resolve test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
samwaseda committed Apr 25, 2024
1 parent f838adb commit 9551779
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions tests/integration/damask/test_backward_compatibility.py
Expand Up @@ -141,14 +141,12 @@ def test_elastoplasticity_isotropic(self):
type="isotropic",
dot_gamma_0=0.001,
n=20.0,
xi_0=0.3e6,
xi_inf=0.6e6,
xi_0=0.85e6,
xi_inf=1.6e6,
a=2.0,
h_0=1.0e6, # hardening modulus
h_0=5.0e6, # hardening modulus
M=1.0,
h=1.0,
dilatation=True,
output=["xi"],
)
phase = self.project.continuum.damask.Phase(
composition="Aluminum",
Expand All @@ -173,19 +171,19 @@ def test_elastoplasticity_isotropic(self):
load_step = [
{
"mech_bc_dict": {
"dot_F": [1e-2, 0, 0, 0, "x", 0, 0, 0, "x"],
"dot_F": [1e-3, 0, 0, 0, "x", 0, 0, 0, "x"],
"P": ["x", "x", "x", "x", 0, "x", "x", "x", 0],
},
"discretization": {"t": 20.0, "N": 100},
"additional": {"f_out": 5},
"discretization": {"t": 10.0, "N": 40},
"additional": {"f_out": 4},
},
{
"mech_bc_dict": {
"dot_F": [1e-2, 0, 0, 0, "x", 0, 0, 0, "x"],
"P": ["x", "x", "x", "x", 0, "x", "x", "x", 0],
},
"discretization": {"t": 60.0, "N": 200},
"additional": {"f_out": 5},
"discretization": {"t": 60.0, "N": 60},
"additional": {"f_out": 4},
},
]
solver = job.list_solvers()[0] # choose the mechanis solver
Expand Down

0 comments on commit 9551779

Please sign in to comment.