getPeriodicNodes for 2nd order meshes
getPeriodicNodes function has a strange behavior when it comes to retrieve periodic nodes of a 2nd order mesh.
For example, for
_, slave_node_tags, _, _ = gmsh.model.mesh.getPeriodicNodes(2, slave_tag) new_slave_node_tags, _, _ = gmsh.model.mesh.getNodes(2, slave_tag)
I observe that
slave_node_tags contains around three times fewer nodes than
new_slave_node_tags does. It seems like the nodes of the middle of the TRI6-elements edges are not retrieved, which is quite annoying to impose periodic boundary conditions.
Is it the expected behavior ? Thanks!