Cubit file created by cubit 15.0 on Windows
I am trying to read the mesh sets in group/sideset/nodeset from a cub file created by Cubit 15.0 on Windows. The load_file()
can load the mesh correctly, but not the mesh entities in group/sideset.
After peeking into the test.cub
and some test function, I suppose the surface, for example, should be contained in sideset meshset. However,, the cubit 15 file will show the sideset meshset contains no mesh entity at all. I attached the test .cub file as well.
I tried to locate the problem, seems like the acis record can't parse correctly. However, replacing \r\n with \n will cause the library crash.
Comments (9)
-
-
reporter - changed title to Cubit file created by cubit 15.0 on Windows
- removed version
- edited description
- attached cubit15_win.cub
-
reporter Thanks for pointing out. I edited the filename and description for clarity.
-
thanks for reporting it; it could be something related to Windows, the way we parse the records; when I saved the file in Linux, the Neumann sets were not empty after conversion. Still looking at it.
-
reporter - attached cubit15_Win_loadoutput.txt
Thanks. I tried to specify DEBUG_IO=1 and dump the output. Hope it helps. I also notice that the GLOBAL_ID tag of geom object (volume/surface/edge/vertex) is read as 0. May I take a look at the cub file saved in Linux?
-
can you try this pull request?
https://bitbucket.org/fathomteam/moab/pull-requests/236/process-files-created-on-windows/diff
It is assuming that windows inserts a CR before LF; in this way, the records are processed "better"
We do not usually work with windows files
-
reporter The result is great! Thanks.
-
reporter - changed status to closed
-
reporter - changed status to resolved
- Log in to comment
it seems the file is created with cubit 15, not 14; are you sure it was created with cubit 14?