Welcome, Guest
Username: Password: Remember me

TOPIC: Robust mesh generation on Linux

Robust mesh generation on Linux 1 year 9 months ago #42083

Hi,

We were experimenting with various ways to generate (efficient) meshes for Telemac on Linux, but without a satisfactory full open-source (or open-access) solution. Here is what we tried:

- BlueKenue through wine (downside: not stable) or on Windows and transfer the mesh (downside: requires Windows)
- BaseMESH in QGIS and transformation with pputils to Selafin (downsides: intermediate steps required, pputils tweaking required, and we sometimes needed to re-define boundaries with BlueKenue); Built-in Telemac Python script usage was also not straightforward with BaseMESH results.
- Salome Hydro, but it is hardly maintained requires outdated versions of Debian Linux.

We also tried other gmesh-based solutions through QGIS that at some point led to conversion errors and still required BlueKenue polishing in the end. In addition, we found Janet to work well, but it is commercial.

Ultimately, gmesh seems to be the most powerful open software for mesh generation but we did not get to a robust way for creating meshes, in particular, when we needed additional slf-layers for roughness zones.

So, here my question: can anyone comment on their best-working solution for Telemac generation with Linux-native, possibly open software (i.e., anything that does not need to go through wine), such as Salome (not Salome Hydro)?

Also, Telemac developers, can you please comment on implementing a possible Telemac Meshing Plugin for QGIS?

Even though there are traces to responses to my questions in the forum, I could not retrieve a work-ready answer, which is why I opened this topic, hoping for kicking of a useful discussion with a lot of feedback.

Thanks to anyone who is willing to share their experience.

Best,
Sebastian
The administrator has disabled public write access.

Robust mesh generation on Linux 1 year 9 months ago #42086

  • vcloarec
  • vcloarec's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 6
Lekan is a free ans open source project using GMSH to produce TELEMAC 2D models. So it creates SLF files from the GMSH generator.

For now, there is only Windows built available, but building under Linux is possible (I develop it under Linux).

Here a link to the GitHub repo: github.com/vcloarec/ReosProject
The administrator has disabled public write access.

Robust mesh generation on Linux 10 months 2 weeks ago #43901

  • TimN
  • TimN's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 67
Hi vcloarec,

I had a go on Lekan. I was wondering if there is an opportunity to export slf and boundary conditions from Lekan. As far as I understand, it's currently meant to run Telemac within Lekan?

As I'm working on coastal domains mostly, I'd like to use it as a pre-processor in the first place. The way it enables the user to modify meshes is really handy.

Best regards
Tim
The administrator has disabled public write access.

Robust mesh generation on Linux 10 months 2 weeks ago #43902

  • vcloarec
  • vcloarec's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 6
Hi,

Once you model is built, instead of launching it, you can export TELEMAC model file where you want to do what you want with it.
Click on the button on the little arrow next the button to launch the simulation, and choose "Export simulation" :


The administrator has disabled public write access.
The following user(s) said Thank You: TimN

Robust mesh generation on Linux 10 months 2 weeks ago #43903

  • TimN
  • TimN's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 67
Hi,

thanks for the quick response. My installations crashes when I follow this. I've also tried the 3D view, which gives me just a blank window. I don't know what's the problem. Installation ran without any issues.

I downloaded versionen 2.3.3 from the website. I'll try a deinstallation and new install.

best,
Tim
The administrator has disabled public write access.

Robust mesh generation on Linux 10 months 2 weeks ago #43904

  • vcloarec
  • vcloarec's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 6
hmmm,

Maybe better to not pollute this topic, if you have a github account, I propose to continue here:
www.opentelemac.org/index.php/kunena/oth...on-linux/reply/43903
The administrator has disabled public write access.

Robust mesh generation on Linux 10 months 2 weeks ago #43905

  • TimN
  • TimN's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 67
alright, ya good idea. I will test a bit further and report on the GitHub page..
The administrator has disabled public write access.

Robust mesh generation on Linux 10 months 1 week ago #43949

  • tomsail
  • tomsail's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 43
  • Thank you received: 17
Hi,

I will respond to first post initiated by Sebastian.

Please also have a look at pyPoseidon

where 2 meshers are implemented:
  • GMSH
  • Jigsaw

I have implemented on my fork oceanmesh (python version) for regional and global models.

More info on meshing at the Tutorials sections

Documentation: pyposeidon.readthedocs.io

How to install pyposeidon with micromamba:
github.com/tomsail/pyPoseidon/wiki/Install-the-environment
The administrator has disabled public write access.

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