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
doc:user:geometry:mesh:3d [2015/05/22 18:51] – [Mesher by extrusion] papeleuxdoc:user:geometry:mesh:3d [2021/11/19 14:52] (current) 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  |
Line 185: Line 191:
   mesher.execute()   mesher.execute()
  
-| gobject          | Meshed 2D geometrical entity                                                              +| gobject          | Meshed 2D geometrical entity                                                            
-| group            | Group father of the 3D mesh elements                                                             +| group            | Group father of the 3D mesh elements                                                    
-| axe              | Line which defines the revolution axis                                       +| axe              | Line which defines the revolution axis                                                  
-setLength        length of the extrusion                                                                    |+setAngle         Angle of the extrusion (in degrees 0.0 < angle <= 360.0 - default = 180.0)              |
 | setNbOfLayers    | number of extruded elements                                                             | | setNbOfLayers    | number of extruded elements                                                             |
 +| setFillGroup     | fill the reference group with all nodes (base & generated)                              |
 | execute          | executes the extrusion                                                                  | | execute          | executes the extrusion                                                                  |
 +| getLastLayer     | return the group of the last layer (if not closed extrusion)                            |
  
 ==== Example ==== ==== Example ====
  
 {{:commit:2012:revolutionextusion1.png?200|}} {{:commit:2012:revolutionextrusion2.png?200|}} {{:commit:2012:revolutionextrusion3.png?200|}} {{:commit:2012:revolutionextusion1.png?200|}} {{:commit:2012:revolutionextrusion2.png?200|}} {{:commit:2012:revolutionextrusion3.png?200|}}
doc/user/geometry/mesh/3d.1432313464.txt.gz · Last modified: 2016/03/30 15:22 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki