[Gmsh] Third coordinate Z not wanted

Dmitrijs Ledkovs dmitrij.ledkov at gmail.com
Tue Feb 23 13:42:47 CET 2010


On 23 February 2010 08:14,  <heolglaz at aol.com> wrote:
> Hi,
>
> I would like to use gmsh to perform simple 2D meshes. I use for the moment
> the option -2 in command line, but the dimension in the resulting mesh file
> is still 3. The solver code I use reads .mesh files but does not read the
> 3rd coordinate Z.
> Does anybody knows an option to specify that the 3rd coordinate must not be
> written in the .mesh file ? I searched along the reference manual and
> messages but did not find it out.
>
> Many thanks,
>
> julien
>

Restrict your geometry to x-y plane and ignore 3rd coordinate or edit
it out with simple sed script.