Personal tools
You are here: Home Forum Use Multiple bodies

Multiple bodies

Up to Use

Multiple bodies

Posted by Brian Tremaine at September 24. 2012

I 'm following a twiki page to create a multiple body mesh that can can then use in Elmer. The process is basically

1. define geometry

2. create partition

3. create volume groups

4. create mesh

5. create mesh groups

6. export to UNV

7. convert UNV --> ElmerGrid

I have gone through these steps several different time with a 5 body assembly and each time when I load it into Elmer and select a surface it selects the entire assembly. The model in Elmer does have 5 bodies but the entire outside surface is surface 1.

Within Salome (mesh) I can display the entire mesh with the 5 bodies color codeded as I expected to see

Can someone give me some guidance on this or provide another example of creating a multi-body mesh?

 

Thanks,

Brian

Re: Multiple bodies

Posted by Brian Tremaine at September 26. 2012

I solved my problem. http://www.elmerfem.org/elmerwiki/index.php/Multiple_bodies_from_Salome_to_Elmer 

This process does work. One of the 5 bodies in my assembly did not have it's mating surface lined up with the adjoining body so the resulting combined mesh was not correct.

 

Brian

Re: Multiple bodies

Posted by Tess Zangrilli at December 27. 2017

Hi, I am trying to do this with 2D objects.  However, even with the instructions, I am falling apart at the mesh groups part.  Can someone please help me understand what I am doing wrong with the grouping of the meshes? Thank you.  

Attachments

Re: Multiple bodies

Posted by Saint Michael at December 27. 2017

Hi

I open Study1_SMESH.hdf and see nothing in the study.

St.Michael

Re: Multiple bodies

Posted by Tess Zangrilli at December 27. 2017

Thank you for the reply St. Michael! (I love the icon and saint).  

 

I'll attach all my files as separate comments.  I'm not sure how to upload multiple.  Thanks for your help

Attachments

Re: Multiple bodies

Posted by Tess Zangrilli at December 27. 2017

I hope between these three files it works.  I had to compress the study file.  It's supposed to just be two , 2D squares that I was hoping to create two different faces with that Elmer would recognize as such.  Thank you again!

 

Tess

Attachments

Re: Multiple bodies

Posted by Saint Michael at December 28. 2017

Hi Tess

You missed the following:

1. GEOM: create groups of faces inside Partition_1

2. SMESH: create a mesh on Partition_1, not on the faces.

St.Michael

Re: Multiple bodies

Posted by Tess Zangrilli at December 28. 2017

Thank you again for your help St. Michael! 

For some reason, every time I tried to create a group on the partition, it would just say 'Group_1' and then it would show 'Partition_1', but not show the faces.  It recognized two faces in the partition and group, but even meshing on partition_1, and exporting the UNV, Elmer still only recognizes one face.  

However, my work around was to export a .brep from salome into gmsh, do the 2d mesh there, and then export the mesh to elmer as a unv from there (with both boxes checked that gmsh pops up).  For some reason Elmer liked that.  

So all is well that ends well.  Onto the modeling the problem at hand now! Thanks again.  I really appreciate you and the other folks who really know Salome and all these open source codes for giving your time to help us who are little unsure how to navigate :)

Powered by Ploneboard
Document Actions