Hi Stephanie, the only trick I had found at the time is in three steps (there may be more direct solutions, if so, I'm interested!):
1) mesh only the "skin" of your domain (2D mesh), save it in a .msh file 2) move the nodes of the surface to match with your topography (use an external program that reads the .msh, interpolates the topography on the appropriate faces and rewrites your .msh). 3) in a .geo file, merge this new .msh, define the volume and then mesh it (3D mesh) (for example, if the initial domain has 6 faces : Merge "skin_modified.msh"; Surface Loop(1) = {1,2,3,4,5,6}; Volume(1)={1}; ) Best, Riad Le 21 sept. 2018 à 02:12, Stephanie Jarvis <stephanie.jar...@colorado.edu> a écrit : > Hello, > > Can gmsh can handle topography? I see this has been asked several times but I > can't find a resolution. I have surveyed grid points from a hillslope surface > that I need to create a 3D mesh for (top of the box is the hillslope > topography, bottom is flat extending into the surface). I've tried embedding > the points into a surface I create around them, using Point In Surface, but > the points mesh as holes (if they're below that surface) or in the air by > themselves (if they're above)--there is no interpolation between them. I've > also tried several variations of lines and splines connecting the points, but > I can't get that to mesh successfully. Plugin(Tetrahedralize) looks > promising, but it's unclear to me how to use it--is it possible to get a > "View" out of a bunch of points? Or do I need to create an interpolated > surface outside of gmsh and bring that in to mesh? > > Thank you! > Stephanie > _______________________________________________ > gmsh mailing list > gmsh@onelab.info > http://onelab.info/mailman/listinfo/gmsh ----------------------------------------------------------------- Riad HASSANI GéoAzur Université Nice-Sophia Antipolis 250 rue Albert Einstein Sophia Antipolis 06560 Valbonne - France tel. : 33 (0) 4 83 61 86 71 / 33 (0) 4 92 07 65 89
_______________________________________________ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh