ckwolfe's picture
Add AS-DiffMPM reference material configs (elastic, newtonian, non_newtonian, sand, plasticine)
28219ac verified
cfg = dict(
dtype="float32",
dt=1 / 9600,
frame_dt=1 / 24,
particle_chunk_size=2**10,
write_out=True,
dx=0.02,
lower_bound_pos=[-0.8, -0.1, -0.8],
upper_bound_pos=[0.7, 1.0, 0.7],
gravity=[0, -9.8, 0],
base_dir=None,
taichi_cuda_memory=4.0,
BC={"ground": [[0, 0, 0], [0, 1, 0]]},
rho=1000,
n_frames=16,
)