SetupQuadratureAction

Sets the quadrature type for the simulation.

A Quadrature is specified as an object inside the [Quadrature] block with the [Executioner] block as shown below.

[Executioner<<<{"href": "../../syntax/Executioner/index.html"}>>>]
  type = Steady
  [Quadrature<<<{"href": "../../syntax/Executioner/Quadrature/index.html"}>>>]
    custom_blocks<<<{"description": "list of blocks to specify custom quadrature order"}>>> = '1 2'
    custom_orders<<<{"description": "list of quadrature orders for the blocks specified in `custom_blocks`"}>>> = 'first second'
  []
[]
(test/tests/quadrature/order/block-order.i)

This action adds the default quadrature rule to the Problem then adds custom requested quadratures in the specified blocks.

Per-block quadrature types

In addition to specifying custom quadrature orders per block via "custom_orders", it is also possible to specify a custom quadrature type per block using the "custom_types" parameter. The "custom_types" list must have the same number of entries as "custom_blocks". If "custom_types" is omitted, the global "type" is used for all custom blocks, preserving existing behaviour.

The following example specifies both a custom order and a custom quadrature type for two subdomains:


[Executioner]
  [Quadrature]
    type = GAUSS
    order = THIRD
    custom_blocks    = '2 3'
    custom_orders    = 'THIRD SECOND'
    custom_types     = 'GAUSS_LOBATTO SIMPSON'
  []
[]

More information about quadratures may be found on the Quadrature syntax documentation.

Input Parameters

  • active__all__ If specified only the blocks named will be visited and made active

    Default:__all__

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

    Controllable:No

    Description:If specified only the blocks named will be visited and made active

  • allow_negative_qweightsTrueWhether or not allow negative quadrature weights

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Whether or not allow negative quadrature weights

  • custom_blockslist of blocks to specify custom quadrature order

    C++ Type:std::vector<unsigned short>

    Controllable:No

    Description:list of blocks to specify custom quadrature order

  • custom_orderslist of quadrature orders for the blocks specified in `custom_blocks`

    C++ Type:MultiMooseEnum

    Options:CONSTANT, FIRST, SECOND, THIRD, FOURTH, FIFTH, SIXTH, SEVENTH, EIGHTH, NINTH, TENTH, ELEVENTH, TWELFTH, THIRTEENTH, FOURTEENTH, FIFTEENTH, SIXTEENTH, SEVENTEENTH, EIGHTTEENTH, NINTEENTH, TWENTIETH

    Controllable:No

    Description:list of quadrature orders for the blocks specified in `custom_blocks`

  • custom_typeslist of quadrature types for the blocks specified in `custom_blocks` (must match length of custom_blocks; omit to use global type for all custom blocks)

    C++ Type:MultiMooseEnum

    Options:CLOUGH, CONICAL, GAUSS, GRID, MONOMIAL, SIMPSON, TRAP, GAUSS_LOBATTO

    Controllable:No

    Description:list of quadrature types for the blocks specified in `custom_blocks` (must match length of custom_blocks; omit to use global type for all custom blocks)

  • element_orderAUTOOrder of the quadrature for elements

    Default:AUTO

    C++ Type:MooseEnum

    Options:AUTO, CONSTANT, FIRST, SECOND, THIRD, FOURTH, FIFTH, SIXTH, SEVENTH, EIGHTH, NINTH, TENTH, ELEVENTH, TWELFTH, THIRTEENTH, FOURTEENTH, FIFTEENTH, SIXTEENTH, SEVENTEENTH, EIGHTTEENTH, NINTEENTH, TWENTIETH

    Controllable:No

    Description:Order of the quadrature for elements

  • inactiveIf specified blocks matching these identifiers will be skipped.

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

    Controllable:No

    Description:If specified blocks matching these identifiers will be skipped.

  • orderAUTOOrder of the quadrature

    Default:AUTO

    C++ Type:MooseEnum

    Options:AUTO, CONSTANT, FIRST, SECOND, THIRD, FOURTH, FIFTH, SIXTH, SEVENTH, EIGHTH, NINTH, TENTH, ELEVENTH, TWELFTH, THIRTEENTH, FOURTEENTH, FIFTEENTH, SIXTEENTH, SEVENTEENTH, EIGHTTEENTH, NINTEENTH, TWENTIETH

    Controllable:No

    Description:Order of the quadrature

  • side_orderAUTOOrder of the quadrature for sides

    Default:AUTO

    C++ Type:MooseEnum

    Options:AUTO, CONSTANT, FIRST, SECOND, THIRD, FOURTH, FIFTH, SIXTH, SEVENTH, EIGHTH, NINTH, TENTH, ELEVENTH, TWELFTH, THIRTEENTH, FOURTEENTH, FIFTEENTH, SIXTEENTH, SEVENTEENTH, EIGHTTEENTH, NINTEENTH, TWENTIETH

    Controllable:No

    Description:Order of the quadrature for sides

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.

Advanced Parameters