Skip to content
Snippets Groups Projects
Commit d46da010 authored by lisa_julia.nebel_at_tu-dresden.de's avatar lisa_julia.nebel_at_tu-dresden.de
Browse files

Add wriggers-l-shape-dirichlet-values.py in dune-elasticity as well - we...

Add wriggers-l-shape-dirichlet-values.py in dune-elasticity as well - we always took it from the module dune-gfe
parent 72c15fe4
No related branches found
No related tags found
1 merge request!46Small suggestions
......@@ -4,3 +4,6 @@
# Default cmake build directory
/build-cmake
# ignore Python files
*.pyc
class DirichletValues:
def __init__(self, homotopyParameter):
self.homotopyParameter = homotopyParameter
# Deformation of 3d classical materials
def dirichletValues(self, x):
# Clamp the L-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.
Finish editing this message first!
Please register or to comment