In this section you will find a series of concepts and explanations for several DualSPHysics and DesignSPHysics concepts.
This section is aimed to new users of each the GUI and the solver package, and covers the usage of things like MK values or order of object creation.
MK values are values associated with each object (or group of objects), similar as a 'tag'.
MK values serve this purposes, among others:
Some use cases are:
DP is a value set for each case that specify the distance between each particle in the final result. For the same case, setting a higher DP will result in less total particles, as the distance between each one increases.
Setting a lower DP for the same case, though, will result in more total particles.
Mind that setting a higher DP and having less particles will result in a inaccurate simulation. Try to set the particle count to a balance between simulation time and the wanted fidelity.
Defining objects in a particular order is important in the solver.
In DesignSPHysics you can change the order of object creation with the table placed in the main dock.
Order in objects is useful to slicing and substitution of different objects. Lets put a visual example:
We want to generate the following case.
Let's see the result with 2 different object orders. The first one would be this order:
And the result will be something like this:
As you can see, the obstacle is only above the water. This happens because the creation order specifies that first the obstacle will be created. This way, when water is going to be created, it will fill its volume with particles, substituting the ones already created by the obstacle.
To fix this, the order of particles must be:
This is the result:
The obstacle can now be seen through the water, achieving what we wanted.
This explains easily why object order matters in a case. The particle creation is incremental and substitutes all the possible places that a particle could be (based on DP) with the volume of the current object, in strict order.