1
# Copyright (c) 2005 Johan Jansson (johanjan@math.chalmers.se)
2
# Licensed under the GNU LGPL Version 2.1
4
# Modified by Anders Logg 2006-2007
7
# Last changed: 2007-04-18
9
# The bilinear form for classical linear elasticity (Navier).
10
# Compile this form with FFC: ffc Elasticity.form.
12
element = VectorElement("Lagrange", "tetrahedron", 1)
14
v = TestFunction(element)
15
u = TrialFunction(element)
22
lmbda = E*nu / ((1 + nu)*(1 - 2*nu))
25
return 0.5*(grad(v) + transp(grad(v)))
28
return 2*mu*epsilon(v) + lmbda*mult(trace(epsilon(v)), Identity(len(v)))
30
a = dot(grad(v), sigma(u))*dx