AbstractA new discretization approach is presented for the simulation of flow in complex poro-fractured media described by means of the Discrete Fracture and Matrix Model. The method is based on the numerical optimization of a properly defined cost-functional and allows to solve the problem without any constraint on mesh generation, thus overcoming one of the main complexities related to efficient and effective simulations in realistic DFMs.