doc:user:geometry:mesh:2d
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:user:geometry:mesh:2d [2013/07/12 15:42] – external edit 127.0.0.1 | doc:user:geometry:mesh:2d [2021/12/17 14:02] (current) – boman | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | | + | ====== 2D Meshers (Surfaces) |
| - | ====== | + | |
| - | Metafor | + | Metafor |
| {{ doc: | {{ doc: | ||
| - | ===== Mailleur transfini | + | ===== Transfinite mesher |
| - | ==== Avec autodétection | + | ==== With auto-detection |
| - | L' | + | The auto-detection is working if the '' |
| TransfiniteMesher2D(sideset(number)).execute(type, | TransfiniteMesher2D(sideset(number)).execute(type, | ||
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | |||
| {{ doc: | {{ doc: | ||
| - | Dans l' | + | In the example above, the auto-detection is doable. |
| - | L' | + | A similar function for higher degrees is: |
| HighDegreeTransfiniteMesher2D(sideset(number), | HighDegreeTransfiniteMesher2D(sideset(number), | ||
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | Dans le cas de mailles à 9 noeuds, le noeud central | + | For 9-nodes mesh elements, the central |
| - | Dans le cas de mailles à 16 noeuds, les noeuds centraux sont liés à la '' | + | For 16-nodes mesh elements, central nodes are linked to the '' |
| - | ==== Sans autodétection | + | ==== Without auto-detection |
| mat = ((mat11, mat12, ..., mat1nbmax), | mat = ((mat11, mat12, ..., mat1nbmax), | ||
| Line 42: | Line 40: | ||
| | | ||
| | | ||
| - | TransfiniteMesher2D(sideset(number)).execute2(mat, | + | TransfiniteMesher2D(sideset(number)).execute2(mat, |
| - | où '' | + | where '' |
| - | __Exemple:__ | + | __Example:__ |
| {{ doc: | {{ doc: | ||
| - | Cette face peut être maillée par la commande | + | This face can be meshed by the command: |
| | | ||
| - | L' | + | The order of the lines does not matter in 2D (in opposition to the [[doc: |
| | | ||
| - | ==== Maillage transfini sur une surface | + | ==== Transfinite mesher on a side ==== |
| - | Le maillage peut être projété sur la surface '' | + | |
| + | The mesh can be projected on the surface '' | ||
| | | ||
| - | ==== Maillage transfini | + | |
| + | ==== 2D transfinite mesher with a non-uniform mesh elements distribution | ||
| - | Il suffit de procéder de la manière suivante pour mailler une '' | + | This is done with the commands: |
| MesherTFI2D =TransfiniteMesher2D(sideset(number)) | MesherTFI2D =TransfiniteMesher2D(sideset(number)) | ||
| MesherTFI2D.setEnableDistribution() | MesherTFI2D.setEnableDistribution() | ||
| - | MesherTFI2D.execute(type, | + | MesherTFI2D.execute(type, |
| - | lorsqu' | + | when one if the edges is already discretized using a mesh elements |
| - | Remarque | + | Note : By default, the parameter of the function |
| - | ===== Mailleur frontal | + | |
| + | ===== Frontal mesher | ||
| ==== Description ==== | ==== Description ==== | ||
| - | Ce mailleur est une réimplémentation du travail de L. Stainier. Il intègre un mailleur | + | {{: |
| - | ==== Utilisation | + | ==== Use ==== |
| - | Version triangles | + | Triangles |
| sidset(no).frontalTriangle(d) | sidset(no).frontalTriangle(d) | ||
| - | Version quadrangles | + | Quadrangles |
| sidset(no).frontalQuad(d) | sidset(no).frontalQuad(d) | ||
| - | où '' | + | where '' |
| - | ===== Mailleur | + | ===== Gen4 mesher |
| ==== Description ==== | ==== Description ==== | ||
| - | Ce mailleur quadrangulaire est basé sur l' | + | This quadrangular mesher is based on [[http:// |
| - | Très robuste, il permet de mailler des domaines complexes avec un minimum d' | + | |
| + | <note important> | ||
| + | ==== Possibilities ==== | ||
| - | ==== Possibilités ==== | + | Gen4 can be used to mesh: |
| - | * Maillage d' | + | * any planar |
| - | * Maillage de type " | + | * including density |
| - | * Maillage de type " | + | * including the " |
| - | * Lissage intégré | + | * with integrated smoothing |
| - | * Correction de topologie | + | * with topological correction |
| - | ==== Utilisation | + | ==== Use ==== |
| - | + | These lines are used to mesh the face #1 of the domain, whose vertices | |
| - | Maillage de la face #1 du domaine '' | + | |
| from toolbox.meshers import Gen4Mesher | from toolbox.meshers import Gen4Mesher | ||
| Line 121: | Line 122: | ||
| mesher.execute() | mesher.execute() | ||
| - | Une densité par défaut (valable pour tous les points sauf ceux explicitement modifiés) peut être définie. Celle-ci permet de ne définir une densité différente que sur les points | + | A default density, used unless explicitly stated differently, |
| - | __ATTENTION__ | + | __CAREFUL__ |
| {{ doc: | {{ doc: | ||
| - | ===== Mailleur triangulaire | + | ===== Triangular mesher |
| + | |||
| + | ==== Description | ||
| - | ==== Déscription ==== | + | Create triangles on a planar face, as a function of |
| - | Crée des triangles sur une face plane en fonction de | + | |
| - | | + | * the maximal |
| - | * l'angle maximal de triangle | + | |
| - | ==== Utilisation | + | ==== Use ==== |
| - | Voir, par exemple, le cas '' | + | See, for example, the case '' |
| < | < | ||
doc/user/geometry/mesh/2d.1373636557.txt.gz · Last modified: (external edit)
