Possible "Quick-Fix" for Variable Particle Resolution and request for feedback
As some of you might be aware, I have for some time worked on making tools for reading data directly from the bi4 files, with the help of my brother.
So for example what I have been able to do other than just reading files, is to modify the file which DualSPHysics uses to generate the particle distributions. So for an example for the "examples/main/11_Floating", 2D case - where a floating sphere in 2D is falling down a column of water - one would normally get a distribution like;
WHere it is clear that this sphere, does not represent a circular shape very well. Using the utility I have been working on I could modify the geometry to;
Which in my opinion, represents a circular shape better, but one can discuss this at length etc. The point is that it is possible, if one wants it enough.
The why I have done it is basically to generate the usual files by initializing the case as normally, then copying the "Part_Head.ibi4" out of the data folder, deleting rest of the content inside and running my code, which overwrites the position properties of the selected particles.
I originally intented to present this at the workshop, but it was postponed due to the COVID-19 situation, so I just wanted to hear, if anyone would like to play around with this or support this project in some way?
Just to give people a general feel of the process, I have included the main code I used to do this for this case;
And then one just has to run the DualSPHysics case, without using "GenCase".