Cannot expand the size of nonlocal model in "excav_bucket.py"
youeryuan1 opened this issue ยท 4 comments
Hi @haeriamin ,
Thanks for publishing this code.
I try to expand the size of nonlocal model named "cube_smooth" in excav_bucket.py.For example,I change "scale" from 1 to 5.
But the Ubuntu terminal will give an error of ''particle out of box or near boundary. Ignored.".
I tried to modify "mpm.cpp" and recompile it, but it has no effect.
Can you tell me how to solve this problem? I look forward to your reply.
Hi @youeryuan1,
Thanks for your interest. In this code, everything must be positioned between 0 and 1 in the three axes. To clarify, it has no built-in system of units, so all input data must be specified in consistent units.
For example, if you are increasing the scale factor and it is causing the object(s) to be outside of the bounding box, you should receive such an error/warning.
Hi @haeriamin ,
Thank you for your reply.It really helps me and solves my problems all the time. At the same time, I had another idea.
In some code, "1u" in MPM represents "4m" in the experiment, that is, k = 4. Could you tell me how to change this ratio so that "1u" in MPM can represent "100m" in the experiment.
Thank you again for your reply.
Hi @youeryuan1,
Here is the dimensional analysis you could use for your problem (obviously, 4, at top-left, should be changed to 100):
Hi @haeriamin ,
Thank you for your reply.I think I know what to do.Your reply is of great help to me.
I wish you good health and every success in your work