Ooops... missed the list... ---------- Forwarded message ---------- From: Derek Gaston <[email protected]> Date: Mon, May 21, 2012 at 10:16 AM Subject: Re: [Libmesh-users] Importing mesh with sub-domains To: Andrew E Slaughter <[email protected]>
One more note on this... after looking at CGAL... it would be AWESOME if there was a libMesh interface to it under MeshTools::Generation! We already interface with things like tetgen and Triangle... but CGAL looks sweet. So.... as long as you're doing this sort of thing..... we always accept contributions ;-) Derek On Mon, May 21, 2012 at 9:26 AM, Derek Gaston <[email protected]> wrote: > Here's what I would (have) do (done): > > Don't write a separate executable. Just make your mesh generator _a > libmesh application_. ie... link in libMesh into your mesh generator. > Then, either use libMesh's Mesh data structure to store your mesh as you > generate it... or generate it using your existing data structures... and > then just copy over your nodes / elements into a libMesh Mesh object at the > end. > > The power of getting it into a libMesh Mesh object is that you can then > write it out in whatever format you want (like Exodus)... OR just start > your danged simulation! > > Derek > > On Mon, May 21, 2012 at 8:03 AM, Andrew E Slaughter < > [email protected]> wrote: > >> I wrote my own meshing software using the CGAL libraries, I would like >> to use VTK files if possible as they are what I know the best (although >> I don't know it that well). It would be easy for me to create a mesh for >> each subdomain, would it be possible to have libmesh put them together? >> But, this doesn't seem like the best solution. >> >> Any other suggests are welcome, it seems to me that ideally each >> subdomain should be contained as a "piece" in the VTK format (am I >> correct in this, or is there another preferred method). If importing >> pieces or element id in some fashion is something that libmesh could use >> I could likely add that functionality, if it isn't too difficult. >> >> Thanks, >> Andrew >> >> On 05/19/2012 02:29 PM, Kirk, Benjamin (JSC-EG311) wrote: >> > Exodus imports the "element block" information, which can be used to >> set subdomains. We also support remapping subdomains if that is useful. >> > >> > What formats does your software support? We should import the >> subdomain ids for any of the file formats we support. If not, it is an easy >> addition. >> > >> > -Ben >> > >> > >> > >> > On May 19, 2012, at 1:11 PM, "Andrew E Slaughter"< >> [email protected]> wrote: >> > >> >> I need to import a grid that contains sub-domains, is this supported >> and >> >> in what formats? >> >> >> >> Thanks, >> >> Andrew >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Live Security Virtual Conference >> >> Exclusive live event will cover all the ways today's security and >> >> threat landscape has changed and how IT managers can respond. >> Discussions >> >> will include endpoint security, mobile security and the latest in >> malware >> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> _______________________________________________ >> >> Libmesh-users mailing list >> >> [email protected] >> >> https://lists.sourceforge.net/lists/listinfo/libmesh-users >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Libmesh-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/libmesh-users >> > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
