Geometry definition

Creation of an analysis metafor and access to the domain:

metafor = Metafor()
domain = metafor.getDomain()

Configuration of geometry:

geometry = domain.getGeometry()

geometry.setDim3D()             # 3D modelling
geometry.setDimPlaneStrain(t)   # 2D modelling in plane strain with thickness = t
geometry.setDimAxisymmetric()   # 2D axisymmetric modelling with thickness = 1 radian