Metafor

ULiege - Aerospace & Mechanical Engineering

User Tools

Site Tools


doc:user:geometry:mesh:1d

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:1d [2015/01/07 18:09] – [1D Meshers] bomandoc:user:geometry:mesh:1d [2016/03/30 15:23] (current) – external edit 127.0.0.1
Line 1: Line 1:
  
-====== 1D Meshers ======+====== 1D Meshers (Curves) ======
  
 FIXME __Mesh Elements versus Finite Elements__: these two notions are different and should not be misunderstood. A mesh is made of geometric cells, the mesh elements. A finite element is a physical entity, which is supported by a mesh element. In Metafor, this is a two-steps method: first, the mesh is created, then the finite elements are applied to the mesh (this second step is done once the integration is started and programmed in the ''InteractionSet''). FIXME __Mesh Elements versus Finite Elements__: these two notions are different and should not be misunderstood. A mesh is made of geometric cells, the mesh elements. A finite element is a physical entity, which is supported by a mesh element. In Metafor, this is a two-steps method: first, the mesh is created, then the finite elements are applied to the mesh (this second step is done once the integration is started and programmed in the ''InteractionSet'').
  
-===== Generating nodes cells =====+Automatic meshers create nodes and mesh cells from the geometry. Metafor meshers are quite basic but still useful to mesh simple geometries, to avoid using external software.
  
-==== SimpleMesher1D ====+===== Generating nodes (& cells) =====
  
-Automatic meshers create mesh cells from the geometry. Metafor meshers are quite basic but still useful to mesh simple geometries, to avoid using external software.+==== SimpleMesher1D ====
  
 {{:doc:user:ico-beginner.png?40 |Beginner}} {{:doc:user:ico-beginner.png?40 |Beginner}}
-Meshing ''Curves'' is done with the following command:+Basic meshing of ''Curves'' can be done with the following command:
  
    SimpleMesher1D(curve).execute(ne, d=1.0, gencells=False)    SimpleMesher1D(curve).execute(ne, d=1.0, gencells=False)
Line 19: Line 19:
 |''ne''       | [''int''  | number of segments | |''ne''       | [''int''  | number of segments |
 |''d''       | [''float''] | distribution (ratio between the length of the last and first segments) | |''d''       | [''float''] | distribution (ratio between the length of the last and first segments) |
-|''gencells'' | [''bool'' | generate mesh cells |+|''gencells'' {{:doc:user:ico-advanced.png?18|Advanced}} | [''bool'' | generate mesh cells (e.g. for 1D springs)  |
  
 {{:doc:user:ico-advanced.png?40 |Advanced}} {{:doc:user:ico-advanced.png?40 |Advanced}}
Line 26: Line 26:
    HighDegreeSimpleMesher1D(curveset(number), degree).execute(ne, d, cells)    HighDegreeSimpleMesher1D(curveset(number), degree).execute(ne, d, cells)
  
-Note : The ''d'' parameters is used to create segments ''d'' times smaller at the beginning of the curve than at its end. Therefore, the curve orientation matters.+Note : The ''d'' parameter is used to create segments ''d'' times smaller at the beginning of the curve than at its end. Therefore, the curve orientation matters.
  
 ==== Density mesher - DensityMesher1D ==== ==== Density mesher - DensityMesher1D ====
Line 104: Line 104:
  
 ===== Generating cells alone ===== ===== Generating cells alone =====
 +
 +Generating cells is only useful if you plan to define 1D elements (such as springs) in your model.
  
 ==== Manual definition ==== ==== Manual definition ====
doc/user/geometry/mesh/1d.txt · Last modified: 2016/03/30 15:23 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki