SphericalGridDivision

Divide the mesh along a spherical grid.

The number of mesh divisions/regions is the product of the number of bins in each coordinate, which currently only includes the radial direction.

Points that lie outside the spherical grid may be assigned to the closest grid outer bins (on the inner or outer shell) using the "assign_domain_outside_grid_to_border" parameter.

Using a Positions object as the "center_positions" parameter, multiple cylindrical grids can be created around each position computed by that object. The division index of a point is then:

with the index in the Positions object of the position nearest from the point and the number of divisions for a single spherical grid, based on the number of rings specified.

commentnote

We have not implemented binning in the azimuthal nor toroidal coordinates nor restrictions in those angular coordinates. This is a desirable extension of this object.

commentnote

For points lying within the standard tolerance of an internal boundary of the spherical grid, this object will output a warning. If you do not mind the indetermination on which bins they belong to but do mind that a warning is output, please reach out to a MOOSE (or any MOOSE app) developer.

Input Parameters

  • n_radialNumber of divisions in the sphere radial direction

    C++ Type:unsigned int

    Controllable:No

    Description:Number of divisions in the sphere radial direction

  • r_maxMaximum radial coordinate

    C++ Type:double

    Controllable:No

    Description:Maximum radial coordinate

Required Parameters

  • assign_domain_outside_grid_to_borderFalseWhether to map the domain outside the grid back to the border of the grid (radially or axially)

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to map the domain outside the grid back to the border of the grid (radially or axially)

  • centerCenter of the sphere

    C++ Type:libMesh::Point

    Controllable:No

    Description:Center of the sphere

  • center_positionsPositions of the centers of the spheres

    C++ Type:PositionsName

    Controllable:No

    Description:Positions of the centers of the spheres

  • r_min0Minimum radial coordinate (for a hollow sphere)

    Default:0

    C++ Type:double

    Controllable:No

    Description:Minimum radial coordinate (for a hollow sphere)

Optional Parameters

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

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

    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

    Controllable:No

    Description:Set the enabled status of the MooseObject.

Advanced Parameters