WHAT IS NIRVANA?
NIRVANA is a C code for astrophysical fluid flow modeling. It numerically integrates the 2D/3D equations of time-dependent, non-relativistic, compressible magnetohydrodynamics on Cartesian/cylindrical/spherical grids. NIRVANA provides adaptive mesh refinement techniques to handle multi-scale problems and implements a Poisson solver to treat self-gravitational flows...

CODE VERSION: 3.5.2

PHYSICS:
  • Newtonian hydrodynamics/magnetohydrodynamics
  • standard viscosity, magnetic diffusion, thermal conduction
  • anisotropic (magnetic-field-dependent) Spitzer conductivity model including saturation effects
  • different gas equation of states (isothermal, adiabatic, polytropic, user-defined)
  • ISM cooling/heating function
  • passive tracer
  • external force
  • rotating frame
  • selfgravity
NUMERICS:
  • 2nd-order FV approach
  • central-upwind or HLLD-based flux computation
  • constrained-transport scheme for induction equation
  • 2nd/3rd-order Runge-Kutta time integrators
  • 2nd-order FD approach for dissipative fluxes
  • MLAT-type multigrid Poisson solver
  • dual energy formalism
  • look-up table scheme based on cubic interpolation techniques
  • backward Euler + Pegasus root finder for ISM heatloss term
GEOMETRIES:
  • Cartesian
  • cylindrical
  • spherical
ADAPTIVE MESH REFINEMENT:
  • block-structured approach
  • conservative & divergence-free infrastructure
  • refinement criteria: gradients/2nd-derivatives, Jeans-length, Field-length
PARALLELIZATION:
  • MPI library
  • coarse-grained communication model
  • load balancer based on space-filling curve mesh partitioning
EQUATIONS
TABLE_OF_FUNCTIONALITY
USERS GUIDE
ADDONS (old)