Real-time distributed simulation of partial differential equations