Hostname: page-component-6766d58669-zlvph Total loading time: 0 Render date: 2026-05-21T23:23:58.092Z Has data issue: false hasContentIssue false

NICIL: A Stand Alone Library to Self-Consistently Calculate Non-Ideal Magnetohydrodynamic Coefficients in Molecular Cloud Cores

Published online by Cambridge University Press:  09 September 2016

James Wurster*
Affiliation:
School of Physics, University of Exeter, Stocker Rd, Exeter EX4 4QL, UK Monash Centre for Astrophysics and School of Physics and Astronomy, Monash University, Vic 3800, Australia
Rights & Permissions [Opens in a new window]

Abstract

In this paper, we introduce Nicil: Non-Ideal magnetohydrodynamics Coefficients and Ionisation Library. Nicil is a stand-alone Fortran90 module that calculates the ionisation values and the coefficients of the non-ideal magnetohydrodynamics terms of Ohmic resistivity, the Hall effect, and ambipolar diffusion. The module is fully parameterised such that the user can decide which processes to include and decide upon the values of the free parameters, making this a versatile and customisable code. The module includes both cosmic ray and thermal ionisation; the former includes two ion species and three species of dust grains (positively charged, negatively charged, and neutral), and the latter includes five elements which can be doubly ionised. We demonstrate tests of the module, and then describe how to implement it into an existing numerical code.

Information

Type
Research Article
Copyright
Copyright © Astronomical Society of Australia 2016 
Figure 0

Figure 1. Top to bottom: Charged species number densities, charged element number densities, conductivities, and non-ideal MHD coefficients. The first and second columns use T = 30 K and TT(n), respectively, plotted as a function of number density (bottom tics) and mass density (top tics), and the third and fourth columns use ρ = 10−13 g cm−3 and nn(T) plotted as a function of temperature. The second and fourth columns are generated from the same data. This test was performed using Version 1.2.1 of Nicil and the default options listed in Table A2.

Figure 1

Figure 2. Face-on gas column density of a collapsing 1 M cloud of gas at 1.07tff (where the free-fall time is tff = 2.4 × 104 yr). The magnetic field has a strength of 163 μG (five critical mass-to-flux units) and is initially anti-aligned with the angular momentum vector. From left to right, the models use ideal MHD, use the default Nicil parameters, and use the MRN grain size distribution with five bins. The black circles represents the sink particle with the radius of the circle representing the accretion radius of the sink particle. Each frame is (90 AU)2. There is no discernible disc in the ideal MHD model, whilst the model with the default parameters yield the densest disc.

Figure 2

Figure 3. Radial profiles of the gas with ρ > ρdisc, min = 10−13 g cm−3 at t = 1.07 tff in the collapsing molecular cloud test. Top to bottom: Magnetic field, mean and maximum temperature, and non-ideal MHD coefficients for the default (solid) and MRN (dashed) models. Since T ≲ 200 K, thermal ionisation plays a negligible role. The coefficients, η, are larger in the default model, and in both cases, ηHE < 0; as a result, the magnetic field strength in the disc increases from the ideal MHD to default to MRN models.

Figure 3

Table A1. A list of the important files in the Nicil library. The first two files are executables that appear only after Nicil is compiled.

Figure 4

Table A2. A list of the important parameters in Nicil, along with the default values and references. The first column is the name of the variable in the code, and the actual variable (where it exists) is given in the third column as part of the description.

Figure 5

Table A3. The default abundances for use_massfrac=.false. (Cox 2000; Asplund et al. 2009; Keith & Wardle 2014).

Figure 6

Table A4. The free parameters for fixed resistivity coefficients using eta_constant=.true.. The top three parameters are used if eta_const_calc = .false. and the bottom four parameters are used if eta_const_calc = .true..