diff --git a/ProcessLib/RichardsMechanics/RichardsMechanicsFEM-impl.h b/ProcessLib/RichardsMechanics/RichardsMechanicsFEM-impl.h index c1368c241a0eee7a44f0bc41d4a88730db8d58d5..4643675858be4e81f9c6fadf627797398bb5e421 100644 --- a/ProcessLib/RichardsMechanics/RichardsMechanicsFEM-impl.h +++ b/ProcessLib/RichardsMechanics/RichardsMechanicsFEM-impl.h @@ -733,11 +733,11 @@ void RichardsMechanicsLocalAssembler<ShapeFunctionDisplacement, div_u_dot * N_p * w; */ - double const dk_rel_dS_l = 0; - /* - _process_data.flow_material->getRelativePermeabilityDerivative( - t, x_position, -p_cap_ip, temperature, S_L); - */ + double const dk_rel_dS_l = + medium->property(MPL::PropertyType::relative_permeability) + .template dValue<double>(variables, + MPL::Variable::liquid_saturation, + x_position, t, dt); typename ShapeMatricesTypeDisplacement::GlobalDimVectorType const grad_p_cap = -dNdx_p * p_L; local_Jac