# Ogs dataexplorer cannot load gmsh file

**URL:** <https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701>\
**Category:** Help & Support\
**Created:** [September 26, 2025, 9:42am UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701 "2025-09-26T09:42:37Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prince](https://discourse.opengeosys.org/letter_avatar_proxy/v4/letter/p/ba9def/32.png) [@Prince](https://discourse.opengeosys.org/u/Prince)\
**Post date:** [September 26, 2025, 9:42am UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/1 "2025-09-26T09:42:38Z")

</div>

Hello everyone,

I am a beginner of ogs. I have a problem importing gmsh file into data explorer to convert the file into readable format for ogs software. I am using ogs 6.5 with the latest version of data explorer. Is there something I’m not doing? Thanks for your help.

Regards,  
Prince

---

<div class="post-metadata">

**Author:** ![thomas.fischer](https://discourse.opengeosys.org/user_avatar/discourse.opengeosys.org/thomas.fischer/32/416_2.png) [@thomas.fischer](https://discourse.opengeosys.org/u/thomas.fischer)\
**Post date:** [September 26, 2025, 9:50am UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/2 "2025-09-26T09:50:40Z")

</div>

Loading a gmsh mesh is a bit different from loading a vtk mesh. A gmsh mesh has to be ‘imported’. In the DataExplorer GUI you have to click ‘File’ → ‘Import Files’ → ‘GMSH Files…’.

---

<div class="post-metadata">

**Author:** ![Prince](https://discourse.opengeosys.org/letter_avatar_proxy/v4/letter/p/ba9def/32.png) [@Prince](https://discourse.opengeosys.org/u/Prince)\
**Post date:** [September 26, 2025, 11:07am UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/3 "2025-09-26T11:07:51Z")

</div>

Hello,  
Thanks for the reply. I tried this, and data explorer closed without any error.

---

<div class="post-metadata">

**Author:** ![thomas.fischer](https://discourse.opengeosys.org/user_avatar/discourse.opengeosys.org/thomas.fischer/32/416_2.png) [@thomas.fischer](https://discourse.opengeosys.org/u/thomas.fischer)\
**Post date:** [September 26, 2025, 11:10am UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/4 "2025-09-26T11:10:46Z")

</div>

Is it possible to provide the gmsh file that let the DataExplorer crash?

---

<div class="post-metadata">

**Author:** ![Prince](https://discourse.opengeosys.org/letter_avatar_proxy/v4/letter/p/ba9def/32.png) [@Prince](https://discourse.opengeosys.org/u/Prince)\
**Post date:** [September 26, 2025, 11:16am UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/5 "2025-09-26T11:16:48Z")

</div>

yes it is from an ogs tutorial, computational hydrology 2

---

<div class="post-metadata">

**Author:** ![Prince](https://discourse.opengeosys.org/letter_avatar_proxy/v4/letter/p/ba9def/32.png) [@Prince](https://discourse.opengeosys.org/u/Prince)\
**Post date:** [September 26, 2025, 11:18am UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/6 "2025-09-26T11:18:52Z")

</div>

// set element size and points  
lc=0.1;  
Point(1) = {0,0,0,lc};  
Point(2) = {0.3, 0, 0, lc};  
Point(3) = {10.3,0,0,lc};  
Point(4) = {10.3,0,0.6,lc};  
Point(5) = {0.3,0,0.6,lc};  
Point(6) = {0,0 ,0.6,lc};  
// set lines  
Line(7) = {1,2};  
Line(8) = {2,5};  
Line(9) = {5,6};  
Line(10) = {6,1};  
Line(11) = {2,3};  
Line(12) = {3,4};  
Line(13) = {4,5};  
// combine lines to loops for subsequent surfaces  
Line Loop(14)={7,8,9,10};  
Line Loop(15)={11,12,13,-8};  
// set surfaces  
Plane Surface (16)={14};  
Plane Surface (17)={15};  
Physical Surface(“mixing”)={16};  
Physical Surface(" main")={17}

---

<div class="post-metadata">

**Author:** ![thomas.fischer](https://discourse.opengeosys.org/user_avatar/discourse.opengeosys.org/thomas.fischer/32/416_2.png) [@thomas.fischer](https://discourse.opengeosys.org/u/thomas.fischer)\
**Post date:** [September 26, 2025, 11:25am UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/7 "2025-09-26T11:25:09Z")

</div>

This is a geometric description of a domain (file ending ‘geo’). You can use this data / file in gmsh to create a mesh in gmsh format (file ending ‘msh’). This can then be imported into the DataExplorer as described earlier.

---

<div class="post-metadata">

**Author:** ![Prince](https://discourse.opengeosys.org/letter_avatar_proxy/v4/letter/p/ba9def/32.png) [@Prince](https://discourse.opengeosys.org/u/Prince)\
**Post date:** [September 26, 2025, 11:26am UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/8 "2025-09-26T11:26:31Z")

</div>

Yes, I saved this file as .msh but then unable to load it in data explorer. let me paste the msh file contents here

---

<div class="post-metadata">

**Author:** ![Prince](https://discourse.opengeosys.org/letter_avatar_proxy/v4/letter/p/ba9def/32.png) [@Prince](https://discourse.opengeosys.org/u/Prince)\
**Post date:** [September 26, 2025, 11:29am UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/9 "2025-09-26T11:29:38Z")

</div>

![Screenshot 2025-09-26 142851](https://discourse.opengeosys.org/uploads/default/original/2X/2/2eb46b3015457e1173cf955f40db0dfca423d6a7.png)

---

<div class="post-metadata">

**Author:** ![thomas.fischer](https://discourse.opengeosys.org/user_avatar/discourse.opengeosys.org/thomas.fischer/32/416_2.png) [@thomas.fischer](https://discourse.opengeosys.org/u/thomas.fischer)\
**Post date:** [September 26, 2025, 11:31am UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/10 "2025-09-26T11:31:03Z")

</div>

Please provide the file itself, not the screenshot.

---

<div class="post-metadata">

**Author:** ![Prince](https://discourse.opengeosys.org/letter_avatar_proxy/v4/letter/p/ba9def/32.png) [@Prince](https://discourse.opengeosys.org/u/Prince)\
**Post date:** [September 26, 2025, 11:33am UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/11 "2025-09-26T11:33:44Z")

</div>

It does not allow me to upload the text file here

---

<div class="post-metadata">

**Author:** ![Prince](https://discourse.opengeosys.org/letter_avatar_proxy/v4/letter/p/ba9def/32.png) [@Prince](https://discourse.opengeosys.org/u/Prince)\
**Post date:** [September 26, 2025, 11:34am UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/12 "2025-09-26T11:34:11Z")

</div>

I found this too, maybe it can help explain

 ![Screenshot 2025-09-26 143202](https://discourse.opengeosys.org/uploads/default/original/2X/e/efb09a9f02bc1f95b80588edc1c50b849ba2c5cf.png)

---

<div class="post-metadata">

**Author:** ![thomas.fischer](https://discourse.opengeosys.org/user_avatar/discourse.opengeosys.org/thomas.fischer/32/416_2.png) [@thomas.fischer](https://discourse.opengeosys.org/u/thomas.fischer)\
**Post date:** [September 26, 2025, 12:10pm UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/13 "2025-09-26T12:10:19Z")

</div>

The issue of loading the gmsh mesh using DataExplorer can be reproduced. What you can do to continue your work is to use the tool `GMSH2OGS` to convert the gmsh mesh to a vtu mesh:

```auto
GMSH2OGS -i your_gmsh_mesh.msh -o output_vtu_mesh.vtu

```

At least I could visualize the mesh in paraview.

However, I couldn’t load other simple vtu meshes in DataExplorer, too. So I guess there is a bug discovered by you. Maybe a previous version of DataExplorer works for your purposes?

---

<div class="post-metadata">

**Author:** ![Prince](https://discourse.opengeosys.org/letter_avatar_proxy/v4/letter/p/ba9def/32.png) [@Prince](https://discourse.opengeosys.org/u/Prince)\
**Post date:** [September 26, 2025, 12:34pm UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/14 "2025-09-26T12:34:11Z")

</div>

Thank you very much for the information. Yes I will proceed to use an older version. Hopefully the bug can be fixed soon.

---

<div class="post-metadata">

**Author:** ![bilke](https://discourse.opengeosys.org/user_avatar/discourse.opengeosys.org/bilke/32/868_2.png) [@bilke](https://discourse.opengeosys.org/u/bilke)\
**Post date:** [September 29, 2025, 9:06am UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/15 "2025-09-29T09:06:14Z")

</div>

Dear Prince,

you can try this download link (for Windows) with a hopefully fixed version:

[https://gitlab.opengeosys.org/ogs/ogs/-/jobs/621521/artifacts/raw/build/release-gui-build-gui-win-621521/ogs-6.5.6-36-gadf5fd8c0a-Windows-10.0.19045-python-3.13.5-de-utils.zip](https://gitlab.opengeosys.org/ogs/ogs/-/jobs/621521/artifacts/raw/build/release-gui-build-gui-win-621521/ogs-6.5.6-36-gadf5fd8c0a-Windows-10.0.19045-python-3.13.5-de-utils.zip)

Please let us know if it works!  
Lars

---

<div class="post-metadata">

**Author:** ![Prince](https://discourse.opengeosys.org/letter_avatar_proxy/v4/letter/p/ba9def/32.png) [@Prince](https://discourse.opengeosys.org/u/Prince)\
**Post date:** [September 29, 2025, 9:32am UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/16 "2025-09-29T09:32:40Z")

</div>

Hello,

Thank you very much 😃

---

<div class="post-metadata">

**Author:** ![Prince](https://discourse.opengeosys.org/letter_avatar_proxy/v4/letter/p/ba9def/32.png) [@Prince](https://discourse.opengeosys.org/u/Prince)\
**Post date:** [September 29, 2025, 9:51am UTC](https://discourse.opengeosys.org/t/ogs-dataexplorer-cannot-load-gmsh-file/1701/17 "2025-09-29T09:51:14Z")

</div>

Hello. it crashed again. This is what I did: I exported the mesh file as .msh from Gmsh. Then I went to ogs data explorer \> file \> import \> import gmsh files \> then it loads few seconds and closes automatically
