AdaptivityAction

Add libMesh based adaptation schemes via the Executioner/Adaptivity input syntax.

An Adaptivity object may be specified inside the [Adaptivity] block. Markers and Indicators for adaptivity are specified within nested sub-blocks.

This action adds the algebraic and geometric relationship managers, sets the parameters of the adaptivity object and initializes it.

More information about adaptivity can be found on the Adaptivity syntax page.

Input Parameters

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

    Default:__all__

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

    Unit:(no unit assumed)

    Controllable:No

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

  • coarsen_fraction0The fraction of elements or error to coarsen. Should be between 0 and 1.

    Default:0

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:No

    Description:The fraction of elements or error to coarsen. Should be between 0 and 1.

  • cycles_per_step1The number of adaptive steps to use when on each timestep during a Transient simulation.

    Default:1

    C++ Type:unsigned int

    Unit:(no unit assumed)

    Controllable:No

    Description:The number of adaptive steps to use when on each timestep during a Transient simulation.

  • disable_p_refinement_for_familiesWhat families we should disable p-refinement for.

    C++ Type:MultiMooseEnum

    Unit:(no unit assumed)

    Options:LAGRANGE, MONOMIAL, HERMITE, SCALAR, HIERARCHIC, CLOUGH, XYZ, SZABAB, BERNSTEIN, L2_LAGRANGE, L2_HIERARCHIC, NEDELEC_ONE, LAGRANGE_VEC, MONOMIAL_VEC, RAVIART_THOMAS, RATIONAL_BERNSTEIN, SIDE_HIERARCHIC, L2_HIERARCHIC_VEC, L2_LAGRANGE_VEC, L2_RAVIART_THOMAS

    Controllable:No

    Description:What families we should disable p-refinement for.

  • error_estimatorKellyErrorEstimatorThe class name of the error estimator you want to use.

    Default:KellyErrorEstimator

    C++ Type:MooseEnum

    Unit:(no unit assumed)

    Options:KellyErrorEstimator, LaplacianErrorEstimator, PatchRecoveryErrorEstimator

    Controllable:No

    Description:The class name of the error estimator you want to use.

  • inactiveIf specified blocks matching these identifiers will be skipped.

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

    Unit:(no unit assumed)

    Controllable:No

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

  • initial_adaptivity0The number of adaptivity steps to perform using the initial conditions

    Default:0

    C++ Type:unsigned int

    Unit:(no unit assumed)

    Controllable:No

    Description:The number of adaptivity steps to perform using the initial conditions

  • interval1The number of time steps betweeen each adaptivity phase

    Default:1

    C++ Type:unsigned int

    Unit:(no unit assumed)

    Controllable:No

    Description:The number of time steps betweeen each adaptivity phase

  • max_h_level0Maximum number of times a single element can be refined. If 0 then infinite.

    Default:0

    C++ Type:unsigned int

    Unit:(no unit assumed)

    Controllable:No

    Description:Maximum number of times a single element can be refined. If 0 then infinite.

  • recompute_markers_during_cyclesFalseRecompute markers during adaptivity cycles

    Default:False

    C++ Type:bool

    Unit:(no unit assumed)

    Controllable:No

    Description:Recompute markers during adaptivity cycles

  • refine_fraction0The fraction of elements or error to refine. Should be between 0 and 1.

    Default:0

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:No

    Description:The fraction of elements or error to refine. Should be between 0 and 1.

  • show_initial_progressTrueShow the progress of the initial adaptivity

    Default:True

    C++ Type:bool

    Unit:(no unit assumed)

    Controllable:No

    Description:Show the progress of the initial adaptivity

  • start_time-1.79769e+308The time that adaptivity will be active after.

    Default:-1.79769e+308

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:No

    Description:The time that adaptivity will be active after.

  • steps0The number of adaptive steps to use when doing a Steady simulation.

    Default:0

    C++ Type:unsigned int

    Unit:(no unit assumed)

    Controllable:No

    Description:The number of adaptive steps to use when doing a Steady simulation.

  • stop_time1.79769e+308The time after which adaptivity will no longer be active.

    Default:1.79769e+308

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:No

    Description:The time after which adaptivity will no longer be active.

  • switch_h_to_p_refinementFalseTrue to perform p-refinement

    Default:False

    C++ Type:bool

    Unit:(no unit assumed)

    Controllable:No

    Description:True to perform p-refinement

  • weight_namesList of names of variables that will be associated with weight_values

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

    Unit:(no unit assumed)

    Controllable:No

    Description:List of names of variables that will be associated with weight_values

  • weight_valuesList of values between 0 and 1 to weight the associated weight_names error by

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

    Unit:(no unit assumed)

    Controllable:No

    Description:List of values between 0 and 1 to weight the associated weight_names error by

Optional Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

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

    Unit:(no unit assumed)

    Controllable:No

    Description:Adds user-defined labels for accessing object parameters via control logic.

Advanced Parameters