Changes

Jump to navigation Jump to search
67 bytes removed ,  09:35, 6 September 2013
no edit summary
<div style="clear:both"></div>
=== Mixed Formulation for Poisson Equation Hyperelasticity ===
This time we compare the code with the c++ version of DOLFIN.
{{Code|HyperElasticity Problem: the ufl file|<syntaxhighlight lang="octave" style="font-size:13px">
# Define source and boundary traction functions
B = Expression Constant ('B', @(x,y,z) [0.0; -0.5; 0.0]);T = Expression Constant ('T', @(x,y,z) [0.1; 0.0; 0.0]);
E = 10.0;
nu = 0.3;
mu = Expression Constant ('mu', @(x,y,z) E./(2*(1+nu)));lmbda = Expression Constant ('lmbda', @(x,y,z) E*nu./((1+nu)*(1-2*nu)));
u = Expression ('u', @(x,y,z) [0; 0; 0]);
60

edits

Navigation menu