63 std::unique_ptr<ProcessLib::AbstractJacobianAssembler>&& jacobian_assembler,
64 std::vector<ProcessVariable>
const& variables,
65 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters,
66 unsigned const integration_order,
68 std::map<
int, std::shared_ptr<MaterialPropertyLib::Medium>>
const& media)
73 DBUG(
"Create WellboreSimulatorProcess.");
80 std::vector<std::vector<std::reference_wrapper<ProcessVariable>>>
90 "specific_enthalpy"});
92 process_variables.push_back(std::move(collected_process_variables));
95 Eigen::VectorXd specific_body_force;
96 std::vector<double>
const b =
99 assert(!b.empty() && b.size() < 4);
103 "specific body force (gravity vector) has %d components, mesh "
110 specific_body_force.resize(b.size());
111 std::copy_n(b.data(), b.size(), specific_body_force.data());
121 "wellbore_ref_pressure", parameters, 1, &mesh);
122 DBUG(
"Use '{:s}' as wellbore_ref_pressure parameter.",
123 well_ref_pressure.name);
128 "wellbore_ref_enthalpy", parameters, 1, &mesh);
129 DBUG(
"Use '{:s}' as wellbore_ref_enthalpy parameter.",
130 well_ref_enthalpy.name);
132 auto const heat_exchange_with_formation =
143 "productivity_index", parameters, 1, &mesh);
144 DBUG(
"Use '{:s}' as productivity_index parameter.",
145 productivity_index.name);
150 DBUG(
"Check the media properties of WellboreSimulator process ...");
152 DBUG(
"Media properties verified.");
156 std::move(wellbore_geometry),
159 std::move(reservoir_properties),
161 heat_exchange_with_formation,
168 return std::make_unique<WellboreSimulatorProcess>(
169 std::move(name), mesh, std::move(jacobian_assembler), parameters,
170 integration_order, std::move(process_variables),
171 std::move(process_data), std::move(secondary_variables));