[Gmsh] gmsh crashing, Mesh.RandomFactor

Geordie McBain gdmcbain at freeshell.org
Wed Jan 2 04:47:25 CET 2013


2012/12/11  <dp9sp1x+dctwx4 at guerrillamail.com>:
> Hello,
> I have question and hope that you can help me.
>
> My 2D geometry crashes if I try to mesh it.
> The error message is
>
> Identical points in triangulation: increase element size or Mesh.RandomFactor
>
> Since I run gmsh from the command line, is it possible to add an
> option to the *.geo file like
> Mesh.RandomFactor = 1e-006;

In general, to add options to the command line, use the "-string"
command line option, so here the syntax would be

  gmsh -2 ... -string 'Mesh.RandomFactor = 1e-006' ...

See http://geuz.org/gmsh/doc/texinfo/gmsh.html#Command_002dline-options