[Gmsh] Cylinder (not periodic) meshing problem
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Mon Oct 2 15:52:03 CEST 2017
Dear Giampiero,
Indeed, there are still some issues with OpenCASCADE models when the dimensions are very large (or very small).
For the time being, rescale your model. For example, just dividing all lengths by 10 fixes the issue:
SetFactory("OpenCASCADE");
Mesh.CharacteristicLengthMin = 20;
Mesh.CharacteristicLengthMax = 20;
//Definisco il cilindro com e coppia di superfici no periodiche (altrimenti non posso usare i Boolean)
Circle(1) = {0,0,0, 905, 0, Pi};
Extrude{0,0,611}{Line{1};}
You can still save the mesh with another scaling with the Mesh.ScalingFactor (e.g. "Mesh.ScalingFactor=10;") option.
Christophe
> On 1 Oct 2017, at 19:28, ing. Nobile - OAC Ingegneria <gnobile at oacingegneria.com> wrote:
>
> Dear all,
>
> I have problem meshing an half cylinder.
>
> From a first look the mesh seems very good
>
> <image.png>
>
>
> But along the upper/lower border there are very deformed and overlapped mesh surfaces.
>
> <image.png>
>
> For example elements 7730 and 7728 in the picture (overlapped, made with the same nodes, and very deformed)
>
>
> <image.png>
>
>
> Am I missing something before the 2D meshing process?
>
> I attached the script with the geometry.
>
> Thanks very much.
>
>
> Giampiero
>
>
> Ing. Giampiero Nobile, PhD | OAC Ingegneria
>
> Mobile: +39 3494632155
> Office: +39 0108698603
>
> www.oacingegneria.com
>
> <24795144.jpg>
>
> <half_cylinder.geo>_______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
Free software: http://gmsh.info | http://getdp.info | http://onelab.info
More information about the gmsh
mailing list