<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">OK, while looking at this, there is another problem with cubit 14 models, that I cannot explain yet.<br>
So the current code, with cubit 14 created model, will not read the global id for geometric sets. :(
<br>
I will log a ticket.<br>
<br>
The old code (<=cubit 13) will not read new models, created with cubit 14. This is a bug I was trying to fix. It looks like I did not fix it well, because<br>
the global ids are not read, for geometric sets. (actually, this is another bug) We need to reverse engineer more to guess the format of cubit file :(<br>
<br>
the current code will still read global ids for old models, created with cubit 13 or less.<br>
<br>
This is related to your problem, Shengyong, but it is different. In your case, the sat file does not have the global ids.<br>
<br>
Thoughts?<br>
<br>
<br>
Iulian<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF54857"><font size="2" color="#000000" face="Tahoma"><b>From:</b> Shengyong Cai [shengyongcai@gmail.com]<br>
<b>Sent:</b> Wednesday, February 19, 2014 12:56 PM<br>
<b>To:</b> Grindeanu, Iulian R.; Tautges, Timothy J.<br>
<b>Subject:</b> Re: problem with Tqdcfr.cpp<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div>It seems that user is not allowed to reassign the Global IDs in Cubit.</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>Kind regards.<br>
Shengyong Cai</div>
<br>
<br>
<div class="gmail_quote">On Wed, Feb 19, 2014 at 12:46 PM, Grindeanu, Iulian R. <span dir="ltr">
<<a href="mailto:iulian@anl.gov" target="_blank">iulian@anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-size:10pt; font-family:Tahoma">So I have verified that in your scenario:<br>
import the sat file<br>
delete some volumes (leave vol 6)<br>
mesh one face<br>
<br>
save the cub file<br>
<br>
moab will read geometric global id as 0<br>
<br>
With a different sat file (one from sharp, unic) the same scenario works fine <br>
<br>
So it could be something with the sat file.<br>
Maybe there is a way to give global ids in cubit, if they are missing<br>
These are read as ACIS attributes. Still looking ...<br>
<br>
Iulian<br>
<div style="font-size:16px; font-family:Times New Roman">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> Shengyong Cai [<a href="mailto:shengyongcai@gmail.com" target="_blank">shengyongcai@gmail.com</a>]<br>
<b>Sent:</b> Wednesday, February 19, 2014 12:27 PM<br>
<b>To:</b> Grindeanu, Iulian R.; Tautges, Timothy J.
<div>
<div class="h5"><br>
<b>Subject:</b> Re: problem with Tqdcfr.cpp<br>
</div>
</div>
</font><br>
</div>
<div>
<div class="h5">
<div></div>
<div>
<div dir="ltr">Yes! I import the sat file into cubit directly.
<div>The attached file is the whole model. </div>
</div>
<div class="gmail_extra"><br clear="all">
<div>Kind regards.<br>
Shengyong Cai</div>
<br>
<br>
<div class="gmail_quote">On Wed, Feb 19, 2014 at 12:23 PM, Grindeanu, Iulian R. <span dir="ltr">
<<a href="mailto:iulian@anl.gov" target="_blank">iulian@anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
my guess is that he is importing in cubit directly.<br>
Shengyong, can you send me the sat file? Does it have global ids or not for geometry?<br>
<br>
Iulian<br>
________________________________________<br>
From: Tautges, Timothy J.<br>
Sent: Wednesday, February 19, 2014 12:22 PM<br>
To: Shengyong Cai; Grindeanu, Iulian R.<br>
Subject: Re: problem with Tqdcfr.cpp<br>
<div>
<div><br>
Wait, you're reading the .sat file into MOAB through ReadCGM in MOAB, or from .cub file through Tqdcfr? That's<br>
important, since there have been changes to both readers recently (by different sets of people)...<br>
<br>
- tim<br>
<br>
On 02/19/2014 12:17 PM, Shengyong Cai wrote:<br>
> Hello Iulian,<br>
> I import from sat file which is from Tim.<br>
><br>
> Kind regards.<br>
> Shengyong Cai<br>
><br>
><br>
> On Wed, Feb 19, 2014 at 12:04 PM, Grindeanu, Iulian R. <<a href="mailto:iulian@anl.gov" target="_blank">iulian@anl.gov</a> <mailto:<a href="mailto:iulian@anl.gov" target="_blank">iulian@anl.gov</a>>> wrote:<br>
><br>
> So entity sets global IDs are 0; vertices, edges and quads have global id, different from 0, in your file.<br>
> I am not sure how is this geometry created. It could be that global ids were not obtained.<br>
><br>
> I thought we give some global ids to entity sets, based on geometry ids.<br>
> I need to look at the code.<br>
><br>
> But how was this geometry created? Was it imported or something?<br>
><br>
> Tim, do you know how to set some global ids to geometry ents? I think that if the geometry is created in cubit, it<br>
> will get a global id by default.<br>
><br>
> Iulian<br>
><br>
> ________________________________________<br>
> From: Shengyong Cai [<a href="mailto:shengyongcai@gmail.com" target="_blank">shengyongcai@gmail.com</a> <mailto:<a href="mailto:shengyongcai@gmail.com" target="_blank">shengyongcai@gmail.com</a>>]<br>
> Sent: Wednesday, February 19, 2014 11:46 AM<br>
> To: Grindeanu, Iulian R.<br>
> Subject: problem with Tqdcfr.cpp<br>
><br>
> Hello Iulian,<br>
> I saw there are some commits from you for Tqdcfr.cpp. Right now I have<br>
> some problems from Tqdcfr.cpp. When MOAB reads a cub file with mesh, all<br>
> the global IDs are zero. Check the attached file for details.<br>
><br>
> FYI, cub file is from cubit 13.1.<br>
><br>
> Could you help me check that? Thanks!<br>
><br>
> --<br>
> Kind regards.<br>
> Shengyong Cai<br>
> ---------------------------------------------------------------<br>
> Room 422, Engineering Research Building<br>
> 1500 Engineering Drive<br>
> Madison, WI, 53706<br>
> U.S.A.<br>
> Phone: 001-608-265-8086<br>
> Email: <a href="mailto:scai2@wisc.edu" target="_blank">scai2@wisc.edu</a> <mailto:<a href="mailto:scai2@wisc.edu" target="_blank">scai2@wisc.edu</a>> or
<a href="mailto:shengyongcai@gmail.com" target="_blank">shengyongcai@gmail.com</a> <mailto:<a href="mailto:shengyongcai@gmail.com" target="_blank">shengyongcai@gmail.com</a>><br>
> ---------------------------------------------------------------<br>
><br>
><br>
<br>
--<br>
================================================================<br>
"You will keep in perfect peace him whose mind is<br>
steadfast, because he trusts in you." Isaiah 26:3<br>
<br>
Tim Tautges Argonne National Laboratory<br>
(<a href="mailto:tautges@mcs.anl.gov" target="_blank">tautges@mcs.anl.gov</a>) (telecommuting from UW-Madison)<br>
phone (gvoice): <a href="tel:%28608%29%20354-1459" value="+16083541459" target="_blank">
(608) 354-1459</a> 1500 Engineering Dr.<br>
fax: <a href="tel:%28608%29%20263-4499" value="+16082634499" target="_blank">
(608) 263-4499</a> Madison, WI 53706<br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>