diff --git a/ProcessLib/LIE/HydroMechanics/CreateHydroMechanicsProcess.cpp b/ProcessLib/LIE/HydroMechanics/CreateHydroMechanicsProcess.cpp index b0d4873ef31ba60009ce164ad03408df4441b078..268d9f20b234052a78b069f0221e747d4af1196c 100644 --- a/ProcessLib/LIE/HydroMechanics/CreateHydroMechanicsProcess.cpp +++ b/ProcessLib/LIE/HydroMechanics/CreateHydroMechanicsProcess.cpp @@ -213,9 +213,7 @@ std::unique_ptr<Process> createHydroMechanicsProcess( auto& fracture_properties_config = *opt_fracture_properties_config; frac_prop = std::make_unique<ProcessLib::LIE::FractureProperty>( - 0 /*fracture_id*/, - //! \ogs_file_param{prj__processes__process__HYDRO_MECHANICS_WITH_LIE__fracture_properties__material_id} - fracture_properties_config.getConfigParameter<int>("material_id"), + 0 /*fracture_id*/, 0 /*material_id*/, ParameterLib::findParameter<double>( //! \ogs_file_param_special{prj__processes__process__HYDRO_MECHANICS_WITH_LIE__fracture_properties__initial_aperture} fracture_properties_config, "initial_aperture", parameters, 1, @@ -257,12 +255,6 @@ std::unique_ptr<Process> createHydroMechanicsProcess( if (deactivate_matrix_in_flow) INFO("Deactivate matrix elements in flow calculation."); - // Reference temperature - const auto& reference_temperature = - //! \ogs_file_param{prj__processes__process__HYDRO_MECHANICS_WITH_LIE__reference_temperature} - config.getConfigParameter<double>( - "reference_temperature", std::numeric_limits<double>::quiet_NaN()); - //! \ogs_file_param{prj__processes__process__HYDRO_MECHANICS_WITH_LIE__use_b_bar} auto const use_b_bar = config.getConfigParameter<bool>("use_b_bar", false); @@ -311,17 +303,11 @@ std::unique_ptr<Process> createHydroMechanicsProcess( } HydroMechanicsProcessData<GlobalDim> process_data{ - materialIDs(mesh), - std::move(solid_constitutive_relations), - std::move(media_map), - specific_body_force, - std::move(fracture_model), - std::move(frac_prop), - initial_effective_stress, - initial_fracture_effective_stress, - deactivate_matrix_in_flow, - reference_temperature, - use_b_bar}; + materialIDs(mesh), std::move(solid_constitutive_relations), + std::move(media_map), specific_body_force, + std::move(fracture_model), std::move(frac_prop), + initial_effective_stress, initial_fracture_effective_stress, + deactivate_matrix_in_flow, use_b_bar}; SecondaryVariableCollection secondary_variables; diff --git a/ProcessLib/LIE/HydroMechanics/HydroMechanicsProcessData.h b/ProcessLib/LIE/HydroMechanics/HydroMechanicsProcessData.h index 71b3e07906de449b4dc65577cb3b632c4264ef93..dfb508d267ab394874bdcb2b3f9e5cd31afbbb80 100644 --- a/ProcessLib/LIE/HydroMechanics/HydroMechanicsProcessData.h +++ b/ProcessLib/LIE/HydroMechanics/HydroMechanicsProcessData.h @@ -51,8 +51,6 @@ struct HydroMechanicsProcessData bool const deactivate_matrix_in_flow; - double const reference_temperature; - /// An indicator to use the B bar method \cite hughes1980generalization to /// tackle the volumetric locking. const bool use_b_bar; diff --git a/ProcessLib/LIE/HydroMechanics/LocalAssembler/HydroMechanicsLocalAssemblerMatrix-impl.h b/ProcessLib/LIE/HydroMechanics/LocalAssembler/HydroMechanicsLocalAssemblerMatrix-impl.h index 10f0efc65ed4949c8ad626748ffdf345c62fa844..8d977b1d6b1e834f9563204e9cfdf0606c6706cd 100644 --- a/ProcessLib/LIE/HydroMechanics/LocalAssembler/HydroMechanicsLocalAssemblerMatrix-impl.h +++ b/ProcessLib/LIE/HydroMechanics/LocalAssembler/HydroMechanicsLocalAssemblerMatrix-impl.h @@ -448,7 +448,6 @@ void HydroMechanicsLocalAssemblerMatrix<ShapeFunctionDisplacement, variables_prev.mechanical_strain .emplace<MathLib::KelvinVector::KelvinVectorType<GlobalDim>>( eps_prev); - variables_prev.temperature = _process_data.reference_temperature; auto&& solution = _ip_data[ip].solid_material.integrateStress( variables_prev, variables, t, x_position, dt, *state);