<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 19 Apr 2019, at 14:26, Paul Wilson via moab-dev <<a href="mailto:moab-dev@mcs.anl.gov" class="">moab-dev@mcs.anl.gov</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
<p class="">Hello Lukasz,</p>
<p class="">We may need to revisit some of the logic of the Cub file reader. These errors imply that MOAB is attempting to process a geometry representation in addition to the mesh representation.
<br class="">
</p>
<p class="">Prior to more testing, I can't tell if this is because:</p>
<p class="">a) Your options don't request that the geometry representation be loaded from the file, but MOAB tries to process the geometry anyway, or</p>
<p class="">b) The geometry representation is being loaded (although I think your choice of options should be preventing that), and the presence of sheet bodies in your model is causing the geometry processing to fail.</p>
<p class="">I'll see if I can get someone to confirm which of these situations it is (or perhaps something else) so that we can determine how to resolve it.</p>
<p class="">Paul<br class="">
</p>
</div>
</div>
</blockquote>
<div>Paul,</div>
<div><br class="">
</div>
<div>
<div>You right, this error appears for a newer version of moab. Does not appear when the mesh is generated by other meshers than a cubit. Thanks for looking at this. It does not affect how the code works but results in an error warning printed on the screen.</div>
<div><br class="">
</div>
<div>One option will be to prevent moab to guess geometry representation when the option is given while loading the mesh. Or switch it off for cubit file types.</div>
<div><br class="">
</div>
</div>
<div>Kind regards,</div>
<div>Lukasz</div>
<div><br class="">
</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
<p class=""></p>
<p class=""><br class="">
</p>
<p class=""><br class="">
</p>
<div class="moz-cite-prefix">On 4/19/19 06:02, Lukasz Kaczmarczyk via moab-dev wrote:<br class="">
</div>
<blockquote type="cite" cite="mid:9D08EDDD-9173-4428-B90E-9D4FCF744CB9@glasgow.ac.uk" class="">
<pre class="moz-quote-pre" wrap="">Hello,
I have a strange problem with the reading file test_mesh_cut.cub. Mesh is ok, I can process it. The issue is with the error.
Code:
const char *option;
option = "";
moab.load_file(mesh_file_name, 0, option);
Is this problem with the file or something related to a cubit. The problem appears for v5.1, for older versions seems to be ok.
Regards,
Lukasz
129: [0]MOAB ERROR: --------------------- Error Message ------------------------------------
129: [0]MOAB ERROR: Failed to join the obb trees!
129: [0]MOAB ERROR: construct_obb_tree() line 502 in src/GeomTopoTool.cpp
129: [0]MOAB ERROR: --------------------- Error Message ------------------------------------
129: [0]MOAB ERROR: Failed to construct obb tree for volume!
129: [0]MOAB ERROR: construct_obb_trees() line 606 in src/GeomTopoTool.cpp
129: [0]MOAB ERROR: --------------------- Error Message ------------------------------------
129: [0]MOAB ERROR: Error: Failed to rebuild obb trees!
129: [0]MOAB ERROR: GeomTopoTool() line 90 in src/GeomTopoTool.cpp
129: [0]MOAB ERROR: get_senses() line 1075 in src/GeomTopoTool.cpp
129: [0]MOAB ERROR: get_senses() line 1075 in src/GeomTopoTool.cpp
129: [0]MOAB ERROR: get_data() line 277 in src/DenseTag.cpp
129: [0]MOAB ERROR: get_data() line 277 in src/DenseTag.cpp
129: [0]MOAB ERROR: get_data() line 277 in src/DenseTag.cpp
129: [0]MOAB ERROR: get_data() line 277 in src/DenseTag.cpp
129: [0]MOAB ERROR: get_data() line 277 in src/DenseTag.cpp
</pre>
</blockquote>
<div class="moz-signature">-- <br class="">
-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --<br class="">
Paul P.H. Wilson (he/him/his)<br class="">
Grainger Professor of Nuclear Engineering<br class="">
608-263-0807<br class="">
<a class="moz-txt-link-abbreviated" href="mailto:paul.wilson@wisc.edu">paul.wilson@wisc.edu</a><br class="">
443 Engineering Research Bldg<br class="">
1500 Engineering Dr, Madison, WI 53706<br class="">
<a href="https://outlook.office365.com/owa/calendar/09741ed238d644298e6c66dc97afedd4@wisc.edu/5df8b1d04e964755a5811e89a908217a313307426944667793/calendar.html" class="">My Calendar</a>
<p class=""><a href="http://cnerg.engr.wisc.edu/" class="">Computational Nuclear Engineering Research Group</a><br class="">
<a href="http://eap.wisc.edu/" class="">Energy Analysis and Policy Program</a></p>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</body>
</html>