On Sat, Sep 8, 2012 at 9:29 PM, Birendra jha <span dir="ltr">&lt;<a href="mailto:bjha7333@yahoo.com" target="_blank">bjha7333@yahoo.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
Does anyone know if it is possible to compute and output cell centroid coordinates from CUBIT?<br>
<br>
If not in CUBIT, is there some other tool (c++ code etc.) for this?<br>
<br>
I need it for unstructured hexahedral grid. From google I found:<br>
<a href="http://www.cs.berkeley.edu/~jfc/mirtich/massProps.html" target="_blank">http://www.cs.berkeley.edu/~jfc/mirtich/massProps.html</a><br>
which I tried to use but I don&#39;t understand why it does not work for general hexahedron.<br></blockquote><div><br></div><div>The way that makes sense in PyLith is to take the middle point in the reference element,</div>
<div>(0.0,0.0,0.0) I believe, and transform it using the FE Jacobian inverse for that point. We</div><div>have these routines since they are used for point location.</div><div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Thanks a lot<br>
Birendra<br>
_______________________________________________<br>
CIG-SHORT mailing list<br>
<a href="mailto:CIG-SHORT@geodynamics.org">CIG-SHORT@geodynamics.org</a><br>
<a href="http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short" target="_blank">http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>