OOF2: The Manual

Name

OOF.Skeleton.Simple — Create a new Skeleton with one quadrilateral or two triangular elements per pixel of the Microstructure.

Synopsis

OOF.Skeleton.Simple(name, microstructure, skeleton_geometry)

Details

  • Parent Menu: OOF.Skeleton
  • Callback: function _simple_skeleton_from_ms in module ooflib.engine.IO.skeletonmenu
  • Parameters:

    name
    Name of the simple skeleton. Type: A character string containing no colons (:), or the value automatic.
    microstructure
    Type: The path to an existing Microstructure object.
    skeleton_geometry
    Geometry of elements, quadrilateral or triangle. Type: An object of the SkeletonGeometry class.

Description

Create a Skeleton by converting the pixels of the Microstructure directly into elements. If skeleton_geometry is QuadSkeleton, then each pixel leads to one quadrilateral element. If skeleton_geometry is TriSkeleton, each pixel will be split into two triangular elements, with the direction of the split determined by the TriSkeleton arrangement parameter.

[Caution] Caution

This is almost always not the best way to create a Skeleton. It creates too many Elements, forcing the finite element solvers to do unnecessary work. It also turns smooth boundaries into (probably unphysical) jagged boundaries. See the discussion of over-refinement on the Refine page.

Instead of using Simple, consider creating a coarser Skeleton with OOF.Skeleton.New and modifying it to obtain higher resolution only where necessary.

See Also