www.mooseframework.org
Functions
DiscreteNucleationTimeStep.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PhaseFieldApp", DiscreteNucleationTimeStep)
 
template<>
InputParameters validParams< DiscreteNucleationTimeStep > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PhaseFieldApp"  ,
DiscreteNucleationTimeStep   
)

◆ validParams< DiscreteNucleationTimeStep >()

template<>
InputParameters validParams< DiscreteNucleationTimeStep > ( )

Definition at line 18 of file DiscreteNucleationTimeStep.C.

19 {
20  InputParameters params = validParams<GeneralPostprocessor>();
21  params.addClassDescription(
22  "Return a time step limit for nucleation event to be used by IterationAdaptiveDT");
23  params.addRequiredParam<Real>("dt_max",
24  "Time step to cut back to at the start of a nucleation event");
25  params.addRangeCheckedParam<Real>(
26  "p2nucleus",
27  0.01,
28  "p2nucleus > 0 & p2nucleus < 1",
29  "Maximum probability for more than one nucleus to appear during a time "
30  "step. This will limit the time step based on the total nucleation rate for "
31  "the domain to make sure the probability for two or more nuclei to appear "
32  "is always below the chosen number.");
33  params.addRequiredParam<UserObjectName>("inserter", "DiscreteNucleationInserter user object");
34  return params;
35 }