Skip to content
Snippets Groups Projects
Commit 7cef837f authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Merge branch 'parameter-file-cleanup' into 'master'

Rename problem file 'wriggers-l-shape' to 'identity-deformation'

See merge request !56
parents afca8d2d 3c22e194
No related branches found
No related tags found
1 merge request!56Rename problem file 'wriggers-l-shape' to 'identity-deformation'
Pipeline #34340 failed
......@@ -115,7 +115,7 @@ mooneyrivlin_energy = square # log, square or ciarlet; different ways to compute
# Boundary values
#############################################
problem = wriggers-l-shape
problem = identity-deformation
### Python predicate specifying all Dirichlet grid vertices
# x is the vertex coordinate
......
......@@ -56,7 +56,6 @@ baseTolerance = 1e-8
energy = stvenantkirchhoff
## For the Wriggers L-shape example
[materialParameters]
# Lame parameters
......@@ -79,7 +78,7 @@ mooneyrivlin_12 = 0
mooneyrivlin_03 = 0
mooneyrivlin_k = 1e+6 # volume-preserving parameter
mooneyrivlin_energy = log # log, square or ciarlet; different ways to compute the Mooney-Rivlin-Energy
mooneyrivlin_energy = log # log, square or Ciarlet; different ways to compute the Mooney-Rivlin-Energy
[]
......@@ -87,7 +86,7 @@ mooneyrivlin_energy = log # log, square or ciarlet; different ways to compute th
# Boundary values
#############################################
problem = wriggers-l-shape
problem = identity-deformation
### Python predicate specifying all Dirichlet grid vertices
# x is the vertex coordinate
......
......@@ -2,17 +2,7 @@ class DirichletValues:
def __init__(self, homotopyParameter):
self.homotopyParameter = homotopyParameter
# Deformation of 3d classical materials
# The identity deformation of 3d classical materials
def dirichletValues(self, x):
# Clamp the L-shape in its reference configuration
# Clamp the shape in its reference configuration
return [x[0], x[1], x[2]]
# Deformation of Cosserat shells
def deformation(self, x):
# Clamp the L-shape in its reference configuration
return [x[0], x[1], 0]
# Orientation of Cosserat materials
def orientation(self, x):
rotation = [[1,0,0], [0, 1, 0], [0, 0, 1]]
return rotation
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment