Topic: Boundary condition vtk export
I would like to open a discussion on this topic.
The export of boundary conditions to vtk is on my todo list for a long time, however, I am still not sure about the best way how to do it.
At least, it would be nice is to have the possibility to highlight the entities (nodes, element sides, etc) subjected to a specific boundary-condition.
At present, I am thinking about the following:
- export a new geometry, containing all nodes, element edges, surfaces, and element cells - basically all the entities, on which BC can be applied,
- attach with this dataset a scalar array, where the i-th value (equal to 1, or nonzero) will indicate applied i-th Boundary condition, zero value means i-th BC not applied,
- then the user can display the entities using threshold filter, by filtering only entities with nonzero value.
There is a small issue when the BC numbering will not be continuous and arbitrary, but at present the arbitrary component numbering is not supported for BCs, only for nodes and elements.
Any ideas or comments?