-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mesh generation faulty #7
Comments
Hi,
I'm unable to reproduce your problem, here is the mesh I obtain with
your files :
https://www.aljl.eu/nextcloud/index.php/s/S8XQK4733KjNB43
Which version of gmsh are you using ?
Can you try with the last gmsh version from : http://gmsh.info/#Download
Jonathan
Excerpts from bj1576al's message of juin 15, 2018 8:58 am:
… Hi
Thank you for a great plugin and tutorial. I've followed the tutorial, but using my own case. Everything seems to go fine until it creates an oddly looking mesh. See image below. What am I doing wrong?
I've succesfully (I think) created both a mesh-size grid and shoreline. Adding them to a zip-file attached.
[shoreline2.zip](https://github.com/ccorail/qgis-gmsh/files/2105071/shoreline2.zip)

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#7
|
Thank you for your swift reply! I did use the gmsh-included in the Onelab-Windows64 distribution. But now I tried it with the latest stable version 3.0.6 for windows 64 (the application version, not the source code). I now got another result, se image below. But not the same one as you send me (which was as aspected). //Björn |
Hi,
I just tried your file on a windows 7 virtual box with a freshly
downloaded gmsh 3.0.6 and I'm still obtaining the right mesh.
The only changed I've made to your file is on line 44 of mesh3.geo, I
removed the full path to mesh3.dat and replace it by simply "mesh3.dat".
Field[NF].FileName = "E:/OneDrive - Lund University/Artiklar/Derive transport gradients from sediment - Caroline/Wave Model/test/refinedMesh/gmsh/taketwo/mesh3.dat";
becomes
Field[NF].FileName = "mesh3.dat";
Jonathan
Excerpts from bj1576al's message of juin 15, 2018 10:27 am:
… Thank you for your swift reply!
I did use the gmsh-included in the Onelab-Windows64 distribution. But now I tried it with the latest stable version 3.0.6 for windows 64 (the application version, not the source code). I now got another result, se image below. But not the same one as you send me (which was as aspected).
//Björn

--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#7 (comment)
|
I use win10, but I guess that shouldn' t matter? When I try to modify the geo-file with your modification of removing the path-name I only get an error saying that it can't find the file. Moreover. When I generate the mesh I get an warning message saying that it couldn't orient normal of surface 1. Of any relevance? (see image attached below) I've also tried to generate a mesh with a constant-value mesh-size grid and then the mesh is generated as expected. |
The warning about the orientation is not important.
Can you try this :
1) open gmsh
2) in Tools->Options->General->Advanced click on "Restore default
options"
3) with the menu File->open open mesh3.geo
4) generate the mesh by clicking on "mesh"->"2d"
Excerpts from bj1576al's message of juin 15, 2018 11:09 am:
… I use win10, but I guess that shouldn' t matter?
When I try to modify the geo-file with your modification of removing the path-name I only get an error saying that it can't find the file.
Moreover. When I generate the mesh I get an warning message saying that it couldn't orient normal of surface 1. Of any relevance? (see image attached below)
I've also tried to generate a mesh with a constant-value mesh-size grid and then the mesh is generated as expected.
Thank you for your help!

--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#7 (comment)
|
That worked! But then, why doesn't it work in qgis? |
It seems that you have a gmsh settings that alter the mesh generation.
- Open gmsh
- Use the menu Help->Restore All Options to Default Settings
- Use the menu File->Save Options as Default
Normally, it should work in qgis now.
Jonathan
Excerpts from bj1576al's message of juin 15, 2018 11:20 am:
… That worked! But then, why doesn't it work in qgis?
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#7 (comment)
|
It still doesn't work on Qgis using Frontal as meshing algorithm. However if I use the Delauny it works in qgis. Björn |
Hi
Thank you for a great plugin and tutorial. I've followed the tutorial, but using my own case. Everything seems to go fine until it creates an oddly looking mesh. See image below. What am I doing wrong?
I've succesfully (I think) created both a mesh-size grid and shoreline. Adding them to a zip-file attached.
shoreline2.zip
The text was updated successfully, but these errors were encountered: