Fem-fenics: Difference between revisions

Jump to navigation Jump to search
9 bytes added ,  14 June 2014
m
(Mixed Poisson updated as required to make use of ufl.m)
Line 346: Line 346:


=== Hyperelasticity ===
=== Hyperelasticity ===
This time we compare the code with the c++ version of DOLFIN. The problem for an elastic material can be expressed as a minimization problem
This time we compare the code with the C++ version of DOLFIN. The problem for an elastic material can be expressed as a minimization problem


<math> \min_{u \in V} \Pi</math>
<math> \min_{u \in V} \Pi</math>
Line 444: Line 444:
ufl # Compute Jacobian of F
ufl # Compute Jacobian of F
ufl J = derivative(F, u, du)
ufl J = derivative(F, u, du)
ufl end


delete HyperElasticity.ufl
delete HyperElasticity.ufl
Line 589: Line 590:


using namespace dolfin;
using namespace dolfin;




22

edits

Navigation menu