Metafor

ULiege - Aerospace & Mechanical Engineering

User Tools

Site Tools


doc:user:geometry:import:importgmsh

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:import:importgmsh [2015/01/08 11:19] bomandoc:user:geometry:import:importgmsh [2016/03/30 15:23] (current) – external edit 127.0.0.1
Line 30: Line 30:
 __Example:__ Element generation: __Example:__ Element generation:
  
-If the "Physical Group" #300 is defined in gmsh as a list of finite elements, it is converted into a ''Group'' with the same number in Metafor. This ''Group'' can be obtained from the ''GroupSet'' using the ''operator()'' member function. This 'Group'' is useful to define a ''FieldApplicator'' in Metafor.+If the "Physical Group" #300 is defined in gmsh as a list of finite elements, it is converted into a ''Group'' with the same number in Metafor. This ''Group'' can be obtained from the ''GroupSet'' using the ''operator()'' member function. This ''Group'' is useful to define a ''FieldApplicator'' in Metafor.
   app1 = FieldApplicator(1)   app1 = FieldApplicator(1)
   app1.push( groupset(300) )   app1.push( groupset(300) )
Line 37: Line 37:
 __Example:__ Boundary conditions: __Example:__ Boundary conditions:
  
-Similarly, if the "Physical Group" #200 is defined in gmsh as a list of nodes, it is converted into a ''Group'' with the same number in Metafor. This ''Group'' can be obtained from the ''GroupSet'' using the ''operator()'' member function. This 'Group'' is useful to prescribe boundary conditions in Metafor. For example, if we want to prescribe a 0-displacement to all the nodes of this group along the ''x'' direction:+Similarly, if the "Physical Group" #200 is defined in gmsh as a list of nodes, it is converted into a ''Group'' with the same number in Metafor. This ''Group'' can be obtained from the ''GroupSet'' using the ''operator()'' member function. This ''Group'' is useful to prescribe boundary conditions in Metafor. For example, if we want to prescribe a 0-displacement to all the nodes of this group along the ''x'' direction:
   loadingset.define(groupset(200), Field1D(TX,RE))   loadingset.define(groupset(200), Field1D(TX,RE))
  
 \\ \\
  
-More Examples can be found in ''apps.externalMeshers.gmshtestXX''+More Examples can be found in ''apps.externalMeshers''
  
  
doc/user/geometry/import/importgmsh.1420712350.txt.gz · Last modified: 2016/03/30 15:22 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki