How to grow superquadric particles

Submitted by Narayani on Mon, 01/31/2022 - 15:07

Hello, there is a way as shown in the examples to grow spherical particles in a packing...can the same be done for superquadric particles?

JacopoB | Mon, 07/03/2023 - 16:53

Hello,

I was trying to do the same and I think this is still not implemented.
I was looking at the source code and how to modify it to take this into account.

Have you already found a way o do so?
Thank you

Thijs Verfuurden | Tue, 08/08/2023 - 13:24

I Have been tying to do the same. While several functions do not work perfectly for superquadric particles I was able to change the ' shape parameters' by using the set command in a loop. here is an example:

variable xshape_grow equal 8e-3

variable a loop 100
label loop
variable xshape_grow equal ${xshape_grow}+1e-5
set group nve_group shape ${xshape_grow} 0.008 0.0012
run 1000
variable b loop 1
next a
jump in.1tablet loop

This loops over 100 time from label loop to the jump command and edits the x shape parameter.