Skip to content

Commit

Permalink
Add quadratic patch tests that tests quadratic field solutions.
Browse files Browse the repository at this point in the history
  • Loading branch information
tupek2 committed Oct 19, 2023
1 parent 83bb44b commit 87941af
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions optimism/test/test_PatchTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@
from optimism import QuadratureRule
from optimism.test import MeshFixture

kappa = 1.0
mu = 0.25

E = 9 * kappa * mu / (3 * kappa + mu)
nu = 0.5 * (3 * kappa - 2 * mu) / (3 * kappa + mu)

E = 1.0
nu = 0.3
props = {'elastic modulus': E,
'poisson ratio': nu,
'strain measure': 'linear'}
Expand Down

0 comments on commit 87941af

Please sign in to comment.