FloSewn / TQMesh

A simple two-dimensional mesh generator with triangular and quadrilateral elements in C++
MIT License
57 stars 16 forks source link

distorted paving mesh #9

Closed OpenFoam-User closed 1 year ago

OpenFoam-User commented 1 year ago

Hello,

I have tried using the example 2 to generate unstructured quad mesh but unfortunately I am not getting the same mesh (comparing the following screenshot of the mesh I get and the screenshot from the README of the project):

Obtained mesh:

image

Mesh from the README file:

Image from README

Note: I have tried both the main and develop branches but I am still getting the same issue

What I am doing wrong?

FloSewn commented 1 year ago

Hey there,

thank you so much for pointing out this error. I just reverted back to tag v1.2.1 (e37d966) and then I get the mesh that is shown in the README file.

It seems that the changes of commit 1cac9f9 have a negative effect on the smoothing of all-quad-meshes.

I will fix this in the coming days!

Greetings Flo

OpenFoam-User commented 1 year ago

Many thanks for the reply.

FloSewn commented 1 year ago

I fixed that bug in the main branch - the mesh of example 2 should now be ok.

Greetings Flo

OpenFoam-User commented 1 year ago

Thank you for the fix. I confirm that it works as expected.