www.mooseframework.org
Classes | Functions
DiscreteNucleationTimeStep.h File Reference

Go to the source code of this file.

Classes

class  DiscreteNucleationTimeStep
 Returns a user defined timestep limit for the simulation step right after the introduction of a new nucleus and between nucleation events to control the probability of two or more nuclei appearing in one timestep. More...
 

Functions

template<>
InputParameters validParams< DiscreteNucleationTimeStep > ()
 

Function Documentation

◆ 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 }