dolfin-convert independent bodies model
Dear Community,
I have been able to import a model from Inventor-Fusion (OS X) STEP file via NETGEN (Ubuntu) Diffpack to dolfin XML and work with it in Fenics. The model describes a simple geometry of a box an a rectangular or cylinder shaped piping that passes through the box. The domains (pipe and surrounding) were imported fine, thanks to this forum.
In that model however the two bodies overlapped, the box was still modeled as a whole, rather than the surrounding of the piping. When I fixed that in the model (cut out the piping and reinserted as a second body in the gap) and processed the file in exactly the same manner, the dolfin-convert keeps throwing an Assertion error:
Convert from Diffpack tetrahedral grid format to DOLFIN XML.
Expecting 1219 vertices
Found all vertices
Expecting 5729 cells
Traceback (most recent call last):
File "/usr/bin/
main(
File "/usr/bin/
meshconvert
File "/usr/lib/
convert(
File "/usr/lib/
diffpack2xm
File "/usr/lib/
assert(
AssertionError
Guessing from the source it has to to with facet intersection. I have tried out a series of other formats and the Windows versions of both Inventor and Netgen, usually with worse results. When importing via Abaqus format, the dolfin-convert will run through. However the boundaries are lost and the domains get very interesting indices (a 7+ digit long, instead of an int [1,2,..]), which then breaks my fenics script.
If anybody has an idea, it is more than welcome...
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Niklas for more information if necessary.