Changing materials in CaseDEM
Hi,
I am just starting using DualSPHysics and trying out stuff using the testcases, which are very helpful! I am just having issues when trying to adapt the materials and relativeweight in CaseDEM. I left everything else as it was and just changed the material of the floating body.
When, for example, using "lime-stone" instead of "hard-wood" the floating bodies start flying upwards right after starting the simulation (before the water even started moving, as if they are exploding) and therefore it stops after only a few steps saying "floating bodies out of boundaries" (of cource, since the floating bodies went through the upper border).
The same happens when using "Aluminium". With higher values for relativeweight the same happens, just a little slower (since the floating bodies are heavier). It also happens when using rhopbody instead of relativeweight.
Does any one of you have an idea, what the reason for this could be? Do I have to change anything else in the XML-file?
I would be really thankful for any advice!
Julia
I am just starting using DualSPHysics and trying out stuff using the testcases, which are very helpful! I am just having issues when trying to adapt the materials and relativeweight in CaseDEM. I left everything else as it was and just changed the material of the floating body.
When, for example, using "lime-stone" instead of "hard-wood" the floating bodies start flying upwards right after starting the simulation (before the water even started moving, as if they are exploding) and therefore it stops after only a few steps saying "floating bodies out of boundaries" (of cource, since the floating bodies went through the upper border).
The same happens when using "Aluminium". With higher values for relativeweight the same happens, just a little slower (since the floating bodies are heavier). It also happens when using rhopbody instead of relativeweight.
Does any one of you have an idea, what the reason for this could be? Do I have to change anything else in the XML-file?
I would be really thankful for any advice!
Julia
Comments
If you still have problems, please send your XML to us (dualsphysics@gmail.com) and we will check it when we have time
Regards
thank you for your reply! The bodies are solid, just as in the CASEDEM. As I mentioned, I did not change anything in the XML file but the material in floatings. Thats why I was wondering, whether I'd have to consider anything else when changing the material, but it does not seem like that's the case!? I will send the XML file to you anyway, it would be great if you could take a loot at it!
Regards
Julia
edit: I just saw, that boxfill is set to solid, but setdrawmode is "full". I am running it right now but it seems to be better with setdrawmode=solid! I am just wondering, why it works in the testcase with "hard-wood", but not with any other material...!?
I would appreciate it, if you could look into this!
I have the same problem as JuliaB. Have you found any reason or solution for this problem?
I would really appreciate any help.
Leila
I did not find a real solution, I guess it is not so easy to get this problem stable. However, a few things that might help:
- Using the Symplectic instead of the Verlet time step algorithm
- decreasing CFL and/or time-step
- decreasing the restitution coefficient
- placing your object a little bit over the ground in order for it to settle on its own at the beginning of the simulation (this did not work for me, though. After settling, it started bouncing anyways)
Furthermore I found that usually the behavior becomes stable (and the objects move as expected) once the water touches the object(s).
I hope this helps, good luck!
Julia
Thanks so much for your reply. I applied all your suggestions and seems the only effective option is decreasing the restitution coefficient. But since we are using DEM it does not make sense. and if we want to validate our model we should apply the real properties and another question: do you know what relative Weight is?
best wishes
Leila
Thank you for your reply. could you please give me some information about this scheme and how can I apply that?
best wishes
Leila
Generally, decreasing the time-step in one way or another (lower CFL number, lower dtini/dtmin, etc.) should also help stabilizing the simulation.
thanks for your reply. My model is working better with lower CFL. Can you please tell me what relative weight is?