- indicatorThe name of the Indicator that this Marker uses.
C++ Type:IndicatorName
Controllable:No
Description:The name of the Indicator that this Marker uses.
- rel_error_refineThe relative error refinement threshold.
C++ Type:double
Unit:(no unit assumed)
Controllable:No
Description:The relative error refinement threshold.
- stat_error_indicatorThe name of the statistical relative error Indicator that this Marker uses.
C++ Type:IndicatorName
Controllable:No
Description:The name of the statistical relative error Indicator that this Marker uses.
ErrorFractionLookAheadMarker
Description
ErrorFractionLookAheadMarker
extends the ErrorFractionMarker from MOOSE to include the statistical relative error from fields in stochastic solvers (i.e. OpenMC). If the spatial error from indicator
is within the error fraction provided in refine
and the post-refinement statistical relative error is below the threshold provided in rel_error_refine
, the element is marked for refinement. If the spatial error is within the error fraction coarsen
or the statistical relative error is above the threshold provided in rel_error_refine
, the element is marked for coarsening. The post-refinement error is estimated as: ; where is the post-refinement statistical relative error, is the number of child elements generated when refining, and is the current statistical relative error. The statistical error is taken from stat_error_indicator
.
Example Input File Syntax
[Adaptivity<<<{"href": "../../syntax/Adaptivity/index.html"}>>>]
[Markers<<<{"href": "../../syntax/Adaptivity/Markers/index.html"}>>>]
[lh]
type = ErrorFractionLookAheadMarker<<<{"description": "Marks elements for refinement or coarsening based on the fraction of the min/max error from the supplied indicator and the relative error of a tally value.", "href": "ErrorFractionLookAheadMarker.html"}>>>
# Statistical error
rel_error_refine<<<{"description": "The relative error refinement threshold."}>>> = 0.2
stat_error_indicator<<<{"description": "The name of the statistical relative error Indicator that this Marker uses."}>>> = 'stat_err'
# Spatial error
indicator<<<{"description": "The name of the Indicator that this Marker uses."}>>> = 'od'
refine<<<{"description": "Elements within this percentage of the max error will be refined. Must be between 0 and 1!"}>>> = 0.3
coarsen<<<{"description": "Elements within this percentage of the min error will be coarsened. Must be between 0 and 1!"}>>> = 0.0
[]
[]
[]
(cardinal/test/tests/neutronics/markers/look_ahead/openmc.i)Input 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
- clear_extremesTrueWhether or not to clear the extremes during each error calculation. Changing this to `false` will result in the global extremes ever encountered during the run to be used as the min and max error.
Default:True
C++ Type:bool
Controllable:No
Description:Whether or not to clear the extremes during each error calculation. Changing this to `false` will result in the global extremes ever encountered during the run to be used as the min and max error.
- coarsen0Elements within this percentage of the min error will be coarsened. Must be between 0 and 1!
Default:0
C++ Type:double
Unit:(no unit assumed)
Controllable:No
Description:Elements within this percentage of the min error will be coarsened. Must be between 0 and 1!
- refine0Elements within this percentage of the max error will be refined. Must be between 0 and 1!
Default:0
C++ Type:double
Unit:(no unit assumed)
Controllable:No
Description:Elements within this percentage of the max error will be refined. Must be between 0 and 1!
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