Welcome, Guest
Username: Password: Remember me

TOPIC: using Gmsh grid in TELEMAC

using Gmsh grid in TELEMAC 7 years 10 months ago #24883

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hi all,

I am updating this thread to mention that a new python parser came in with the new version 7.2: "parserGMSH.py" by HRW. It can convert a gmsh file into a slf file.

Please also note that Pat Prodanovic's python utility pputils (github.com/pprodano/pputils) contains scripts for preparing input geometry (points) files to gmsh from GIS. It is well described in his paper from the 2015 TUC and it is a great tool.

I will just give a feedback here on parserGMSH.py that I tested to convert large meshes into selafin. Gmsh was used instead of BlueKenue for its efficiency in dealing with large number of elements. I could convert a 7 Mio element gmsh-mesh in about 2 min using the new parserGMSH.py script but it did crash due to memory limitation when I tried something crazy: converting a 29 Mio element gmsh-mesh into selafin. I was testing it on my DELL i7 16 GB RAM.

Anyway, this new script proves to be very useful for most range of mesh sizes ;-) ! Thank you for this addition.

Best regards
PL
The administrator has disabled public write access.
The following user(s) said Thank You: c.coulet

using Gmsh grid in TELEMAC 6 years 8 months ago #29191

  • frank
  • frank's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
The web site www.oliviergourgue.net is not accessible,and github.com/ogourgue/PUG is empty.Dose any one have a copy of those code?
The administrator has disabled public write access.

using Gmsh grid in TELEMAC 6 years 8 months ago #29192

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
My website is now www.oliviergourgue.com

The repository github.com/ogourgue/PUG was set to private because it is not maintained anymore (I moved all my pre- and post-processing tools to python, using extensively github.com/pprodano/pputils).

As some people still seem to show interest in it, I made it public again. But please bear in mind it is not maintained anymore.

Thank you for your interest!
The administrator has disabled public write access.
The following user(s) said Thank You: frank

using Gmsh grid in TELEMAC 6 years 8 months ago #29209

  • frank
  • frank's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
B) Thanks for your kind help.I have download matlab package PUG from your github. The python package github.com/pprodano/pputils is also useful while need time to learning python language
The administrator has disabled public write access.

using Gmsh grid in TELEMAC 5 years 10 months ago #32538

  • vihang
  • vihang's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 2
your web page is not accessible. :( :(
The administrator has disabled public write access.

using Gmsh grid in TELEMAC 5 years 10 months ago #32539

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
I removed PUG repository because it is not maintained anymore.

For a python alternative, you look at my new repository github.com/ogourgue/ogtools (not well documented at this stage).

You can also find very useful tools in Pat Prodanovic's pputils repository github.com/pprodano/pputils

Good luck.
The administrator has disabled public write access.

using Gmsh grid in TELEMAC 5 years 7 months ago #33361

  • vsundar
  • vsundar's Avatar
Thank you for developing and maintaining the excellent set of tools. I'm interested in converting *.msh file to *.slf using the ogtools/gmsh2telemac.py.

However, I'm getting errors related to the generation of generate_ipobo while using gmsh2telemac.py
The administrator has disabled public write access.

using Gmsh grid in TELEMAC 5 years 3 months ago #34358

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
Could you be more specific and provide simple examples?
The administrator has disabled public write access.

using Gmsh grid in TELEMAC 5 years 3 months ago #34360

  • vsundar
  • vsundar's Avatar
I was able to convert it using pputils for now. Might revisit ogtools at a later stage of development. Thank you!
The administrator has disabled public write access.

using Gmsh grid in TELEMAC 4 years 10 months ago #35241

Hello, i am using pputils, but i have a problem with script gmsh2adcirc.py :
Traceback (most recent call last):
File "D:\pputils-master\pputils-master\gmsh2adcirc.py", line 76, in <module>
n = int(n) # now it becomes an integer
ValueError: invalid literal for int() with base 10: '122 119 1 0\n'



I work with an exemple (gis2gmsh/exemple01holes) provided in pputils folders

Tank you in advance.

PS: congratulation for the quality of the pputils's manual
The administrator has disabled public write access.

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.