> On 1 May 2019, at 01:56, Justin Clough <[email protected]> wrote:
> 
> Hello, 
> 
> I need to create a FE mesh for a geometry made of multiple materials using 
> Gmsh. The original geometry is from other software packages and is read into 
> Gmsh via .stp files. Each stp file has one component of the larger assemble 
> and will need its own material properties.
> 
> I'm currently able to read the components into Gmsh and label them with the 
> `Physical Volume` syntax. The issue is that the surface mesh elements at the 
> boundaries do not line up with one another; the elements in one component are 
> not connected to the elements in another.
> 

You need to fuse the two surfaces: this can be achieved with the "fragment" 
operation - see attached file.

Attachment: two_materials_conformal.geo
Description: Binary data


Christophe

> I made a similar MWE to my problem (files attached). Here I'm trying to stack 
> two unit cubes in the X direction. The first is made of copper, the second of 
> tin. My question is: How would I create a single surface mesh at X=1 which is 
> shared by the two volume meshes instead of two, independent, surface meshes? 
> Further, how would I do this if the common surface is very organic in shape?
> 
> Thank you in advance for your help! Please let me know if I can provide any 
> further information.
> 
> best,
> -Justin Clough
> <two_materials.geo><copper_box.stp><tin_box.stp>_______________________________________________
> gmsh mailing list
> [email protected]
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine



_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to