taichi-dev / taichi_elements

High-performance multi-material continuum physics engine in Taichi
MIT License
483 stars 69 forks source link

Why is my simulation meeting a bound? #56

Closed EaryChow closed 4 years ago

EaryChow commented 4 years ago

This is a question. How do I make an unbounded simulation? I thought it would just work but it turned out to still have a bound. bounded Sim

PavelBlend commented 4 years ago

Install addon from this commit: https://github.com/taichi-dev/taichi_elements/tree/4079860b5fe7e8e6398ce6605f4e98963a039fc3

Open this scene and bake it: unbounded_example.zip

EaryChow commented 4 years ago

@PavelBlend Thanks, that worked. But another question rises. The simulation is now unbounded, but why is the particle seeding still bounded? It looks like only the part within the area in the screenshot below gets seeded, but when the simulation continues, it is indeed an unbounded simulation (second image). Seeding Bound

Unbounded sim Also I saw you closed this issue: https://github.com/taichi-dev/taichi_elements/issues/43 Is that related to this?

PavelBlend commented 4 years ago

Unbounded simulator has not yet been completed. The addon is under development. Here's what else to do: https://github.com/taichi-dev/taichi_elements/issues/15#issuecomment-620178772

EaryChow commented 4 years ago

Got it, so I guess it is because negative coordinates are not supported yet, that's why it only seeds on the positive parts.