25 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters,
30 DBUG(
"Create Lubby2 material");
33 auto& kelvin_shear_modulus = ParameterLib::findParameter<double>(
35 config,
"kelvin_shear_modulus", parameters, 1);
37 DBUG(
"Use '{:s}' as kelvin shear modulus parameter.",
38 kelvin_shear_modulus.name);
41 auto& kelvin_viscosity = ParameterLib::findParameter<double>(
43 config,
"kelvin_viscosity", parameters, 1);
45 DBUG(
"Use '{:s}' as kelvin viscosity parameter.", kelvin_viscosity.name);
48 auto& maxwell_shear_modulus = ParameterLib::findParameter<double>(
50 config,
"maxwell_shear_modulus", parameters, 1);
52 DBUG(
"Use '{:s}' as maxwell shear modulus parameter.",
53 maxwell_shear_modulus.name);
56 auto& maxwell_bulk_modulus = ParameterLib::findParameter<double>(
58 config,
"maxwell_bulk_modulus", parameters, 1);
60 DBUG(
"Use '{:s}' as maxwell bulk modulus parameter.",
61 maxwell_bulk_modulus.name);
64 auto& maxwell_viscosity = ParameterLib::findParameter<double>(
66 config,
"maxwell_viscosity", parameters, 1);
68 DBUG(
"Use '{:s}' as maxwell viscosity parameter.", maxwell_viscosity.name);
71 auto& dependency_parameter_mK = ParameterLib::findParameter<double>(
73 config,
"dependency_parameter_mk", parameters, 1);
75 DBUG(
"Use '{:s}' as dependency parameter mK.",
76 dependency_parameter_mK.name);
79 auto& dependency_parameter_mvK = ParameterLib::findParameter<double>(
81 config,
"dependency_parameter_mvk", parameters, 1);
83 DBUG(
"Use '{:s}' as dependency parameter mvK.",
84 dependency_parameter_mvK.name);
87 auto& dependency_parameter_mvM = ParameterLib::findParameter<double>(
89 config,
"dependency_parameter_mvm", parameters, 1);
91 DBUG(
"Use '{:s}' as dependency parameter mvM.",
92 dependency_parameter_mvM.name);
95 kelvin_shear_modulus, maxwell_shear_modulus,
96 maxwell_bulk_modulus, kelvin_viscosity,
97 maxwell_viscosity, dependency_parameter_mK,
98 dependency_parameter_mvK, dependency_parameter_mvM};
100 auto const& nonlinear_solver_config =
103 auto const nonlinear_solver_parameters =
106 return std::unique_ptr<Lubby2<DisplacementDim>>{