20 std::string
const& name,
22 std::unique_ptr<ProcessLib::AbstractJacobianAssembler>&& jacobian_assembler,
23 std::vector<ProcessVariable>
const& variables,
24 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters,
25 unsigned const integration_order,
27 std::map<
int, std::shared_ptr<MaterialPropertyLib::Medium>>
const& media)
34 DBUG(
"Create TwoPhaseFlowProcess with PP model.");
44 "capillary_pressure"});
45 std::vector<std::vector<std::reference_wrapper<ProcessVariable>>>
47 process_variables.push_back(std::move(per_process_variables));
55 std::vector<double>
const b =
58 assert(!b.empty() && b.size() < 4);
59 Eigen::VectorXd specific_body_force(b.size());
63 std::copy_n(b.data(), b.size(), specific_body_force.data());
72 "temperature", parameters, 1, &mesh);
74 auto const material_ids = materialIDs(mesh);
77 INFO(
"The twophase flow is in heterogeneous porous media.");
81 INFO(
"The twophase flow is in homogeneous porous media.");
88 mass_lumping, temperature,
89 std::move(media_map)};
91 return std::make_unique<TwoPhaseFlowWithPPProcess>(
92 std::move(name), mesh, std::move(jacobian_assembler), parameters,
93 integration_order, std::move(process_variables),
94 std::move(process_data), std::move(secondary_variables));