Re: [Gmsh] Compatibility Problem with Gmsh and SfePy

2018-09-06 Thread Christophe Geuzaine
Gmsh 4 outputs the new "version 4" mesh format by default. SfePy probably expects an the older "version 2" file format? Just select the appropriate version when you export your file (File->Export) ; or set Mesh.MshFileVersion=2; in your geo script. > On 6 Sep 2018, at 20:41, Sean Gullette wro

[Gmsh] Compatibility Problem with Gmsh and SfePy

2018-09-06 Thread Sean Gullette
Hi, I'm trying to create a finite element mesh in Gmsh by following this tutorial http://sfepy.org/doc-devel/primer.html. But when I try to run the example file from the tutorial 'script/simple.py examples/linear_elasticity/its2D_1.py', I get the following error: "FileNotFoundError: [Errno 2] N

Re: [Gmsh] (again) on v4 mesh format

2018-09-06 Thread Christophe Geuzaine
> On 6 Sep 2018, at 15:04, Alessandro Vicini > wrote: > > > In version v2 of the mesh file, surface elements are directly associated to > the physical ID of the surface they belong to (which is useful). > If I get it right, in version v4 this direct association is missing: the > surface el

Re: [Gmsh] way to create a structured triangular mesh as shown in figure

2018-09-06 Thread ashish bhole
Hello All, Thank you very much, Hector. It works like a charm. -- With Regards Ashish On Thu, 6 Sep 2018 at 15:11, Hector Espinoza wrote: > Hi, to do that you can use Transfinite Surface AlternateLeft and an odd > number of points on each Transfinite Line. > > Cheers, > > Hector > > On Thu, Se

Re: [Gmsh] way to create a structured triangular mesh as shown in figure

2018-09-06 Thread Hector Espinoza
Hi, to do that you can use Transfinite Surface AlternateLeft and an odd number of points on each Transfinite Line. Cheers, Hector On Thu, Sep 6, 2018, 03:17 ashish bhole wrote: > Hello All, > > I am looking for a way to create a structured triangular mesh > as seen in attached fig.png in gmsh.

[Gmsh] (again) on v4 mesh format

2018-09-06 Thread Alessandro Vicini
In version v2 of the mesh file, surface elements are directly associated to the physical ID of the surface they belong to (which is useful). If I get it right, in version v4 this direct association is missing: the surface elements are associated with the elementary ID of the surface, and the

[Gmsh] way to create a structured triangular mesh as shown in figure

2018-09-06 Thread ashish bhole
Hello All, I am looking for a way to create a structured triangular mesh as seen in attached fig.png in gmsh. Transfinite surface creates a mesh in which rectangles are split into triangles by in one direction only. I am looking for a way to create triangles those are split into alternate directi