49 const std::string class_name =
"FEProblem";
52 params.
set<
bool>(
"use_nonlinear") =
true;
53 params.
set<
bool>(
"solve") = getParam<bool>(
"include_moose_solve");
55 _problem->setKernelCoverageCheck(getParam<bool>(
"include_moose_solve")
61 const std::string class_name =
"GeochemistrySpatialReactor";
67 params.
set<std::vector<SubdomainName>>(
"block") =
68 getParam<std::vector<SubdomainName>>(
"block");
70 params.
set<std::vector<BoundaryName>>(
"boundary") =
71 getParam<std::vector<BoundaryName>>(
"boundary");
75 params.
set<std::vector<std::string>>(
"swap_out_of_basis") =
76 getParam<std::vector<std::string>>(
"swap_out_of_basis");
78 params.
set<std::vector<std::string>>(
"swap_into_basis") =
79 getParam<std::vector<std::string>>(
"swap_into_basis");
81 getParam<MultiMooseEnum>(
"constraint_meaning");
82 params.
set<std::vector<std::string>>(
"constraint_species") =
83 getParam<std::vector<std::string>>(
"constraint_species");
84 params.
set<std::vector<Real>>(
"constraint_value") =
85 getParam<std::vector<Real>>(
"constraint_value");
86 params.
set<
MultiMooseEnum>(
"constraint_unit") = getParam<MultiMooseEnum>(
"constraint_unit");
87 params.
set<
Real>(
"max_ionic_strength") = getParam<Real>(
"max_ionic_strength");
88 params.
set<
unsigned>(
"extra_iterations_to_make_consistent") =
89 getParam<unsigned>(
"extra_iterations_to_make_consistent");
90 params.
set<std::string>(
"charge_balance_species") =
91 getParam<std::string>(
"charge_balance_species");
93 params.
set<std::vector<std::string>>(
"prevent_precipitation") =
94 getParam<std::vector<std::string>>(
"prevent_precipitation");
95 params.
set<
Real>(
"abs_tol") = getParam<Real>(
"abs_tol");
96 params.
set<
Real>(
"rel_tol") = getParam<Real>(
"rel_tol");
97 params.
set<
Real>(
"min_initial_molality") = getParam<Real>(
"min_initial_molality");
98 params.
set<
unsigned>(
"max_iter") = getParam<unsigned>(
"max_iter");
99 params.
set<
Real>(
"max_initial_residual") = getParam<Real>(
"max_initial_residual");
100 params.
set<
Real>(
"swap_threshold") = getParam<Real>(
"swap_threshold");
101 params.
set<
unsigned>(
"max_swaps_allowed") = getParam<unsigned>(
"max_swaps_allowed");
102 params.
set<
unsigned>(
"ramp_max_ionic_strength_initial") =
103 getParam<unsigned>(
"ramp_max_ionic_strength_initial");
104 params.
set<
bool>(
"ionic_str_using_basis_only") = getParam<bool>(
"ionic_str_using_basis_only");
105 params.
set<
bool>(
"stoichiometric_ionic_str_using_Cl_only") =
106 getParam<bool>(
"stoichiometric_ionic_str_using_Cl_only");
109 params.
set<UserObjectName>(
"model_definition") = getParam<UserObjectName>(
"model_definition");
110 params.
set<
Real>(
"stoichiometry_tolerance") = getParam<Real>(
"stoichiometry_tolerance");
113 params.
set<
unsigned>(
"ramp_max_ionic_strength_subsequent") =
114 getParam<unsigned>(
"ramp_max_ionic_strength_subsequent");
115 params.
set<
Real>(
"initial_temperature") = getParam<Real>(
"initial_temperature");
117 params.
set<
Real>(
"close_system_at_time") = getParam<Real>(
"close_system_at_time");
119 params.
set<std::vector<std::string>>(
"remove_fixed_activity_name") =
120 getParam<std::vector<std::string>>(
"remove_fixed_activity_name");
122 params.
set<std::vector<Real>>(
"remove_fixed_activity_time") =
123 getParam<std::vector<Real>>(
"remove_fixed_activity_time");
125 params.
set<std::vector<std::string>>(
"source_species_names") =
126 getParam<std::vector<std::string>>(
"source_species_names");
130 params.
set<std::vector<std::string>>(
"controlled_activity_name") =
131 getParam<std::vector<std::string>>(
"controlled_activity_name");
134 params.
set<
bool>(
"evaluate_kinetic_rates_always") =
135 getParam<bool>(
"evaluate_kinetic_rates_always");
137 params.
set<std::vector<std::string>>(
"kinetic_species_name") =
138 getParam<std::vector<std::string>>(
"kinetic_species_name");
140 params.
set<std::vector<Real>>(
"kinetic_species_initial_value") =
141 getParam<std::vector<Real>>(
"kinetic_species_initial_value");
144 getParam<MultiMooseEnum>(
"kinetic_species_unit");
145 params.
set<
bool>(
"adaptive_timestepping") = getParam<bool>(
"adaptive_timestepping");
146 params.
set<
Real>(
"dt_min") = getParam<Real>(
"dt_min");
147 params.
set<
Real>(
"dt_dec") = getParam<Real>(
"dt_dec");
148 params.
set<
Real>(
"dt_inc") = getParam<Real>(
"dt_inc");
151 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