<div><br></div><blockquote class="protonmail_quote" type="cite"><div>With this target in mind we are looking for a method to refine the mesh<br></div><div>according to orography"s slope.<br></div><div><br></div><div>We saw that for such problems usually the function MathEval is used, but<br></div><div>in our case no analytic expression is available for the orography<br></div><div>description.<br></div><div><br></div><div>Is it possible in gmsh to define the local density of the mesh as a<br></div><div>pointwise defined function? Or could you please suggest us some<br></div><div>alternative solution for refining the mesh using only pointwise<br></div><div>information about mesh size.<br></div></blockquote><div><br></div><div>Does tutorial 7 do what you want?<br></div><div><br></div><div><a href="http://gmsh.info/doc/texinfo/gmsh.html#t7_002egeo">http://gmsh.info/doc/texinfo/gmsh.html#t7_002egeo</a><br></div><div><br></div>