PDI, an approach to decouple I/O concerns from high-performance simulation codes