54 const std::string class_name =
"GeneratedMesh";
67 const std::string class_name =
"FEProblem";
70 params.
set<
bool>(
"use_nonlinear") =
true;
71 params.
set<
bool>(
"solve") = getParam<bool>(
"include_moose_solve");
73 _problem->setKernelCoverageCheck(getParam<bool>(
"include_moose_solve")
79 const std::string class_name =
"GeochemistryTimeDependentReactor";
83 params.
set<std::vector<SubdomainName>>(
"block") =
84 getParam<std::vector<SubdomainName>>(
"block");
86 params.
set<std::vector<BoundaryName>>(
"boundary") =
87 getParam<std::vector<BoundaryName>>(
"boundary");
88 params.
set<UserObjectName>(
"model_definition") = getParam<UserObjectName>(
"model_definition");
90 params.
set<std::vector<std::string>>(
"swap_out_of_basis") =
91 getParam<std::vector<std::string>>(
"swap_out_of_basis");
93 params.
set<std::vector<std::string>>(
"swap_into_basis") =
94 getParam<std::vector<std::string>>(
"swap_into_basis");
96 getParam<MultiMooseEnum>(
"constraint_meaning");
97 params.
set<std::vector<std::string>>(
"constraint_species") =
98 getParam<std::vector<std::string>>(
"constraint_species");
99 params.
set<std::vector<Real>>(
"constraint_value") =
100 getParam<std::vector<Real>>(
"constraint_value");
101 params.
set<
MultiMooseEnum>(
"constraint_unit") = getParam<MultiMooseEnum>(
"constraint_unit");
102 params.
set<
Real>(
"max_ionic_strength") = getParam<Real>(
"max_ionic_strength");
103 params.
set<
unsigned>(
"extra_iterations_to_make_consistent") =
104 getParam<unsigned>(
"extra_iterations_to_make_consistent");
107 params.
set<
unsigned>(
"heating_increments") = getParam<unsigned>(
"heating_increments");
108 params.
set<
Real>(
"stoichiometry_tolerance") = getParam<Real>(
"stoichiometry_tolerance");
109 params.
set<std::string>(
"charge_balance_species") =
110 getParam<std::string>(
"charge_balance_species");
112 params.
set<std::vector<std::string>>(
"prevent_precipitation") =
113 getParam<std::vector<std::string>>(
"prevent_precipitation");
114 params.
set<
Real>(
"abs_tol") = getParam<Real>(
"abs_tol");
115 params.
set<
Real>(
"rel_tol") = getParam<Real>(
"rel_tol");
116 params.
set<
Real>(
"min_initial_molality") = getParam<Real>(
"min_initial_molality");
117 params.
set<
unsigned>(
"max_iter") = getParam<unsigned>(
"max_iter");
118 params.
set<
Real>(
"max_initial_residual") = getParam<Real>(
"max_initial_residual");
119 params.
set<
Real>(
"swap_threshold") = getParam<Real>(
"swap_threshold");
120 params.
set<
unsigned>(
"max_swaps_allowed") = getParam<unsigned>(
"max_swaps_allowed");
121 params.
set<
unsigned>(
"ramp_max_ionic_strength_initial") =
122 getParam<unsigned>(
"ramp_max_ionic_strength_initial");
123 params.
set<
unsigned>(
"ramp_max_ionic_strength_subsequent") =
124 getParam<unsigned>(
"ramp_max_ionic_strength_subsequent");
125 params.
set<
bool>(
"ionic_str_using_basis_only") = getParam<bool>(
"ionic_str_using_basis_only");
126 params.
set<
bool>(
"stoichiometric_ionic_str_using_Cl_only") =
127 getParam<bool>(
"stoichiometric_ionic_str_using_Cl_only");
128 params.
set<
Real>(
"close_system_at_time") = getParam<Real>(
"close_system_at_time");
130 params.
set<std::vector<std::string>>(
"remove_fixed_activity_name") =
131 getParam<std::vector<std::string>>(
"remove_fixed_activity_name");
133 params.
set<std::vector<Real>>(
"remove_fixed_activity_time") =
134 getParam<std::vector<Real>>(
"remove_fixed_activity_time");
136 params.
set<std::vector<std::string>>(
"source_species_names") =
137 getParam<std::vector<std::string>>(
"source_species_names");
141 params.
set<std::vector<std::string>>(
"controlled_activity_name") =
142 getParam<std::vector<std::string>>(
"controlled_activity_name");
146 params.
set<
Real>(
"initial_temperature") = getParam<Real>(
"initial_temperature");
147 params.
set<
bool>(
"evaluate_kinetic_rates_always") =
148 getParam<bool>(
"evaluate_kinetic_rates_always");
150 params.
set<std::vector<std::string>>(
"kinetic_species_name") =
151 getParam<std::vector<std::string>>(
"kinetic_species_name");
153 params.
set<std::vector<Real>>(
"kinetic_species_initial_value") =
154 getParam<std::vector<Real>>(
"kinetic_species_initial_value");
157 getParam<MultiMooseEnum>(
"kinetic_species_unit");
160 class_name, getParam<UserObjectName>(
"geochemistry_reactor_name"), params);
virtual void act() override
std::shared_ptr< MooseObject > create(const std::string &obj_name, const std::string &name, const InputParameters ¶meters, THREAD_ID tid=0, bool print_deprecated=true)
InputParameters getValidParams(const std::string &name) const
const ExecFlagType EXEC_TIMESTEP_END
bool isParamValid(const std::string &name) const
const T & getParam(const std::string &name) const
const std::string & _current_task
std::shared_ptr< MooseMesh > & _mesh
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::shared_ptr< FEProblemBase > & _problem
const InputParameters & parameters() const