JSOLVER

1. Code Name JSOLVER/QSOLVER
2. Code Category: Fixed boundary equilibrium
3. Primary Developer : S. C. Jardin
4. Other Developers and Users: Developers: D. Monticello, J. Menard, C. Kessel; many users
5. Short description (one line if possible): Fixed boundary MHD equilibrium code with prescribed p and J profiles. (or prescribed p and q profiles for QSOLVER)
6. Computer Language (Fortran77, Fortran90, C, C++, etc) and approx # of lines: Fortran90
7. Type of input required (including files and/or output from other codes). Is there any special input preparation system (eg, GUI): Reads an inequ file. Can also read an EQDISK file from TSC.
8. Type of output produced (including files that are read by other codes and sizes of large files and synthetic diagnostics): Can write an EQDISK file that can be read by the PEST and M3D codes.
9. Describe any postprocessors which read the output files: Uses NCAR graphics
10. Status and location of code input/output documentation: In the SVN file
11. Code web site? http://w3.pppl.gov/topdac/jsolver.htm
12. Is code under version control? What system? Is automated regression testing performed? SVN, no RT
13. One to two paragraph description of equations solved and functionality including what discretizations are used in space and time: This code uses the iterative metric method (see ref. in 15.) to simultaneously solve for plasma equilibrium and the magnetic flux coordinates. During each iteration, it solves an ordinary differential equation for the toroidal field function g so that the surface averaged parallel current density takes on a prescribed form. It has an automatic zone doubling feature to allow efficient generation of high accuracy equilibrium.
14. What modes of operation of code are there (eg: linear, nonlinear, reduced models, etc ): just standard
15. Journal references describing code: The original basis for this code is described in the two papers: (1) DeLucia, J., Jardin, S. C., Todd, A. M. M., J. Comput. Phys. 37, 2 (1980). (2) Chance, M., Jardin, S. C., Stix, T., Phys. Rev. Lett. 51, 1963 (1983).
16. Codes it is similar to and differences (public version): POLAR2D, ESC
17. Results of code verification and convergence studies (with references): This code has been validated against Drozdov's POLAR2D code, and Zakharov's ESC code and found to converge to the same solution;
18. Present and recent applications and validation exercises (with references as available): Code is widely used in production runs
19. Limitations of code parameter regime (dimensionless parameters accessible): NA
20. What third party software is used? (eg. Meshing software, PETSc, ...): NA
21. Description of scalability: NA
22. Major serial and parallel bottlenecks: NA
23. Are there smaller codes contained in the larger code? Describe: NA
24. Supported platforms and portability: Runs on PPPL UNIX cluster
25. Illustrations of time-to-solution on different platforms and for different complexity of physics, if applicable: 1-5 min