Mathematical modelling of fracturedporous media