Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gmsh]

A three-dimensional finite element mesh generator with built-in pre- and post-processing facilities

0
votes
0answers
30 views

plotting sinusoidal wave

I want to create a sinusoidal wave surface in Gmsh whose peak is tilted towards the right side. I have created this symmetrical wave using the simple sine wave equation in Gmsh but the original ...
3
votes
0answers
49 views

Gmsh for 3D volume with inclusions

In an attempt to create three-dimensional volumes with inclusions in Gmsh I stumble upon a problem which was non-existent in the two-dimensional case. I'm using the OpenCASCADE geometry kernel ...
0
votes
1answer
59 views

C++ library unstructured mesh writer to VTK format (or similar)

I am working on a 2D unstructured code in C++. I am using gmsh to generate a 2D unstructured mesh and reading it into my program with a library called ...
0
votes
0answers
100 views

Using gmsh python api for meshing a model with grouping elements by their volumes and surfaces

I am trying to use GMSH python api for creating 2d meshes of cad formats. I managed to write a script that can generate mesh successfully. However I need to know how elements are separated across ...
1
vote
1answer
309 views

Creating a proper quad-mesh in GMSH for an “I”-shaped geometry

I'm trying to make a 2-D quad-only mesh of an "I"-shaped cross-section, with elements of size 5. So far I've managed to make it quad only, but some elements are very distorted when they shouldn't be. ...
0
votes
1answer
130 views

A difference running Gmsh in command line and in GUI for 3-D mesh generation [closed]

In Gmsh, I have a test.geo file. The question is: if I run gmsh -3 test.geo in the command line, I get the below error. ...
0
votes
1answer
54 views

Gmsh exporting wrong mesh DATA [closed]

so hopefully I'll be using gmsh to make meshes out of 2-D cross sections with o thickness. I tried to make a structured mesh with quad elements of a rectangular ...
1
vote
0answers
50 views

surface triangulation to boundary representation

Are there any open source tools available which can take a surface triangulation of mesh volumes and convert them to a boundary representation? I am interested in refining multiple region tetrahedral ...
1
vote
1answer
769 views

Custom Mesh Sizes in GMSH [closed]

I have a simple question today. I am new to GMSH and I am currently learning how to use the software program. I am using GMSH 3.0.4. What I am looking to do is to set a different mesh size for ...
2
votes
2answers
377 views

Combined translational and rotational meshing in gmsh

For a flow simulation I am trying to reproduce a specific screw element design for an intermeshing co-rotating twin-screw extruder. I am using gmsh (v2.16) where the element is made from a 2D surface ...
0
votes
1answer
621 views

what is the meaning of mesh smoothing steps in Gmsh?

In Gmsh mesh option list ,there is a smoothing concept, what does this mean and what is the effect of its number to the mesh quality?
4
votes
0answers
523 views

Meshing two parts together [closed]

I have two parts, which need to be meshed. One part is located inside another. To simplify the problem, imagine two cubes: one inside another. Geometries are stored in STL files. From CAD point of ...
4
votes
1answer
992 views

Using Gmsh to create a mesh with zero thickness (quad) interface elements

I acknowledge the following post where a similar question is posed and a very nice answer has been provided: Is there a mesh generator that will generate zero thickness elements for interfaces? ...
1
vote
1answer
2k views

Triangular mesh of a 3D surface

I have an irregular grid of points describing this surface (a large subduction fault in South America). The color is depth. Anyway I have 3D coordinates (lon,lat,depth) at irregular intervals. I'm ...
0
votes
1answer
3k views

Convert STL file to other formats like .msh (Gmsh) and .inp (Abaqus)

After reading some stuff on STL files, I realized that they do no contain information about a mesh (connectivity for instance) , but they represent the surface geometry of the part to be meshed. ...
2
votes
1answer
1k views

Gmsh - dividing a plane surface

How to divide a surface to subdomains, which can be recognized in msh file? Avoiding duplicated nodes is necessary. In general I have geo file which contains definition of smaller and bigger region, ...