This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

What does LinearVariationalSolver solve and what are the values that are plotted? cf. Figure 26.2 of FEniCS book

0 votes

For Figure 26.2 of the FEniCS book, in the context of linear elasticity, after the variational problem is solved by LinearVariationalSolver, and the result is plotted, what are the values that are plotted? Is it the stress in one direction or u, the displacement?

asked Aug 6, 2015 by ernestyalumni FEniCS Novice (220 points)

The listing in Fig. 26.2 does not contain any plot command, does it? At least not in the download version of the book. Since you are solving for u in this example plotting u seems reasonable, though: plot(u)

...