Dear Simone On Tue, 25 Jun 2019 at 00:34, Simone Puel <spuel@utexas.edu> wrote:
Hi all,
My name is Simone Puel, a graduate student at the University of Texas at Austin. I think I have installed Firedrake correctly since I can run the example in the online tutorial. Thank you so much. I am trying to convert a script I made in FEniCS in Firedrake. I modified some syntax, but I have the following error:
[...]
assert len(gsh) == 1 AssertionError
I made a very simple mesh in Gmsh (attached) and the script is the linear elasticity using a mixed formulation (Arnold et al., 2007). The problem is a 2D rectangle with a vertical fault where I prescribe 1 m of slip. I attached the mesh (.msh file) and the script. If anyone is able to help, I would appreciate it. Thank you so much in advance. Have a wonderful day!
This is, I think, I missing feature in the way UFL applies pullback to certain elements. (I'm slightly surprised the fenics version works!). In any case, I think I have a fix. Can you try with these changes in UFL: https://github.com/firedrakeproject/ufl/pull/18 And in Firedrake: https://github.com/firedrakeproject/firedrake/pull/1466 Thanks, Lawrence