Metafor

ULiege - Aerospace & Mechanical Engineering

User Tools

Site Tools


doc:user:geometry:user:preliminar

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
doc/user/geometry/user/preliminar.txt · Last modified: 2017/10/25 10:12 by boman