Dear Gmsh community,
I have a 3 dimensional square duct here attached that I wish to mesh
using the transfinite option in Gmsh, which seems very powerful.
I wish to have on each side of the inlet and outlet square of the duct
20 meshing points
To this end I wrote the script below, but it
Hi Bruno and Max,
There is nothing mysterious about the "gmsh.model.geo.synchronize()" and
"gmsh.model.occ.synchronize()" calls :-) They serve a single purpose: to
synchronize the topological Gmsh model (the model manipulated by the
"gmsh.model" functions) with the internal CAD
> On 5 Oct 2020, at 07:05, bi...@netc.it wrote:
>
> Hello. I'm trying to parse a mesh.msh generated by gmsh.
>
> I work with 9-quad elements. I see in documentation that inside of the
> elements, nodes are ordered like this :
>
>v
>^
>|
>
Hi Bruno,
At a quick glance, it's possible you require some more synchronize calls
between the different API calls.
It's good practice to call synchronize when you move from one part of the
API to another (e.g. from gmsh.model.geo to gmsh.model.geo.mesh).
This is a somewhat common issue (see e.g.
Dear Christophe and Max,
Thank you very much for your fast answer.
Yes indeed Christophe's advice works perfectly and this is clearly
explained in the provided link.
Sorry for bringing up such a trivial issue!
Best regards
Bruno
On 06.10.20 19:39, Christophe Geuzaine wrote:
Hi Bruno