| from mmengine.config import read_base | |
| from mpm.engine.mpm_simulator import MPMSimulator | |
| with read_base(): | |
| from ..default import cfg | |
| cfg.update( | |
| dt=1 / 4800, | |
| material=MPMSimulator.elasticity, | |
| cuda_chunk_size=100, | |
| E=316228, | |
| nu=0.25, | |
| physical_params=dict(global_E=1e-1, global_nu=1e-2), | |
| taichi_cuda_memory=6.0 | |
| ) | |
| del MPMSimulator | |