16 ScalarSolutionInitialCondition,
25 "The SolutionUserObject to extract data from.");
27 "from_variable",
"The name of the variable in the file that is to be extracted");
29 "Sets the initial condition from a scalar variable stored in an Exodus file, " 30 "retrieved by a SolutionUserObject");
38 _solution_object_var_name(getParam<VariableName>(
"from_variable"))
const SolutionUserObjectBase & _solution_object
SolutionUserObject containing the solution of interest.
const VariableName & _solution_object_var_name
The variable name extracted from the SolutionUserObject.
registerMooseObjectRenamed("MooseApp", ScalarSolutionInitialCondition, "06/30/2024 24:00", ScalarSolutionIC)
User object that reads an existing solution from an input file and uses it in the current simulation...
Class for reading an initial condition from a solution user object.
virtual Real value() override
The value of the variable.
InitialConditions are objects that set the initial value of variables.
static InputParameters validParams()
Real scalarValue(Real t, const std::string &var_name) const
Returns a value of a global variable.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ScalarSolutionIC(const InputParameters ¶meters)
static InputParameters validParams()
registerMooseObject("MooseApp", ScalarSolutionIC)