# 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
    [../]
  [../]
[]
(../moose/test/tests/markers/oriented_box_marker/obm.i)

Input Parameters

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

    C++ Type:libMesh::Point

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

  • insideHow to mark elements inside the box.

    C++ Type:MooseEnum

    Description:How to mark elements inside the box.

  • outsideHow to mark elements outside the box.

    C++ Type:MooseEnum

    Description:How to mark elements outside the box.

  • heightThe height of the box

    C++ Type:double

    Description:The height of the box

  • widthThe width of the box

    C++ Type:double

    Description:The width of the box

  • lengthThe length of the box

    C++ Type:double

    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

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

  • width_directionThe direction along which the width is oriented.

    C++ Type:libMesh::VectorValue

    Description:The direction along which the width is oriented.

Required Parameters

  • blockThe list of block ids (SubdomainID) that this object will be applied

    C++ Type:std::vector

    Description:The list of block ids (SubdomainID) that this object will be applied

Optional Parameters

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

    C++ Type:std::vector

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

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Description:Set the enabled status of the MooseObject.

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

    C++ Type:std::vector

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

Advanced Parameters