Hi Ralph,
thank you very much for this additional information.
I hope my multiple questions don't get annoying. I would like to explain in my own word, how I understood this calculation, to make sure, that I can conduct it correctly:
First, all the variables:
zp = zell pointer as it is in the .log file stated for every seed (for example something like 13187)
dimX = the dimension of the simulation domain in x direction
dimY = the dimension of the simulation domain in y direction
x = x-coordinate of one particular seed
y = y-coordinate of one particular seed
z = z-coordinate of one particular seed
As far as I understood, the zell pointer has to be modified with a calculation, before the calculation of the coordinates.
For z:
zp = zp - 1
With this new zp:
z = zp / [(dimX+2)(dimY+2)]
For y:
zp = zp - z * [(dimX+2)(dimY+2)]
With this new zp:
y = zp / (dimX+2)
For x:
zp = zp - y * (dimX+2)
With this new zp:
x = zp
The question is: Do I use zell numbers for the dimensions or the lengths, depending on the grid spacing? For example for dimX=100, as I used 100 cells or dimX=50, as I used a grid spacing of 0.5 (0.5*100=50)?
I tried both ways, so it seems I misunderstood something, as I got this as a result, when I tried to plot seed positions:
I expected more of a point cloud type of graph.
Best regards,
Moritz
EDIT: Also what is irritating to me: In the calculation the dimension in z direction does not seem to play a role. Is that correct? In the current calculation, changing the value for z for the simulation domain has no influence on the results, but I should have, because seeds can be placed in differend "heights" of the simulation domain.