OrientedBoxMarker

Marks inside and outside a box that can have arbitrary orientation and center point.

Description

The OrientedBoxMarker operates the in a similar fashion as the BoxMarker; however, the box is defined given a center, width, length, and height. The box is then oriented by defining direction vectors for the width and length dimensions.

The refinement flags for elements inside and/or outside of the box are then defined.

Example Input Syntax

[Adaptivity]
  marker = obm
  [./Markers]
    [./obm]
      type = OrientedBoxMarker
      center = '-1 4 1'
      width = 5
      length = 10
      height = 4
      width_direction = '2 1 0'
      length_direction = '-1 2 2'
      inside = refine
      outside = do_nothing
    [../]
  [../]
[]
(test/tests/markers/oriented_box_marker/obm.i)

Input Parameters

  • centerThe center (many people spell this 'center') of the box.

    C++ Type:libMesh::Point

    Controllable:No

    Description:The center (many people spell this 'center') of the box.

  • heightThe height of the box

    C++ Type:double

    Controllable:No

    Description:The height of the box

  • insideHow to mark elements inside the box.

    C++ Type:MooseEnum

    Options:DONT_MARK, COARSEN, DO_NOTHING, REFINE

    Controllable:No

    Description:How to mark elements inside the box.

  • lengthThe length of the box

    C++ Type:double

    Controllable:No

    Description:The length of the box

  • length_directionThe direction along which the length is oriented (must be perpendicular to width_direction).

    C++ Type:libMesh::VectorValue<double>

    Controllable:No

    Description:The direction along which the length is oriented (must be perpendicular to width_direction).

  • outsideHow to mark elements outside the box.

    C++ Type:MooseEnum

    Options:DONT_MARK, COARSEN, DO_NOTHING, REFINE

    Controllable:No

    Description:How to mark elements outside the box.

  • widthThe width of the box

    C++ Type:double

    Controllable:No

    Description:The width of the box

  • width_directionThe direction along which the width is oriented.

    C++ Type:libMesh::VectorValue<double>

    Controllable:No

    Description:The direction along which the width is oriented.

Required Parameters

  • blockThe list of blocks (ids or names) that this object will be applied

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

    Controllable:No

    Description:The list of blocks (ids or names) that this object will be applied

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.

  • outputsVector of output names where you would like to restrict the output of variables(s) associated with this object

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

    Controllable:No

    Description:Vector of output names where you would like to restrict the output of variables(s) associated with this object

Advanced Parameters

Input Files