Skip to content
Snippets Groups Projects
Commit 8fa78749 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Add additional method giving Dirichlet values for a 3d model of the same problem

[[Imported from SVN: r9928]]
parent 6934ce2f
Branches
No related tags found
No related merge requests found
......@@ -2,10 +2,17 @@ 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.
Please register or to comment