OOF2: The Manual
Name
OOF.Mesh.New — Create a new Mesh from a Skeleton.
Synopsis
OOF.Mesh.New(name, skeleton, element_types)
Details
- Parent Menu: OOF.Mesh
-
Callback: function
newMeshin moduleooflib.engine.IO.meshmenu -
Parameters:
name- Name of the new Mesh Type: A character string containing no colons (:), or the value
automatic. skeleton- Type: The path to an existing
Skeletonobject. element_types- A list of finite element types Type: A list of element types.
Description
Create a new Mesh from a Skeleton.
The name parameter provides a name for the new
Mesh. It must be unique among all Meshes in the given Skeleton.
If it is not unique, it will be made so by appending
<x> to it, where
x is a suitable integer.
The element_types parameter specifies which types of finite
elements to use in the mesh. The list must contain the names
of elements, and contain exactly one name for each type of element
present in the Skeleton. That is, if the Skeleton contains triangular
elements, element_types must contain exactly one
of the values listed in Element3. If the
Skeleton contains both triangular and quadrilateral elements,
element_types must contain one name from Element3 and one from Element4.
It is important to choose compatible triangular and quadrilateral
Mesh elements: nodes on the edges of a finite element must match
up with nodes on its neighboring elements, so it's a mistake to mix
6-noded triangles (with three nodes on an edge) with 4-noded quads
(with only two nodes on an edge). Diagrams of the element types are
included in the documentation for Element2,
Element3, and Element4.



