The current development of visualization is done in dolfin-X, were the aim is support visualization of arbitrary order CG and DG elements. The idea would then be to interpolate more fancy elements, such as BDM and Nedelec elements, i not the appropriate CG/DG space. Related to: Pyvista demos by jorgensd · Pull Request #1161 · FEniCS/dolfinx · GitHub
I would suggest having a look at DefElement: Brezzi–Douglas–Marini
Which has proper definitions and visualization of the basis functions of most Finite elements.
I have several literature where the elements are described. I just wanted to point to the outdatet software wich is described in the quite expensive FEniCS book, which is rather new (2016).
Which FEniCS book are you referring to?
You can always access the earlier versions of the software Which had these capabilities using docker, see: Download – FEniCS Project
The original FEnics book was released in 2012; and as Documentation – FEniCS Project describes:
" The book was published in 2012, which means that some of the examples presented in the book may use old interfaces that are no longer supported by FEniCS. However, the book still gives a good description of the design of FEniCS."
The FEniCS tutorial, released in 2016 is an open access book, available at: The FEniCS Tutorial – FEniCS Project and the code in the book is compatible with the 2016.2.0 version in docker or if you install the software from source.
Automated Solution of Differential Equations by the Finite Element Method: The FEniCS Book (Lecture Notes in Computational Science and Engineering, 84, Band 84)
… wich is obviously from 2012 and not 2016 - sorry.
I’m just through the first 1/5 of the book. I got it because it is much more detailed and extensive then the small free book. It’s a pity, that it is outdated now in some parts of the code examples.
As you say, the book is quite extensive, and it would require a massive amount of work to keep the code up to date (and make a new release for every dolfin release).
I would use the large range of documented demos: Demos — DOLFIN documentation
to supplement the outdated code in the book.
I would claim that what has changed the most Since 2012 is visualization. There is a large variety of tools, such as vedo and pyvista which has alot more support for fancy visualization than dolfin had.
You can also use Paraview to read pvd and xdmf files, to do visualization/postsprocessing in a GUI.
hello,dokken.
The book Automated Solution of Differential Equations by the Finite Element Method was published in 2012, and it is no longer compatible with the current fenics. Is there a new similar book or a new version of the book?