model.frame()
Create and define properties for different types of frames: spatial frames, material frames, mesh frames, and geometry frames.
Syntax
model.frame().create(<tag>,<gtag>);
model.frame(<tag>).coord(<coordlist>);
model.frame(<tag>).coord(<pos>,<coord>);
model.frame(<tag>).meshFrame();
model.frame(<tag>).materialFrame();
model.frame(<tag>).geometryFrame();
model.frame(<tag>).spatialFrame();
model.frame(<tag>).sshape.create(<stag>,type);
model.frame(<tag>).sshape(<stag>).type(type);
model.frame(<tag>).sshape(<stag>).sorder(order);
model.frame(<tag>).sshape(<stag>).coorddof(<dofs>);
model.frame(<tag>).sshape(<stag>).coorddof(<pos>,<dof>);
model.frame(<tag>).sshape(<stag>).refframe(<ftag>);
model.frame(<tag>).sshape(<stag>).coordexpr(<exprs>);
model.frame(<tag>).sshape(<stag>).coordexpr(<pos>,<expr>);
 
model.frame(<tag>).coord();
model.frame(<tag>).identifier();
model.frame(<tag>).varNameSuffix();
model.frame(<tag>).geom();
model.frame(<tag>).isMeshFrame();
model.frame(<tag>).isGeometryFrame();
model.frame(<tag>).isMaterialFrame();
model.frame(<tag>).isSpatialFrame();
model.frame(<tag>).sshape(<stag>).type();
model.frame(<tag>).sshape(<stag>).sorder();
model.frame(<tag>).sshape(<stag>).coorddof();
model.frame(<tag>).sshape(<stag>).refframe();
model.frame(<tag>).sshape(<stag>).coordexpr();
Description
model.frame().create(<tag>,<gtag>) creates a new frame and assigns it to geometry <gtag>.
model.frame(<tag>).coord(<coordlist>) defines <coordlist> as a list of independent variables. (Formerly sdim.)
model.frame(<tag>).coord(<pos>,<coord>) edits the coordinate at position <pos> in the coordinate list.
model.frame(<tag>).meshFrame() sets this frame to be the mesh frame. Each geometry requires exactly one mesh frame. The first one added becomes the mesh frame. When assigning one frame to be the mesh frame, this flag is cleared in the previous frame being the mesh frame.
model.frame(<tag>).geometryFrame() sets this frame to be the geometry frame. Each geometry requires exactly one geometry frame. The first one added becomes the geometry frame. When assigning one frame to be the geometry frame, this flag is cleared in the previous frame being the geometry frame.
model.frame(<tag>).materialFrame() sets this frame to be the material frame. Each geometry requires exactly one material frame. The first one added becomes the material frame. When assigning one frame to be the material frame, this flag is cleared in the previous frame being the material frame.
model.frame(<tag>).spatialFrame() sets this frame to be the spatial frame. Each geometry requires exactly one spatial frame. The first one added becomes the spatial frame. When assigning one frame to be the spatial frame, this flag is cleared in the previous frame being the spatial frame.
model.frame(<tag>).sshape().create(<stag>,type) creates a frame feature of the given type. Possible types are fixed (default), moving_abs, moving_rel, and moving_expr.
model.frame(<tag>).sshape(<stag>).type(type) sets the type of the frame feature.
model.frame(<tag>).sshape(<stag>).sorder(order) sets the geometry shape order for <stag> to order.
model.frame(<tag>).sshape(<stag>).coorddof(<dofs>) sets the spatial coordinates for <stag> when the moving_rel type is used.
model.frame(<tag>).sshape(<stag>).coorddof(<pos>,<dof>) edits the coordinate name at position <pos> in the degree of freedom list.
model.frame(<tag>).sshape(<stag>).refframe(<ftag>) sets the reference frame for <stag> when the moving_rel type is used.
model.frame(<tag>).sshape(<stag>).coordexpr(<exprs>) sets the expressions for the mesh displacement for <stag>.
model.frame(<tag>).sshape(<stag>).coordexpr(<pos>,<expr>) edits the expression at position <pos> in the expression list.
model.frame(<tag>).sshape(<stag>).selection().named(<seltag>) assigns the frame feature to the named selection <seltag>.
model.frame(<tag>).sshape(<stag>).selection().set(...) defines a local selection that assigns the frame feature to geometric entities. For a complete list of methods available under selection(), see model.selection(). All types of selections are supported except the global one and selections containing interior mesh boundaries.
  model.frame(<tag>).coord() returns the coordinate names as a string array.
model.frame(<tag>).identifier() returns the frame’s identifier as a string.
model.frame(<tag>).varNameSuffix() returns the variable name suffix as a string.
model.frame(<tag>).geom() returns the geometry name as a string.
model.frame(<tag>).isMeshFrame() returns true if this frame is the mesh frame.
model.frame(<tag>).isGeometryFrame() returns true if this frame is the geometry frame.
model.frame(<tag>).isMaterialFrame() returns true if this frame is the material frame.
model.frame(<tag>).isSpatialFrame() returns true if this frame is the spatial frame.
  model.frame(<tag>).sshape(<stag>).type() returns the type as a string.
model.frame(<tag>).sshape(<stag>).sorder() returns the spatial approximation order as an integer.
model.frame(<tag>).sshape(<stag>).coorddof() returns the spatial coordinates as a string array.
model.frame(<tag>).sshape(<stag>).refframe() returns the reference frame as a string.
model.frame(<tag>).sshape(<stag>).coordexpr() returns the spatial coordinate expressions as a string array.
model.frame(<tag>).sshape(<stag>).selection().named() returns the named selection tag.
model.frame(<tag>).sshape(<stag>).selection().getType() returns domain information. For available methods, see model.selection().
See Also
model.shape()