- markerThe marker name to decide whether to carsen or refine elements.
C++ Type:MarkerName
Controllable:No
Description:The marker name to decide whether to carsen or refine elements.
- preserved_boundaryThe name of the boundary to be preserved. Will try to preserve the boundary during AMR
C++ Type:BoundaryName
Controllable:No
Description:The name of the boundary to be preserved. Will try to preserve the boundary during AMR
BoundaryPreservedMarker
Description
This is the same as ErrorFractionMarker, which marks elements for refinement or coarsening based on the fraction of the min/max error from the supplied indicator while preserving the given boundary.
The motivation is to preserve the boundary geometry during the mesh coarsening. Any elements that connect with the boundary will be maintained during coarsening. These elements might be coarsened later if the boundary moves to a different location.
Example Input File Syntax
[Adaptivity<<<{"href": "../../syntax/Adaptivity/index.html"}>>>]
steps<<<{"description": "The number of adaptive steps to use when doing a Steady simulation."}>>> = 1
marker<<<{"description": "The name of the Marker to use to actually adapt the mesh."}>>> = 'marker'
initial_marker<<<{"description": "The name of the Marker to use to adapt the mesh during initial refinement."}>>> = 'marker'
max_h_level<<<{"description": "Maximum number of times a single element can be refined. If 0 then infinite."}>>> = 1
[Indicators<<<{"href": "../../syntax/Adaptivity/Indicators/index.html"}>>>]
[indicator]
type = GradientJumpIndicator<<<{"description": "Compute the jump of the solution gradient across element boundaries.", "href": "../indicators/GradientJumpIndicator.html"}>>>
variable<<<{"description": "The name of the variable that this side indicator applies to"}>>> = 'phi'
[]
[]
[Markers<<<{"href": "../../syntax/Adaptivity/Markers/index.html"}>>>]
[efm]
type = ErrorFractionMarker<<<{"description": "Marks elements for refinement or coarsening based on the fraction of the min/max error from the supplied indicator.", "href": "ErrorFractionMarker.html"}>>>
indicator<<<{"description": "The name of the Indicator that this Marker uses."}>>> = 'indicator'
coarsen<<<{"description": "Elements within this percentage of the min error will be coarsened. Must be between 0 and 1!"}>>> = 0.2
refine<<<{"description": "Elements within this percentage of the max error will be refined. Must be between 0 and 1!"}>>> = 0.5
[]
[marker]
type = BoundaryPreservedMarker<<<{"description": "Marks elements for refinement or coarsening based on the provided marker value, while preserving the given boundary.", "href": "BoundaryPreservedMarker.html"}>>>
preserved_boundary<<<{"description": "The name of the boundary to be preserved. Will try to preserve the boundary during AMR"}>>> = 'moving_boundary'
marker<<<{"description": "The marker name to decide whether to carsen or refine elements."}>>> = 'efm'
[]
[]
[]
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
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