ElementExtremeFunctorValue

Finds either the min or max elemental value of a variable over the domain.

You can optionally provide a "proxy_functor", which will change the behavior of this postprocessor to find the element at which the proxy functor reaches the max/min value, and then return the value of the specified functor at that element.

commentnote

Unlike the ElementExtremeValue postprocessor, this postprocessor does not examine the quadrature point values, but instead passes the element argument to the functor.

Example Input File Syntax

[Postprocessors]
  [max_u]
    type = ADElementExtremeFunctorValue
    functor = 'u'
  []
  [min_w_f]
    type = ElementExtremeFunctorValue
    functor = 'w_f'
    value_type = min
  []
  [max_v_x]
    type = ADElementExtremeFunctorValue
    functor = 'v_x'
  []
  [min_v_y]
    type = ADElementExtremeFunctorValue
    functor = 'v_y'
    value_type = min
  []

  # because we set v_x and v_y equal to the x and y coordinates, these two postprocessors
  # should just return the point at which u reaches a maximum value
  [max_v_from_proxy_x]
    type = ADElementExtremeFunctorValue
    functor = v_x
    proxy_functor = u
    value_type = max
  []
  [max_v_from_proxy_y]
    type = ADElementExtremeFunctorValue
    functor = v_y
    proxy_functor = u
    value_type = max
  []

  # because we set v_x and v_y equal to the x and y coordinates, these two postprocessors
  # should just return the point at which w reaches a minimum value
  [min_v_from_proxy_x]
    type = ADElementExtremeFunctorValue
    functor = v_x
    proxy_functor = w
    value_type = min
  []
  [min_v_from_proxy_y]
    type = ADElementExtremeFunctorValue
    functor = v_y
    proxy_functor = w
    value_type = min
  []
[]
(moose/test/tests/postprocessors/element_extreme_functor_value/extreme_proxy_value.i)

Input Parameters

  • functorThe name of the functor for which to find the extrema. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

    C++ Type:MooseFunctorName

    Controllable:No

    Description:The name of the functor for which to find the extrema. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

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

  • execute_onTIMESTEP_ENDThe list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, POSTCHECK, TIMESTEP_END, TIMESTEP_BEGIN, MULTIAPP_FIXED_POINT_END, MULTIAPP_FIXED_POINT_BEGIN, FINAL, CUSTOM.

    Default:TIMESTEP_END

    C++ Type:ExecFlagEnum

    Options:NONE, INITIAL, LINEAR, NONLINEAR, POSTCHECK, TIMESTEP_END, TIMESTEP_BEGIN, MULTIAPP_FIXED_POINT_END, MULTIAPP_FIXED_POINT_BEGIN, FINAL, CUSTOM, TRANSFER

    Controllable:No

    Description:The list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, POSTCHECK, TIMESTEP_END, TIMESTEP_BEGIN, MULTIAPP_FIXED_POINT_END, MULTIAPP_FIXED_POINT_BEGIN, FINAL, CUSTOM.

  • prop_getter_suffixAn optional suffix parameter that can be appended to any attempt to retrieve/get material properties. The suffix will be prepended with a '_' character.

    C++ Type:MaterialPropertyName

    Controllable:No

    Description:An optional suffix parameter that can be appended to any attempt to retrieve/get material properties. The suffix will be prepended with a '_' character.

  • proxy_functorThe name of the functor to use to identify the location at which the functor value should be taken; if not provided, this defaults to the 'functor' parameter. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

    C++ Type:MooseFunctorName

    Controllable:No

    Description:The name of the functor to use to identify the location at which the functor value should be taken; if not provided, this defaults to the 'functor' parameter. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

  • use_interpolated_stateFalseFor the old and older state use projected material properties interpolated at the quadrature points. To set up projection use the ProjectedStatefulMaterialStorageAction.

    Default:False

    C++ Type:bool

    Controllable:No

    Description:For the old and older state use projected material properties interpolated at the quadrature points. To set up projection use the ProjectedStatefulMaterialStorageAction.

  • value_typemaxType of extreme value to return. 'max' returns the maximum value. 'min' returns the minimum value.

    Default:max

    C++ Type:MooseEnum

    Options:max, min

    Controllable:No

    Description:Type of extreme value to return. 'max' returns the maximum value. 'min' returns the minimum value.

Optional Parameters

  • allow_duplicate_execution_on_initialFalseIn the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).

    Default:False

    C++ Type:bool

    Controllable:No

    Description:In the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).

  • 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:Yes

    Description:Set the enabled status of the MooseObject.

  • execution_order_group0Execution order groups are executed in increasing order (e.g., the lowest number is executed first). Note that negative group numbers may be used to execute groups before the default (0) group. Please refer to the user object documentation for ordering of user object execution within a group.

    Default:0

    C++ Type:int

    Controllable:No

    Description:Execution order groups are executed in increasing order (e.g., the lowest number is executed first). Note that negative group numbers may be used to execute groups before the default (0) group. Please refer to the user object documentation for ordering of user object execution within a group.

  • force_postauxFalseForces the UserObject to be executed in POSTAUX

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Forces the UserObject to be executed in POSTAUX

  • force_preauxFalseForces the UserObject to be executed in PREAUX

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Forces the UserObject to be executed in PREAUX

  • force_preicFalseForces the UserObject to be executed in PREIC during initial setup

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Forces the UserObject to be executed in PREIC during initial setup

  • implicitTrueDetermines whether this object is calculated using an implicit or explicit form

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Determines whether this object is calculated using an implicit or explicit form

  • 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

  • seed0The seed for the master random number generator

    Default:0

    C++ Type:unsigned int

    Controllable:No

    Description:The seed for the master random number generator

  • use_displaced_meshFalseWhether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.

Advanced Parameters