Closed isteinbrecher closed 1 month ago
@isteinbrecher Would it be possible to use the exact FE interpolation also for visualization in the future?
Just out of curiosity and to better understand the entire beam framework in 4C and meshpy. As far as I understand you now added the option to visualize the beam geometry with more than one segment within the .vtu
output.
Thanks in advance!
@mayrmt Possible yes, but in my opinion not feasible, as one would end up implementing the beam formulation from the solver in MeshPy just to get a better visualisation.
@davidrudlstorfer This pull request simply introduces the option to get a better visual approximation of the geometry in MeshPy. Hermite shape functions are used for convenience, not because this now matches the interpolation in 4C.
Take for example a simple half circle modelled with 2 beam elements. The vtk visualisation in MeshPy used to always look like this (now with beam_centerline_visualization_segments=1
)
Now it can look like this (with beam_centerline_visualization_segments=5
)
In the near future, I envision to set the default value of beam_centerline_visualization_segments
to 5.
With newer VTK versions ParaView supports Hermite interpolations, but this comes with a lot of other drawbacks. From my experience the "piecewise poly line" visualisation is the best solution to display 1D beam elements in ParaView.
Add the option to visualise beams with more than a linear interpolation. Concrete, Hermite shape functions are used to visualise a "smooth" beam. In general this does NOT match the exact interpolation used in FE solvers for higher oder beam elements.