diff --git a/Documentation/ProjectFile/prj/processes/process/HYDRO_MECHANICS/initial_stress/i_initial_stress.md b/Documentation/ProjectFile/prj/processes/process/HYDRO_MECHANICS/initial_stress/i_initial_stress.md index 872e328bd43..d9828fd553e 100644 --- a/Documentation/ProjectFile/prj/processes/process/HYDRO_MECHANICS/initial_stress/i_initial_stress.md +++ b/Documentation/ProjectFile/prj/processes/process/HYDRO_MECHANICS/initial_stress/i_initial_stress.md @@ -1,3 +1,3 @@ -A optional tag to input the parameter of initial stress in porous media. It is +An optional tag to input the parameter of initial stress in porous media. It is used in processes `LIE`, `HydroMechanics`, `ThermoHydroMechanics`, `RichardsMechanics`, `ThermoRichardsMechanics`, and `TH2M`. diff --git a/Documentation/ProjectFile/prj/processes/process/initial_stress/i_initial_stress.md b/Documentation/ProjectFile/prj/processes/process/initial_stress/i_initial_stress.md index 872e328bd43..d9828fd553e 100644 --- a/Documentation/ProjectFile/prj/processes/process/initial_stress/i_initial_stress.md +++ b/Documentation/ProjectFile/prj/processes/process/initial_stress/i_initial_stress.md @@ -1,3 +1,3 @@ -A optional tag to input the parameter of initial stress in porous media. It is +An optional tag to input the parameter of initial stress in porous media. It is used in processes `LIE`, `HydroMechanics`, `ThermoHydroMechanics`, `RichardsMechanics`, `ThermoRichardsMechanics`, and `TH2M`. diff --git a/ProcessLib/HydroMechanics/HydroMechanicsFEM-impl.h b/ProcessLib/HydroMechanics/HydroMechanicsFEM-impl.h index 6960e1ccde2..46a681961fe 100644 --- a/ProcessLib/HydroMechanics/HydroMechanicsFEM-impl.h +++ b/ProcessLib/HydroMechanics/HydroMechanicsFEM-impl.h @@ -884,8 +884,8 @@ void HydroMechanicsLocalAssembler(vars, x_position, t, dt); auto& sigma_eff = _ip_data[ip].sigma_eff; - sigma_eff += alpha_b * N_p.dot(p) * identity2; - _ip_data[ip].sigma_eff_prev = sigma_eff; + sigma_eff.noalias() += alpha_b * N_p.dot(p) * identity2; + _ip_data[ip].sigma_eff_prev.noalias() = sigma_eff; } } }