Summary
In this lecture, we'll cover the following:
- Visualising heat maps on irregular grids using triangulation.
- Using
matplotlib.triandtricontourfto generate filled contour plots. - Handling different bending moment components .
- Adding interactive widgets to control plotted data and display options.
- Overlaying triangulation, Gauss points, and element grids for interpretation.
In this lecture, we focus on how to visualise data defined on an irregular grid, which commonly arises when working with finite element meshes. We introduce the use of triangulation via matplotlib.tri, allowing us to convert irregularly spaced data into a form suitable for contour plotting. By using tricontourf, we can generate smooth, filled contour plots that effectively represent quantities such as bending moments across the structure.
We implement an interactive plotting function that allows us to switch between different moment components , while also controlling visual features such as triangulation, Gauss points, and the element grid. We explore how the data is prepared differently depending on the moment type, particularly noting the treatment of absolute values for bending moments versus torsional moments. Through this, we gain insight into how results from analysis (e.g. Gauss point data) map onto the physical structure.
Finally, we enhance the visualisation by overlaying triangulation lines and sampling points to better understand how the irregular grid is constructed and how results are distributed. This provides a clear and flexible framework for interpreting finite element results, setting us up to extend the same approach to shear forces in the next lecture.
Next up
Next, we will extend the same visualisation approach to transverse shear forces, incorporating masking techniques to focus on relevant regions.
Tags
Please log in or enroll to continue
If you've already enrolled, please log in to continue.
Finite Element Analysis of Plate and Shell Structures: Part 1 - Plates
An analysis pipeline for thick and thin plate structures, a roadmap from theory to toolbox
After completing this course...
- You will understand how Reissner-Mindlin theory enables us to accurately capture both thin and thick plate behaviour.
- You will understand how to turn the fundamental mechanics of plate behaviour into a custom finite element solver written in Python.
- You will have developed meshing workflows that utilise the powerful open-source meshing engine, GMSH.
- In addition to using your own custom finite element code, you will be comfortable validating your results using OpenSeesPy and Pynite.