Closed becnealon closed 1 year ago
I have investigated and concluded that this is not a bug in rotation, but due to default rotation parameters that are not intuitive.
Currently, the point around which the rotation is performed is the centre point from the bounds of the data. In this example, the disc is originally centred on x,y,z=0, but at a later time, a few stray particles off the edges of the disc cause the midpoint to move away from x,y,z=0, leading to the unexpected (but correct) rotation. A workaround is to specify the rot_origin=.
Will close this issue and open a new issue to switch to a more practical default rotation origin.
Not sure what I could be doing wrong here, but wanted to see a disc both face on and side on in plots next to each other. Simulation contains gas and sinks only.
Code I've used is
And resultant plot is:
I can't work out why the rotated version has the disc well below centre and not coincident with the sinks? I've checked in splash and this doesn't agree with what is here. Can provide dumpfile if that's helpful.