Fwd: Re: Correct element orientation for tetrahedral mesh

Hi Robert,
I just want to give feedback about the topic of loading mesh data from a .bdf file:
The solution is currently to do a conversation into vtk and to load the data from vtk: I visualizated the mesh from the Nastran .bdf file with vtk. The internal data structure in vtk is vtkunstructuredgrid. It is possible to export the vtk grid into a file with the vtkunstructuredgridwriter as ascii file. Afterwards it was possible to load the mesh from the .vtk file.
Just to share, this is a possible solution.
Thanks, Kathrin
Regards,
Kathrin
2017-08-30 19:08 GMT+02:00 Robert Cimrman <cimrman3@ntc.zcu.cz>:
Hi Kathrin,
could you send me the mesh (off-list if needed)?
r.
On 08/30/2017 03:31 PM, Kathrin Sobe wrote:
Hi Robert,
I was able to load a mesh from a nastran .bdf file. The mesh is build of tetrahedrons (nodes: 12593, tetrahedrons: 310106).
When I create the Domain it stops with the following error:
sfepy: warning: bad element orientation, trying to correct... sfepy: warning: bad element orientation, trying to correct...
Traceback (most recent call last): runtime, nodes = tool_displacement() domain = FEDomain('domain', mesh) self.fix_element_orientation() raise RuntimeError('elements cannot be oriented! (%s)' % key) RuntimeError: elements cannot be oriented! (3_4)
What is a correct element orientation for tetrahedral elements? The Nastran file was generated automatically.
Thanks for your help, Kathrin
SfePy mailing list sfepy@python.org https://mail.python.org/mm3/mailman3/lists/sfepy.python.org/
SfePy mailing list sfepy@python.org https://mail.python.org/mm3/mailman3/lists/sfepy.python.org/

Hi Kathrin,
Thanks for sharing your solution!
r.
On 09/14/2017 02:48 PM, Kathrin Sobe wrote:
Hi Robert,
I just want to give feedback about the topic of loading mesh data from a .bdf file:
The solution is currently to do a conversation into vtk and to load the data from vtk: I visualizated the mesh from the Nastran .bdf file with vtk. The internal data structure in vtk is vtkunstructuredgrid. It is possible to export the vtk grid into a file with the vtkunstructuredgridwriter as ascii file. Afterwards it was possible to load the mesh from the .vtk file.
Just to share, this is a possible solution.
Thanks, Kathrin
Regards,
Kathrin
2017-08-30 19:08 GMT+02:00 Robert Cimrman <cimrman3@ntc.zcu.cz>:
Hi Kathrin,
could you send me the mesh (off-list if needed)?
r.
On 08/30/2017 03:31 PM, Kathrin Sobe wrote:
Hi Robert,
I was able to load a mesh from a nastran .bdf file. The mesh is build of tetrahedrons (nodes: 12593, tetrahedrons: 310106).
When I create the Domain it stops with the following error:
sfepy: warning: bad element orientation, trying to correct... sfepy: warning: bad element orientation, trying to correct...
Traceback (most recent call last): runtime, nodes = tool_displacement() domain = FEDomain('domain', mesh) self.fix_element_orientation() raise RuntimeError('elements cannot be oriented! (%s)' % key) RuntimeError: elements cannot be oriented! (3_4)
What is a correct element orientation for tetrahedral elements? The Nastran file was generated automatically.
Thanks for your help, Kathrin
SfePy mailing list sfepy@python.org https://mail.python.org/mm3/mailman3/lists/sfepy.python.org/
SfePy mailing list sfepy@python.org https://mail.python.org/mm3/mailman3/lists/sfepy.python.org/
SfePy mailing list sfepy@python.org https://mail.python.org/mm3/mailman3/lists/sfepy.python.org/
participants (2)
-
Kathrin Sobe
-
Robert Cimrman