Dear All,

A quick update on the matter:
I've had a go at generating a msh file using gmsh 3 and the same geo script, and NekMesh had no problems in converting it to xml.
It seems that using gmsh 4 might still create problems which are not fully covered in the updated NekMesh.

Best regards,
Oliviu

On Wednesday, October 17, 2018, 9:08:23 PM GMT+1, Oliviu Sugar <oliviu_sugar@yahoo.com> wrote:


Hi Dave,

I checked out the latest version of Master from the repository yesterday. I also ran the NekMesh regression tests including the gmsh version 4 files, and all test completed successfully. This is what led me to think I might have made a mistake with the geo file, but if this is the case it is not evident.

Best,
Oliviu
On Wednesday, October 17, 2018, 9:00:25 PM GMT+1, David Moxey <D.Moxey@exeter.ac.uk> wrote:


Hi Oliviu,

The problem is likely gmsh 4, which was only recently released and changed the msh file format. Thanks to Julian, one of our PhD students, we have recently added support for this to NekMesh:

https://gitlab.nektar.info/nektar/nektar/merge_requests/964

However you will need to upgrade/compile your own version of the latest Nektar++ master to get this functionality. Alternatively you can use Gmsh v3.x to generate your msh file instead.

Many thanks,

Dave

> On 17 Oct 2018, at 20:43, Oliviu Sugar <oliviu_sugar@yahoo.com> wrote:
>
> Hi Stanislaw,
>
> All lines and surfaces in the gmsh script have been defined as transfinite, in order to force a structured mesh generation, and I have verified that all elements are quads.
>
> Best regards,
> Oliviu
>
> On Wednesday, October 17, 2018, 8:38:33 PM GMT+1, Stanisław Gepner <sgepner@meil.pw.edu.pl> wrote:
>
>
> Hi, a wild guess would be that you have a mix of triangles and quads in a composite. From what I remember this is not supported.
> Pozdrawiam,
> Stanisław Gepner
>
> Dnia 17 października 2018 21:32:19 CEST, Oliviu Sugar <oliviu_sugar@yahoo.com> napisał(a):
> Dear all,
>
> I've run into some problems when trying to convert a msh file (generated using gmsh 4.0.2) into a xml file, using NekMesh.
> The script geo file used with gmsh is attached.
> The error encountered by NekMesh is: "Different types of elements in same composite!"
> Any advice on what needs to be changed in the geo file to resolve this issue would be much appreciated.
>
> Best regards,
> Oliviu

>
> _______________________________________________
> Nektar-users mailing list
> Nektar-users@imperial.ac.uk
> https://mailman.ic.ac.uk/mailman/listinfo/nektar-users