Poloidal magnetic field potential at CMB¶
The cmb outputs controls the output of poloidal field potential coefficients at the CMB \(b_{\ell m}(r=r_o)\): B_coeff_cmb.TAG up to a maximum spherical harmonic degree l_max_cmb.
Note
This calculation is only enabled when l_cmb_field=.true. or when
l_dt_cmb_field=.true..
Specific inputs¶
l_cmb_field (default
l_cmb_field=.false.) is a logical. It needs to be turned on to getcmbfiles computed.l_dt_cmb_field (default
l_dt_cmb_field=.false.) is a logical. When set to.true., it allows the calculation of the secular variation of the magnetic field at the CMB.
l_max_cmb (default
l_max_cmb=14) is an integer. This is the maximum spherical harmonic degree \(\ell\) stored in B_coeff_cmb.TAG, i.e. only \(\ell \leq \ell_{maxcmb}\) are stored. For example, the following input parameter means that the B_coeff_cmb.TAG file is stored up to a spherical harmonic degree of \(\ell\):l_cmb_field = .true., l_max_cmb = 20,
Standard inputs¶
n_cmb_step (default
n_cmb_step=0) is an integer. This is the number of timesteps between twocmboutputs.n_cmbs (default
n_cmbs=0) is an integer. This is the number ofcmboutputs to be written.t_cmb (default
t_cmb=-1.0 -1.0 ...) is real array, which contains the times whencmboutputs are requested.dt_cmb (default
dt_cmb=0.0) is a real, which defines the time interval betweencmboutputs.t_cmb_start (default
t_cmb_start=0.0) is a real, which defines the time to start writingcmboutputs.t_cmb_stop (default
t_cmb_stop=0.0) is a real, which defines the time to stop writingcmboutputs.
Poloidal and toroidal potentials at several depths¶
The coeff_r# outputs controls the output of the poloidal and
toroidal potential coefficients at several depths up to a maximum spherical
harmonic degree l_max_r. The files B_coeff_r#.TAG
and V_coeff_r#.TAG are written when
l_r_field=.true.. The file T_coeff_r#.TAG is
written when l_r_fieldT=.true..
Note
This calculation is only enabled when l_r_field=.true. or when
l_r_fieldT=.true..
Specific inputs¶
l_r_field (default
l_r_field=.false.) is a logical. It needs to be turned on to getr_fieldfiles computed.
l_r_fieldT (default
l_r_fieldT=.false.) is a logical. When set to.true., the thermal field is also stored in a file named T_coeff_r*.TAG.
l_max_r (default
l_max_r=l_max) is an integer. This is the maximum spherical harmonic degree \(\ell\) stored in ther_fieldfile, i.e. only \(\ell \leq \ell_{maxcmb}\) are stored.
There are two ways to specify the radial grid points where you want to store
the [B|V|T]_coeff_r#.TAG files. You can either specify a stepping n_r_step: in that
case 5 coeff_r#.TAG files will be stored at 5 different radial levels every
n_r_step grid point:
l_r_field = .true., n_r_step = 6, l_max_r = 30,This will produces 5 files that contain the poloidal and toroidal potentials up to spherical harmonic degree \(\ell=30\):
[B|V|T]_coeff_r1.TAGcorresponds to the radial grid point with the indexnR=6.
[B|V|T]_coeff_r2.TAGtonR=12.
[B|V|T]_coeff_r3.TAGtonR=18.
[B|V|T]_coeff_r4.TAGtonR=24.
[B|V|T]_coeff_r5.TAGtonR=30.
n_r_step (default
n_r_step=2) is an integer. This specifies the number of radial levels between two consecutive[B|V|T]_coeff_r#.TAGfiles.
Alternatively, the input array n_r_array can be used to specify the radial grid points you exactly want to store:
l_r_field = .true., n_r_array = 8, 24, 47, l_max_r = 10,This will produces 3 files that contain the poloidal and toroidal potentials up to spherical harmonic degree \(\ell=10\):
[B|V|T]_coeff_r1.TAGcorresponds to the radial grid point with the indexnR=8.
[B|V|T]_coeff_r2.TAGtonR=24.
[B|V|T]_coeff_r3.TAGtonR=47.
n_r_array (default
n_r_array=0 0 0 ...) an array of integers. You can specify the radial grid points (starting fromn_r_cmb=1) where you want to store the coefficients.
Standard inputs¶
n_r_field_step (default
n_r_field_step=0) is an integer. This is the number of timesteps between twor_fieldoutputs.n_r_fields (default
n_r_fields=0) is an integer. This is the number ofr_fieldoutputs to be written.t_r_field (default
t_r_field=-1.0 -1.0 ...) is real array, which contains the times whenr_fieldoutputs are requested.dt_r_field (default
dt_r_field=0.0) is a real, which defines the time interval betweenr_fieldoutputs.t_r_field_start (default
t_r_field_start=0.0) is a real, which defines the time to start writingr_fieldoutputs.t_r_field_stop (default
t_r_field_stop=0.0) is a real, which defines the time to stop writingr_fieldoutputs.