[Gmsh] Mesh smoothing in 2D

2018-09-25 Thread Hector Gabriel Espinoza Román
Hello: I have a simple test case where smoothing does not work as I expected, maybe there is a reason. I have two surfaces, one unstructured (surface 2) and other structured (surface 1) (transfinite using progression 2) With Mesh.Smoothing=0 all is ok (transfinite surface using progression

[Gmsh] Weird results in Transfinite Volume mesh with Transfinite AlternateLeft Surfaces

2018-08-31 Thread Hector Gabriel Espinoza Román
Hello: I am meshing a cuboid without recombination in surfaces or volumes. I use Transfinite AlternateLeft Surfaces with Transfinite Lines with odd number of nodes so I obtain a bi-symmetric surface mesh with all triangle elements without all nodes on the boundary of the surface. Then I defin

[Gmsh] Usage of Octree Field

2018-07-31 Thread Hector Gabriel Espinoza Román
Hello: I would like to use Octree field to see its performance (memory and speed) but I don't know how. The idea is to use Distance+Octree+Threshold or Octree+Distance+Threshold. Thanks in advance, Ing. Héctor Espinoza, MSc, PhD Profesor Titular Ingeniería Mecánica Universidad Tecnológi

[Gmsh] Transfinite meshing with Curve Lenght

2018-07-30 Thread Hector Gabriel Espinoza Román
Hello: I am using transfinite algorithm to mesh many surfaces of heterogeneous size. Right now, the transfinite algorithm is specified as: Transfinite Line {lineid} = n_divisions ; As lines have varied lenghts, one way to do it can be: h_mesh = 0.1; line_length = 2.0; // non-automatic n_d

[Gmsh] Usage of AnalyseCurvedMesh plugin

2018-07-28 Thread Hector Gabriel Espinoza Román
Hello: I am trying to use the AnalyseCurvedMesh plugin but I cannot set "IGE measure" option because it is a two word option (it has an space) For example, the following code gives an error when setting the "IGE measure" option Mesh 1; Plugin(AnalyseCurvedMesh).IGE measure = 0; Plugin(Anal

Re: [Gmsh] MathEval field in a circle with Open Cascade

2018-06-22 Thread Hector Gabriel Espinoza Román
reads first the .geo and then the .opt Sincerely, Héctor Espinoza De: Christophe Geuzaine Enviado: viernes, 22 de junio de 2018 1:39:06 Para: Hector Gabriel Espinoza Román Cc: gmsh@onelab.info Asunto: Re: [Gmsh] MathEval field in a circle with Open Cascade On 22

[Gmsh] MathEval field in a circle with Open Cascade

2018-06-21 Thread Hector Gabriel Espinoza Román
Hello: This simple script should draw a circle (2D surface) and when meshed it should be refined on the boundary, but I am not getting that. I have done the same without Open Cascade and it works. cx = 0.0 ; cy = 0.0 ; cz = 0.0 ; D = 1.0 ; R = D/2; SetFactory("OpenCASCADE"); Disk(1) = {cx,