Modeling flow in naturally fractured reservoirs