Neural Modular Physics for Elastic Simulation