Metafor

ULiege - Aerospace & Mechanical Engineering

User Tools

Site Tools


doc:user:geometry:mesh:2d

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:user:geometry:mesh:2d [2015/01/08 15:29] bomandoc:user:geometry:mesh:2d [2021/12/17 14:02] (current) boman
Line 40: Line 40:
            (mat31, mat32, ..., mat3nbmax),             (mat31, mat32, ..., mat3nbmax), 
            (mat41, mat42, ..., mat4nbmax)   )            (mat41, mat42, ..., mat4nbmax)   )
-    TransfiniteMesher2D(sideset(number)).execute2(mat, type)+    TransfiniteMesher2D(sideset(number)).execute2(mat, type, tri)
  
 where ''mat'' is a python [[doc:user:general:glossaire#tuple]] with 4 components. Each component is a tuple which contains the number of the curves which constitute each edge. Each of these four edges can be made of a different number of curves. where ''mat'' is a python [[doc:user:general:glossaire#tuple]] with 4 components. Each component is a tuple which contains the number of the curves which constitute each edge. Each of these four edges can be made of a different number of curves.
Line 100: Line 100:
 This quadrangular mesher is based on [[http://www-lacan.upc.es/sarrate/|Sarrate]] algorithm. This method consists in diving the domain in a recursive way until only one quadrangle remains. It is very robust, and enables efficient meshing of complex domains. This quadrangular mesher is based on [[http://www-lacan.upc.es/sarrate/|Sarrate]] algorithm. This method consists in diving the domain in a recursive way until only one quadrangle remains. It is very robust, and enables efficient meshing of complex domains.
  
 +<note important> By design, running twice Gen4 with the exact same parameters does not necessary lead to the same mesh. This can lead to some issues when running a simulation on a computer and trying to load results on another. To avoid this, the mesh generated is saved in a ".gen4" file, which will be read when loading a fac instead of creating the mesh anew. This ".gen4" file is not automatically deleted when cleaning the worskpace, so if you modify your mesh parameters, you must manually delete this file. </note>
 ==== Possibilities ==== ==== Possibilities ====
  
Line 138: Line 139:
 ==== Use ==== ==== Use ====
  
-See, for example, the case ''apps.qs.triangleMesher''. After creatin a face ''Side(1)'', it was meshed with a maximal area of 0.05 as criterion.+See, for example, the case ''apps.qs.triangleMesher''. After creating a face ''Side(1)'', it was meshed with a maximal area of 0.05 as criterion.
  
 <code> <code>
doc/user/geometry/mesh/2d.1420727370.txt.gz · Last modified: 2016/03/30 15:22 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki