Directory: ${PENCIL_HOME}/samples/2d-tests/selfgravitating-shearwave SVN Id: $Id$ Maintainer: Anders Johansen Matthias Rheinhardt Chao-Chin Yang Added: 07-jul-2006 Status: succeeds # One of [succeeds|failing since |obsolete| ...] Recommended resolution: None. Varying the resolution is a good test of how many grid points the code needs to resolve a self-gravitating shear wave. References: Johansen A., Oishi J., Mac Low M.-M., Klahr H., Henning Th., & Youdin A.: 2007, ``Rapid planetesimal formation in turbulent circumstellar discs'', Nature, vol. 448, p. 1022-1025 Comments: Linear test problem for gas self-gravity in the shearing sheet. A leading shear wave is swung around by the Keplerian shear and amplified by self-gravity. One can compare the numerical solution to the result of a numerical integration of the linearised equation system, produced by the IDL script shear_wave.pro (in the idl/ directory). [PAB] 25-Mar-2023: I fixed an issue the 'fourier_shift_yz_y' routines, where processors were calculating something, even though they should not participate in the FFT. Not sure if the current output or the old "reference.out" is right. Anders, please check.