Metafor

ULiege - Aerospace & Mechanical Engineering

User Tools

Site Tools


doc:user:geometry:mesh:3d

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
Last revisionBoth sides next revision
doc:user:geometry:mesh:3d [2015/05/22 18:51] – [Mesher by extrusion] papeleuxdoc:user:geometry:mesh:3d [2020/07/06 15:54] – [Mesher by extrusion] papeleux
Line 19: Line 19:
 | ''type''   | = ''True'' if mesh elements must be generated (''CELL_HEXA'')\\ = ''False''  if only nodes must be generated (useful to debug only)      | | ''type''   | = ''True'' if mesh elements must be generated (''CELL_HEXA'')\\ = ''False''  if only nodes must be generated (useful to debug only)      |
  
-In this case, the ''[[doc:user:geometry:user:peaux|Skin]]'' must be defined tith the orientation shown below:+In this case, the ''[[doc:user:geometry:user:peaux|Skin]]'' must be defined with the orientation shown below:
  
 {{ doc:user:mesh-3d-2.gif |Définition de la skin du domaine pour l'autodétection}} {{ doc:user:mesh-3d-2.gif |Définition de la skin du domaine pour l'autodétection}}
Line 85: Line 85:
 === Example ==== === Example ====
  
-Extrusion of a circle pierced by a square (see''apps.qs.extruMesher3d'').+Extrusion of a circle pierced by a square (see ''apps.qs.extruMesher3d'' and ''apps.qs.extruMesher3dTx'' or ''apps.qs.extruMesher3dTorsion'' ''apps.qs.extruMesher3dDist03'' for modified extrusions).
  
-{{ commit:2006:extru2_000.jpg?200 |Extrusion d'un cercle troué}}+{{commit:2006:extru2_000.jpg?200|Extrusion d'un cercle troué}} 
 +{{:doc:user:geometry:mesh:extrusionmeshertx.jpg?150|setXfct(fctX) }} 
 +{{:doc:user:geometry:mesh:extrusionmesherrot.jpg?150|setAnglefct(fctAngle)}} 
 +{{:doc:user:geometry:mesh:extrusionmesherDist.png?100|setNbOfLayers(10,0.3)}}
  
 The definition and meshing of the circle can be seen in the the file. To extrude the result (''[[doc:user:geometry:user:faces|Side]]'' #1): The definition and meshing of the circle can be seen in the the file. To extrude the result (''[[doc:user:geometry:user:faces|Side]]'' #1):
Line 94: Line 97:
   mesher.setFillGroup(True)   mesher.setFillGroup(True)
   mesher.setDirection(0.0,0.0,1.0)   mesher.setDirection(0.0,0.0,1.0)
-  mesher.setLength(8+  mesher.setLength(length
-  mesher.setNbOfLayers(10)+  mesher.setNbOfLayers(nLayers, dist = 1.0)
   mesher.setAnglefct(fctAngle)    mesher.setAnglefct(fctAngle)
   mesher.setXfct(fctX)    mesher.setXfct(fctX)
Line 107: Line 110:
 | setLength        | length of the extrusion | | setLength        | length of the extrusion |
  
-| setNbOfLayers    | number of extruded elements                                                         +| setNbOfLayers    | nLayers : number of extruded elements                                          | 
-| setAnglefct(fctAngle) | Application of a rotation of slices around vector (direction 'z' but starting from origin) |  +|                  | dist  : ratio between the length of the last and first element (default : dist = 1.0) 
-setXfct(fctAngle) | |  +| setAnglefct(fctAngle) | Application of a rotation of slices around extrusion vector (direction 'z' but starting from origin!!!) |  
-| setYfct(fctAngle) | | +fctAngle | One parameter defining rotation of slices function in degrees (t) - t=[0,1] ATTENTION : fctAngle(0= 0 | 
 +| setXfct(fctX) | Application of a modification of the generatrice direction in X Direction |  
 +| setYfct(fctY) | Application of a modification of the generatrice direction in Y Direction |  
 +| fctX/fctY | One parameter defining modification of generatrice : fct(t) - ATTENTION t=[0,Length] and fctX/fctY(0) = 0 |
 | execute          | execute the extrusion                                                               | | execute          | execute the extrusion                                                               |
 | getLastLayer(no) | returns the group grpNo (number ''no'') which contains the nodes of the last layer  | | getLastLayer(no) | returns the group grpNo (number ''no'') which contains the nodes of the last layer  |
doc/user/geometry/mesh/3d.txt · Last modified: 2021/11/19 14:52 by papeleux

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki