[Gmsh] constant mesh despite background field
cgeuzaine at ulg.ac.be
Tue Apr 5 22:54:59 CEST 2016
> On 05 Apr 2016, at 17:34, Andrea Cimatoribus <andrea.cimatoribus at epfl.ch> wrote:
> Hi everyone,
> my first post here, I hope it is not too silly a question.
> I am trying to generate a gis-based 2D mesh for some large-scale geophysical fluid dynamics model. My .geo file is attached, and has been generated by this QGIS plugin:
> The essential part is this:
> NF = newf;
> Field[NF] = Structured;
> Field[NF].TextFormat = 0;
> Field[NF].FileName = "/home/cimatori/Data/Mesh/mesh.dat";
> Background Field = NF;
> As far as I understand, this should mean that the mesh follows the scales given in the mesh.dat file. However, the mesh I get is almost entirely fixed at the smallest scale (apart from some small region close to complex geometry).
Maybe the size prescribed on the boundary is smaller? In this case set Mesh.CharacteristicLengthExtendFromBoundary = 0;
> I did check the content of this file, and it contains the numbers I expect to find (range 30-300m). The data in mesh.dat seems to be completely ignored. Could it be related to the fact that on all the boundaries the scale is expected to be the same (30m)? But how to fix it?
> Thanks for your help.
> Andrea Cimatoribus
> post-doctoral researcher
> EPFL ENAC IIE ECOL
> gmsh mailing list
> gmsh at onelab.info
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
Tetrahedron V, July 4-5 2016: http://tetrahedron.montefiore.ulg.ac.be
Free software: http://gmsh.info | http://getdp.info | http://onelab.info
More information about the gmsh