- directionThe direction of the layers.
C++ Type:MooseEnum
Description:The direction of the layers.
- variableThe name of the variable that this object operates on
C++ Type:std::vector<VariableName>
Description:The name of the variable that this object operates on
LayeredAverage
The LayeredAverage has not been documented. The content listed below should be used as a starting point for documenting the class, which includes the typical automatic documentation associated with a MooseObject; however, what is contained is ultimately determined by what is necessary to make the documentation clear for users.
# LayeredAverage
!syntax description /UserObjects/LayeredAverage
## Overview
!! Replace these lines with information regarding the LayeredAverage object.
## Example Input File Syntax
!! Describe and include an example of how to use the LayeredAverage object.
!syntax parameters /UserObjects/LayeredAverage
!syntax inputs /UserObjects/LayeredAverage
!syntax children /UserObjects/LayeredAverage
computes a volume integral of a variable.
Input Parameters
- average_radius1When using 'average' sampling this is how the number of values both above and below the layer that will be averaged.
Default:1
C++ Type:unsigned int
Description:When using 'average' sampling this is how the number of values both above and below the layer that will be averaged.
- blockThe list of block ids (SubdomainID) that this object will be applied
C++ Type:std::vector<SubdomainName>
Description:The list of block ids (SubdomainID) that this object will be applied
- boundsThe 'bounding' positions of the layers i.e.: '0, 1.2, 3.7, 4.2' will mean 3 layers between those positions.
C++ Type:std::vector<double>
Description:The 'bounding' positions of the layers i.e.: '0, 1.2, 3.7, 4.2' will mean 3 layers between those positions.
- cumulativeFalseWhen true the value in each layer is the sum of the values up to and including that layer
Default:False
C++ Type:bool
Description:When true the value in each layer is the sum of the values up to and including that layer
- execute_onTIMESTEP_ENDThe list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM.
Default:TIMESTEP_END
C++ Type:ExecFlagEnum
Description:The list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM.
- layer_bounding_blockList of block ids (SubdomainID) that are used to determine the upper and lower geometric bounds for all layers. If this is not specified, the ids specified in 'block' are used for this purpose.
C++ Type:std::vector<SubdomainName>
Description:List of block ids (SubdomainID) that are used to determine the upper and lower geometric bounds for all layers. If this is not specified, the ids specified in 'block' are used for this purpose.
- num_layersThe number of layers.
C++ Type:unsigned int
Description:The number of layers.
- 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
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.
- sample_typedirectHow to sample the layers. 'direct' means get the value of the layer the point falls in directly (or average if that layer has no value). 'interpolate' does a linear interpolation between the two closest layers. 'average' averages the two closest layers.
Default:direct
C++ Type:MooseEnum
Description:How to sample the layers. 'direct' means get the value of the layer the point falls in directly (or average if that layer has no value). 'interpolate' does a linear interpolation between the two closest layers. 'average' averages the two closest layers.
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
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>
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.
- force_postauxFalseForces the UserObject to be executed in POSTAUX
Default:False
C++ Type:bool
Description:Forces the UserObject to be executed in POSTAUX
- force_preauxFalseForces the UserObject to be executed in PREAUX
Default:False
C++ Type:bool
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
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
Description:Determines whether this object is calculated using an implicit or explicit form
- seed0The seed for the master random number generator
Default:0
C++ Type:unsigned int
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
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
Input Files
- (test/tests/userobjects/layered_average/layered_average_bounding_block.i)
- (modules/navier_stokes/test/tests/finite_volume/cns/stagnation_inlet/supersonic_nozzle_hllc.i)
- (test/tests/transfers/multiapp_userobject_transfer/restricted_node_sub.i)
- (test/tests/userobjects/layered_average/layered_average_1d_displaced.i)
- (test/tests/transfers/multiapp_userobject_transfer/3d_1d_master.i)
- (test/tests/transfers/multiapp_userobject_transfer/restricted_elem_sub.i)
- (test/tests/transfers/multiapp_userobject_transfer/3d_1d_sub.i)
- (test/tests/transfers/multiapp_userobject_transfer/tosub_master.i)
- (test/tests/transfers/transfer_interpolation/master.i)
- (test/tests/userobjects/layered_average/layered_average_interpolate.i)
- (test/tests/userobjects/layered_average/layered_average.i)
- (test/tests/userobjects/layered_average/layered_average_block.i)
- (test/tests/userobjects/layered_average/layered_average_bounds.i)
- (test/tests/userobjects/layered_average/layered_average_bounds_error.i)
- (test/tests/transfers/multiapp_high_order_variable_transfer/master_L2_Lagrange_userobject.i)
- (modules/navier_stokes/test/tests/finite_volume/cns/pressure_outlet/subsonic_nozzle_fixed_inflow_hllc.i)
- (test/tests/transfers/multiapp_userobject_transfer/two_pipe_sub.i)
- (test/tests/transfers/multiapp_conservative_transfer/sub_userobject.i)
- (test/tests/transfers/multiapp_userobject_transfer/tosub_displaced_master.i)
- (test/tests/userobjects/layered_average/block_restricted.i)
- (test/tests/transfers/multiapp_userobject_transfer/sub.i)