[Gmsh] import a Terrain surface (STL) as the bottom of a computation domain

Christophe Geuzaine cgeuzaine at uliege.be
Thu Sep 19 19:43:24 CEST 2019



> On 21 Aug 2019, at 19:59, Junting Chen <chen112p at uwindsor.ca> wrote:
> 
> Hello, as described in the question, I have a STL file which contains an uneven 3d surface mesh (represents the terrain of a mountain area). Flush in X and Y sides, a rectangular shape if you look from top.
> 
> Is it possible that I can create a bounding box which has this imported STL as the bottom piece?
> 
> I don't really know where to go after  Merge "Terrain.stl";
> 

You need to construct the actual geometry of the box. Here's a small example on how to do exactly that with the api: http://onelab.info/pipermail/gmsh/2019/012985.html

Christophe


> Thanks a lot for your help!
> 
> Junting
> 
> <Schematic_terrain.gif>_______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

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






More information about the gmsh mailing list