Solid simulation based on PETSc and Geode