Open SakuBorder opened 1 month ago
3. bounding_box boundary condition
Thank you for your response. Does this mean that:
1、For the various extensions you provided, such as plastic, metal, etc., I need to modify the MPM code according to the specific physical properties, rather than just changing the configuration file? 2、For these materials, is the bounding box boundary condition essential and needs to be determined based on the material?
I think you misunderstood the mechanism behind MPM.
Say you have 100 particles in total. Currently when you set the material to be metal in the config, what really happens in the MPM solver is that you are simulating with 100 "metallic" particles, i.e. each particle following the metal's constitutive model. This constitutive model is invoked in the stress computation. If you want to have different materials for different parts (say left 50 particles are sand and the right 50 particles are metal), then you need to label each particle with its correct material. In the current codebase all particles share the same material label (underhood, just a scaler 0 1 2 3 for switch case). You would need to make the material into an array so that each particle stores its own material.
For the bounding box, basically cuda will complain if any one particle (regardless of material) is heading to infinity or so, the bounding box is to just add a safe box to bound all particles inside
Questions about PhysGaussian
Hello! I'm very interested in your work, but I have a few questions:
How to define materials?
If the above is correct, what should I do if the moving part spans two materials?
I noticed that when I use the
metal
material and modify the config (using the config provided below), I encounter the following error:metal_config.json