Re: [Libmesh-users] Importing mesh with sub-domains

2012-05-21 Thread Kirk, Benjamin (JSC-EG311)
In the meshtools::modification namespace if I remember correctly. It takes a mesh and two input vectors - the old and new subdomain ids. Let me know if you can't find it - I'll find the right header. -Ben On May 21, 2012, at 11:23 AM, "Andrew E Slaughter" wrote: > What is remapping of sub

Re: [Libmesh-users] Importing mesh with sub-domains

2012-05-21 Thread Derek Gaston
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 exist

Re: [Libmesh-users] Importing mesh with sub-domains

2012-05-21 Thread Andrew E Slaughter
What is remapping of subdomains, where is this in the source code? Thanks, Andrew On 05/19/2012 02:29 PM, Kirk, Benjamin (JSC-EG311) wrote: > remapping subdomains if that is useful. -- Live Security Virtual Conference Exc

Re: [Libmesh-users] Importing mesh with sub-domains

2012-05-21 Thread Andrew E Slaughter
I have used the VTKIO in limited capacity. It only supports 3D meshes and I have been working in 2D as I learn libmesh. I might work with this function, but from the comments I have received it sounds like ExodusII is more widely supported. On 05/21/2012 10:19 AM, John Peterson wrote: > On Mon

Re: [Libmesh-users] Importing mesh with sub-domains

2012-05-21 Thread John Peterson
On Mon, May 21, 2012 at 8:03 AM, Andrew E Slaughter 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 Is Libmesh's VTKIO class of any use to you? It wasn't written by any of the main developer

Re: [Libmesh-users] Importing mesh with sub-domains

2012-05-21 Thread Andrew E Slaughter
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, th

Re: [Libmesh-users] Importing mesh with sub-domains

2012-05-19 Thread Roy Stogner
On Sat, 19 May 2012, Kirk, Benjamin (JSC-EG311) wrote: > Exodus imports the "element block" information, which can be used to > set subdomains. Slightly hackishly, though. IIRC Exodus doesn't support hybrid element blocks with multiple element types. If you want a hybrid subdomain though you c

Re: [Libmesh-users] Importing mesh with sub-domains

2012-05-19 Thread Kirk, Benjamin (JSC-EG311)
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. -Be

[Libmesh-users] Importing mesh with sub-domains

2012-05-19 Thread Andrew E Slaughter
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 lands