SphereMeshGenerator

Generate a 3-D sphere mesh centered on the origin

Overview

The SphereMeshGenerator creates a 3-D mesh of a sphere. The mesh refinement and smoothing parameters define the mesh density. Figure 1 depicts several sphere meshes (sliced in half to illustrate the interior elements) for different selections of refinement and smoothing parameters.

Figure 1: Sphere meshes created with different choices for refinement level and smoothing operations

Input Parameters

  • nrNumber of radial elements

    C++ Type:unsigned int

    Unit:(no unit assumed)

    Controllable:No

    Description:Number of radial elements

  • radiusSphere radius

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:No

    Description:Sphere radius

Required Parameters

  • elem_typeHEX8The type of element to generate

    Default:HEX8

    C++ Type:MooseEnum

    Unit:(no unit assumed)

    Options:HEX8, HEX27

    Controllable:No

    Description:The type of element to generate

  • n_smooth0Number of smoothing operations

    Default:0

    C++ Type:unsigned int

    Unit:(no unit assumed)

    Controllable:No

    Description:Number of smoothing operations

Optional Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

    C++ Type:std::vector<std::string>

    Unit:(no unit assumed)

    Controllable:No

    Description:Adds user-defined labels for accessing object parameters via control logic.

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Unit:(no unit assumed)

    Controllable:No

    Description:Set the enabled status of the MooseObject.

  • save_with_nameKeep the mesh from this mesh generator in memory with the name specified

    C++ Type:std::string

    Unit:(no unit assumed)

    Controllable:No

    Description:Keep the mesh from this mesh generator in memory with the name specified

Advanced Parameters

  • nemesisFalseWhether or not to output the mesh file in the nemesisformat (only if output = true)

    Default:False

    C++ Type:bool

    Unit:(no unit assumed)

    Controllable:No

    Description:Whether or not to output the mesh file in the nemesisformat (only if output = true)

  • outputFalseWhether or not to output the mesh file after generating the mesh

    Default:False

    C++ Type:bool

    Unit:(no unit assumed)

    Controllable:No

    Description:Whether or not to output the mesh file after generating the mesh

  • show_infoFalseWhether or not to show mesh info after generating the mesh (bounding box, element types, sidesets, nodesets, subdomains, etc)

    Default:False

    C++ Type:bool

    Unit:(no unit assumed)

    Controllable:No

    Description:Whether or not to show mesh info after generating the mesh (bounding box, element types, sidesets, nodesets, subdomains, etc)

Debugging Parameters