Directory: ${PENCIL_HOME}/samples/1d-tests/reversed_field_pinch SVN Id: $Id$ Maintainer: Axel Brandenburg Added: 22-Nov-2009 Status: succeeds # One of [succeeds|failing since |obsolete| ...] Recommended resolution: 32x1x1 for eta=1e-2 is fine. Comments: The initial field is a Bessel function. The field decays resistively subject to magnetic helicity evolution, as modeled by the dynamical alpha equation. A diffusive magnetic helicity flux is added. References: The formalism is close to that used in: Brandenburg, A., Candelaresi, S., & Chatterjee, P.: 2009, ``Small-scale magnetic helicity losses from a mean-field dynamo,'' Monthly Notices Roy. Astron. Soc. 398, 1414-1422 (arXiv:0905.0242) Scaling results for different resolution (alpm_int should be pi) nx pi 32 3.15140 64 3.14397 128 3.14218 256 3.14174 512 3.14163 older versions: svn up -r15668 sementation fault svn up -r18000 nompicomm.f90, line 1103: Conflicting attributes or multiple declaration of name. svn up -r20000 No rule to make target `entropy.h', needed by `noentropy.o'