diff --git a/ProcessLib/HT/HTFEM.h b/ProcessLib/HT/HTFEM.h index dda388621f7e1e2bfb8166c2e736f024e4d96678..e5c469cdb08b9f34c47705beed04c45da7ebcafb 100644 --- a/ProcessLib/HT/HTFEM.h +++ b/ProcessLib/HT/HTFEM.h @@ -208,10 +208,16 @@ protected: return thermal_conductivity * I; } - double const thermal_dispersivity_longitudinal = - _material_properties.thermal_dispersivity_longitudinal(t, pos)[0]; + auto const thermal_dispersivity_longitudinal = + medium + .property(MaterialPropertyLib::PropertyType:: + thermal_longitudinal_dispersivity) + .template value<double>(); auto const thermal_dispersivity_transversal = - _material_properties.thermal_dispersivity_transversal(t, pos)[0]; + medium + .property(MaterialPropertyLib::PropertyType:: + thermal_transversal_dispersivity) + .template value<double>(); double const velocity_magnitude = velocity.norm();