Ferrite-FEM/Ferrite.jl

incompressible_elasticity.jl example needs improvement

Open

#369 opened on Sep 3, 2021

View on GitHub
 (4 comments) (3 reactions) (0 assignees)Julia (109 forks)github user discovery
docsenhancementgood first issue

Repository metrics

Stars
 (439 stars)
PR merge metrics
 (PR metrics pending)

Description

I have been looking through the examples to get a better grasp at some of the basics of Ferrite, and while the incompressible elasticity example seem to demonstrate some strong features in mixed elements, the example lacks in clarity. The main issues seem to me to be:

There might be other things too, like in line 142 where j is iterated from 1 to n_basefunc_u instead of 1 to ì like every other instance. It would seem to me that the symmetrization process overwrites the extra entries anyway. https://github.com/Ferrite-FEM/Ferrite.jl/blob/75a4dab91a5f6ce4e239db68515732f1a1ac579e/docs/src/literate/incompressible_elasticity.jl#L142

Contributor guide