A&A 395, 1045-1060 (2002)
DOI: 10.1051/0004-6361:20021442

## Formation of protostellar jets - effects of magnetic diffusion

C. Fendt 1,2 - M. Cemeljic 2

1 - Universität Potsdam, Institut für Physik, Am Neuen Palais 10, 14469 Potsdam, Germany
2 - Astrophysikalisches Institut Potsdam, An der Sternwarte 16, 14482 Potsdam, Germany

Received 24 May 2002 / Accepted 24 September 2002

Abstract
Protostellar jets most probably originate in turbulent accretion disks surrounding young stellar objects. We investigate the evolution of a disk wind into a collimated jet under the influence of magnetic diffusivity, assuming that the turbulent pattern in the disk will also enter the disk corona and the jet. Using the ZEUS-3D code in the axisymmetry option we solve the time-dependent resistive MHD equations for a model setup of a central star surrounded by an accretion disk. The disk is taken as a time-independent boundary condition for the mass flow rate and the magnetic flux distribution. We derive analytical estimates for the magnitude of magnetic diffusion in a protostellar jet connecting our results to earlier work in the limit of ideal MHD. We find that the diffusive jets propagate slower into the ambient medium, most probably due to the lower mass flow rate in the axial direction. Close to the star we find that a quasi stationary state evolves after several hundred (weak diffusion) or thousand (strong diffusion) disk rotations. Magnetic diffusivity affects the protostellar jet structure as follows. The jet poloidal magnetic field becomes de-collimated. The jet velocity increases with increasing diffusivity, while the degree of collimation for the hydrodynamic flow remains more or less the same. We suggest that the mass flux is a proper tracer for the degree of jet collimation and find indications of a critical value for the magnetic diffusivity above which the jet collimation is only weak. We finally develop a self-consistent picture in which all these effects can be explained in the framework of the Lorentz force.

Key words: accretion, accretion disks - MHD - ISM: jets and outflows - stars: mass loss - stars: pre-main sequence -
galaxies: jets

### 1 Introduction

Observations of young stellar objects (YSOs) have revealed two main features during the phase of star formation - the presence of accretion disks and energetic outflows, often observed as bipolar jets (Mundt et al. 1984; Lada 1985; Ray et al. 1996). Images and spectra show that these flows are of high-velocity ( ) and well collimated (opening angle < on scales of 1000 AU). The data also suggest that the jet collimation must be achieved already close to the central source, at distances 100 AU. The jet mass outflow rates are and typically a factor 10-100 smaller than the disk accretion rates.

Besides the special case of protostellar jets, all astrophysical jets detected so far seem to be attached to objects where an accretion disk is indicated to be present. In particular, this holds for jets observed in radio loud active galactic nuclei and quasars (Bridle & Perley 1982), highly energetic galactic objects as Sco X-1 (Padman et al. 1991), and microquasars (Mirabel et al. 1992).

Therefore, the similarities between jets from the different sources imply that the basic mechanism for jet formation should be the same. For protostellar jets, the observed mass and momentum fluxes exclude the possibility of a thermally or radiation pressure driven wind. The observed fluxes are much higher than the protostar could provide (DeCampli 1981; Königl 1986). The conclusion is that it is the magnetic field which is responsible for protostellar jet formation - acceleration and collimation of the initial stellar or disk wind (Pudritz & Norman 1983; Camenzind 1990). This magnetic field can be generated by some dynamo process either in the central young star itself, or the surrounding accretion disk, or it could be provided by the interstellar medium as a "fossil'' field. What kind of mechanism turns the in-flowing matter of the accretion disk into an outflow from the disk (or the star) is still not really known, although it seems to be clear that magnetic fields play a major role (Ferreira 1997).

Examples of time-dependent MHD simulations of the jet formation include models of collimating disk winds, where this disk is taken as a boundary condition for the outflow (Ouyed & Pudritz 1997, hereafter OP97), models that consider the interaction of a stellar dipolar magnetosphere with the accretion disk as well as the disk structure itself (Miller & Stone 1997), or some combination of both approaches (Fendt & Elstner 1999, 2000, hereafter FE00).

In this paper, we are interested in a time-dependent simulation of the resistive MHD equations for the corona above the accretion disk around a young star. The underlying disk provides a fixed boundary. The presence of a large scale poloidal magnetic field provided by the disk is assumed. After a brief theoretical introduction in Sect. 2, we describe our model and the numerical approach in Sect. 3, with emphasis on the effect of magnetic diffusion. For the numerical approach, we introduced magnetic diffusion in the ZEUS-3D MHD code. Tests of our code are included in Appendix. The results for protostellar jets are discussed in Sect. 4. We compare our diffusive MHD simulations of jet formation with the non-diffusive case.

### 2 Magnetic jets from accretion disks

Despite a tremendous amount of work concerning the formation of magnetic jets (e.g. Blandford & Payne 1982; Pudritz & Norman 1983; Lovelace et al.1987; Heyvaerts & Norman 1989; Pelletier & Pudritz 1992; Li et al. 1992; Contopoulos 1994; Fendt et al. 1995; Kudoh & Shibata 1997a, 1997b; Fendt & Memola 2001) the mechanism which actually launches the jet from the disk remains unclear. Most of the papers dealing with the theory of magnetized accretion disks driving jets have been following the principal approach of Blandford & Payne assuming stationarity, axisymmetry and self-similarity (Königl 1989; Wardle & Königl 1993; Li 1995; Ferreira 1997). After all, it is clear now that the launching of a jet from the accreting disk can be described as a purely magnetic process. Ferreira (1997) has derived trans-Alfvénic, stationary self-similar jet solutions with a smooth transition from a resistive disk, where the Lorentz forces are actually responsible for lifting the accreting gas in vertical direction.

Progress has been achieved, too, in the simulation of the time-dependent MHD jet formation from accretion disks. Two major, distinct approaches in order to deal with the complexity of the jet formation process have been undertaken so far. One approach is to take the rotating disk as a fixed boundary condition for the simulation of the jet. Depending on the choice of the initial setup (magnetic field, density and pressure) and the choice of the gravitational potential, the numerical results differ in the degree of collimation and the velocity of the resulting jet flow. From an initially split-monopole magnetic field configuration, collimated, non-stationary outflows were obtained (Ustyugova et al. 1995). In this simulation non-equilibrium initial conditions and a softened gravitational potential were used. For the same configuration, but for a stronger magnetic field, Romanova et al. (1997) again obtained stationary but only weakly collimated flows. Ouyed & Pudritz (1997) studied the jet formation embedded in a disk corona initially in hydrostatic equilibrium and in pressure balance with the disk surface. Essentially, after 400 disk rotations, a stationary collimated jet flow emerges. Similar results were obtained by another recent study taking into account also the time-dependent behavior of the disk boundary condition (namely the field inclination) due to the evolution of the disk wind (Krasnopolsky et al. 1999). The main advantage of the approach of a fixed disk boundary condition is the numerical stability of simulation over a long time scale. The jet launching itself - the process of diverting accreting matter in the disk into an outflow - cannot be treated this way.

The other approach was therefore to include the simulation of the disk structure in the simulation. The first step in this direction was made by Uchida & Shibata (1985) and Shibata & Uchida (1985, 1986) in their pioneering work considering time-dependent jet formation. Essentially, the authors show that the magnetic twist of the magnetic field induced by the rotation of the disk gives rise to Lorentz forces pushing the disk material upwards. The back-reaction of the magnetic field on the disk (magnetic braking) may lead to a sub-Keplerian disk rotation. These results have been confirmed by Stone & Norman (1994). MHD simulations considering the diffusive accretion disk in interaction with a stellar dipolar magnetosphere reveal the collapse of the inner disk after a few rotations (Hayashi et al. 1996; Goodson et al. 1997; Miller & Stone 1997). At the same time, episodic ejection of plasmoids are generated in outer parts of the disk wind. A collimated axial jet feature is observed. However, probably because of numerical reasons, these simulations could be performed only for a few or tens of Keplerian periods of the inner disk. Therefore, the results may depend strongly on the initial setup. The assumption of constant diffusivity in the disk and the corona is probably not very realistic.

The long-term evolution of such models has been investigated by FE00, however without treating the disk structure in the simulation. They find that the axial jet feature observed by Goodson et al. (1997) disappears on longer time-scales. A two-component quasi-stationary outflow (from disk and star) evolves after thousands of rotational periods. This flow is un-collimated on the spatial scales investigated, in agreement with the observations indicating a jet radius 100 times larger then the grid size of the numerical simulations discussed above.

Recent MHD simulations of the jet formation from accretion disks by Matsumoto et al. (1996), Kudoh et al. (1998, 2002b, 2002a), and Kato et al. (2002) investigate the disk-jet interrelation and may probably explain the time-dependent ejection mechanism in the jets. However, as we have pointed out above for the model setup of a magnetic dipole surrounded by a disk, these simulations also were carried out for several rotation periods only. The question remains as to how the system under consideration behaves on a long time scale. Further, the simulations apply the approach of ideal MHD, an approximation, which is most probably not strictly valid for accretion disks, especially for protostellar accretion disks. In this respect, the work by Kuwabara et al. (2000) is of particular interest as the authors extend the ideal MHD approach and include resistivity in the jet formation process. Comparing their simulations to the close environment of a supermassive black hole, Kuwabara et al. derive a critical value for the strength of magnetic diffusion. A normalized magnetic diffusivity below 0.05 may explain the observed activity in active galactic nuclei. In this case, the mass accretion and jet launching takes place intermittently. The paper also demonstrates the difficulty of carrying out such simulations, as gravity has been treated applying a softened potential. On the other hand, this simplification allows for a simulation lasting up to 5 rotations of the accretion torus.

Again, we note that it is just the limitation in the time evolution which lead us to the decision to take into account the accretion disk only as a boundary condition. In this paper, we are mainly interested in the jet formation process (acceleration and collimation) and not in the jet launching mechanism from the accretion disk. In particular, we think it is essential to investigate whether a jet actually survives also on long time scales.

### 3 Model setup and equations

The paradigm accepted in this paper is the jet launched from a diffusive, turbulent accretion disk around a young stellar object. We may expect that the turbulence pattern in the disk may also enter the disk corona and the jet, and that the jet flow itself is subject to turbulent diffusion. We will discuss this idea of a diffusive protostellar jet below. Despite the fact that we take into account the effect of magnetic diffusion for the jet formation, our model setup is similar to the models in OP97 and FE00.

#### 3.1 Resistive MHD equations

In order to model the time-dependent evolution of jet formation, the set of resistive MHD equations to be solved is

 (1)

 (2)

 (3)

 (4)

 (5)

 (6)

For the gas law we apply a polytropic equation of state, with a polytropic index . Hence, we do not solve the energy Eq. (4). Instead, the internal energy of the system is defined with . Such a simplification is not expected to affect the result of our simulations much, as the resistive dissipation term in the energy equation is negligible compared to the other terms because of the factor 1/c2 (see also Miller & Stone 1997). The magnetic diffusivity is denoted by the variable (see Sect. 3.3). Additional to the hydrostatic pressure p, an Alfvénic turbulent pressure with (see OP97, FE00) is included. Alfvén waves from the highly turbulent accretion disk are expected to propagate into the disk corona, providing the perturbations for some degree of turbulent motion also in the jet. As shown by OP97 the additional Alfvénic turbulent pressure is able to support a cold corona above a protostellar accretion disk as suggested by the observations.

We solve the equations above using the ZEUS-3D code (Stone & Norman 19921992) in the 2D-axisymmetry option for cylindrical coordinates . We apply a point mass gravitational potential located in the origin. A finite physical magnetic resistivity is added to the original ZEUS-3D ideal MHD code. Tests of our now diffusive ZEUS code are presented in the Appendix.

For our computations we normalize the variables to their value measured at the inner disk radius (see OP97, FE00), e.g. . The subscript "i'' assigns that the variables are taken at this radius. The time is measured in units of a Keplerian rotation at the inner disk radius. The normalized equation of motion eventually being solved with the code is

 (7)

The coefficients and with the Keplerian speed , correspond to the plasma beta and the Mach number of the gas at the inner disk radius. For a "cold'' corona with , it follows . In the following we will omit the primes and will discuss only normalized variables if not explicitly declared otherwise.
 Figure 1: Initial setup for the jet simulation. Shown is the part of the computational box close to the origin (the part of the "inner jet''). The initial hydrostatic density distribution is indicated by the thin concentric isocontours. Thick lines denote the initial poloidal field lines of a force-free potential field. Open with DEXTER

#### 3.2 Initial and boundary conditions

As the numerical simulation of a magnetized disk is still a difficult task and is not yet fully resolved, we chose to study the formation of the jet flow independent of the evolution of the accretion disk. A precise disk-wind theory would predict the amount of angular momentum and energy carried away from the disk. Here, we prescribe the disk as a fixed, time-independent boundary condition for the jet.

One may question the combination of a magnetically diffusive disk corona and a steady-state disk magnetic field distribution. Naturally, the time scales of the disk evolution are definitely longer than those for the jet flow (except for the unknown mechanism responsible for the jet knots). Also, for a disk jet, the disk is acting as a source for magnetic flux. This can be achieved either by a dynamo process working in the disk generating the magnetic field or just by advection of the interstellar magnetic field by the disk towards the central star. The time scale for both processes is longer than the jet time scale and, thus, we may safely assume a fixed magnetic flux as accretion disk boundary condition.

As initial condition we choose the same setup as OP97. The initial poloidal magnetic field is defined by the current-free potential field configuration of the -component of the vector potential, . The dimensionless disk thickness satisfying for z<0 is introduced in order to avoid any kinks in the field distribution. The initial coronal density distribution is in hydrostatic equilibrium, . The initial corona is defined by two free parameters and .

The disk itself as a boundary condition for the jet flow is in centrifugal balance and penetrated by a force-free magnetic field. As the disk boundary condition is time-independent, the initial potential field magnetic flux from the disk is concerned. The toroidal component of the magnetic field in the ghost zones (z<0) is chosen as , where is another free parameter. The mass flow rate from the disk surface into the corona is defined by the injection velocity and the density of the injected material. With the launching angle (measured from the jet axis), the velocity field in the ghost zone is for with as a free parameter. For the inflow velocity is set to zero, which actually defines the inner edge of the disk. The inflow density is given as , with as a free parameter.

Besides the disk "inflow'' boundary condition, the boundary condition along the symmetry axis is set as "reflecting'', and along the two remaining boundaries as "outflow'' (see also Stone & Norman 19921992; OP97; FE00). Figure 1 shows the initial setup of a hydrostatic density distribution together with the potential magnetic field for the part of the computational box close to the origin (the region of the "inner jet'').

Our choice for the free parameters is the following. We have , , , and , similar to OP97 and FE00 in order to allow for a comparison of the results. For the plasma- we choose (which is equivalent to OP97, but is based on the original ZEUS-3D normalization) or a lower value which has some numerical advantages. The lower does not change the general behavior of the jet. The jet evolution is faster (in physical time, not in CPU time) and the Alfvén surface is slightly shifted in z-direction, but the jet internal structure remains very similar.

 Figure 2: Global evolution of the jet on a grid of ( ) with a resolution of  elements. Shown is the state of evolution after t=400 rotations of the disk inner radius for different magnetic diffusivity, ( top), ( middle), and ( bottom). Thin lines denote 30 logarithmically spaced isocontours of density. Thick lines denote 20 and twenty linearly spaced magnetic flux surfaces (or poloidal field lines). The parameters are , , , , and . Note the preserved initial hydrostatic density and force-free field distribution in front of the bow shocks. The figure demonstrates that the bow shock advances slower with increasing diffusivity. Open with DEXTER

#### 3.3 Magnetic diffusion in jets

Most of the models of MHD jet formation deal with the collimation and acceleration of a plasma flow in the case of ideal MHD. However, it seems to us quite possible that magnetic diffusivity may play an important role in protostellar jet formation. There are (at least) two reasons which may account for that.

The first reason may be the fact that the jet material of young stellar objects is not fully ionized, in difference from the case of relativistic jets in AGN or microquasars. The fraction of ionization (the ratio of ion to neutral particle density) derived from optical observations is about 0.5 - 0.01 with the tendency to decrease along the jet (Hartigan et al. 1994; Bacciotti & Eislöffel 1999). From this it can be expected that diffusive effects may indeed affect the MHD configuration. Theoretical studies on this topic have just started recently. We refer to Frank et al. (1999) who investigated the asymptotic MHD jet equilibria under the influence of ambipolar diffusion, showing that the initial MHD configuration of the jet changes due to ambipolar diffusion at least on the parsec scale. Another reference is Ferreira (1997) who showed the essential role magnetic diffusion plays for the launching mechanism of the jet from the accretion disk.

The other reason for the existence of turbulence in the jet formation region is the fact that the jet launching object itself - the accretion disk - is highly turbulent. While turbulence is an intrinsic property of accretion disks (and necessary for the accretion process itself), turbulence can further be driven in the disk corona by the differential rotation of the disk, which winds-up the coronal magnetic loops leading to powerful reconnection processes (see Miller & Stone 2000).

It seems to be natural to expect that the turbulent pattern being definitely present in the disk-jet interaction region becomes also advected with the jet/wind flow into the domains at greater height above the disk. We just note that additionally the interaction of the jet with the ambient medium leading to various kinds of instabilities increase the turbulent pattern in the jet (however, we do not expect that the latter process does affect the jet collimation region).

In Faraday's law (3), the ratio of the first to the second terms in the brackets is the magnetic Reynolds number. It can be represented by , where L is a typical length scale and v is a typical velocity. Due to the large length scales in the astrophysical context, based on the microscopic diffusivity is very large compared to unity. For a fully ionized hydrogen plasma the microscopic diffusivity is , where is the classical electron radius, and is the electron thermal speed. For , , and L=100 AU we obtain .

 Figure 3: The evolution of the inner jet approaches the quasi-stationary state. Shown are poloidal magnetic field lines in the case of for different time steps, t = 250, 300, 350, 400( thick solid, thin solid, dashed and dotted lines). Same parameter setup as in Fig. 2, except . Grid size elements for a physical size of . The picture shows how the poloidal magnetic field lines diffuse outwards but approach a (quasi)-stationary state after 400 rotations (see the dashed and dotted lines almost coinciding). Open with DEXTER

 Figure 4: Magnetic diffusivity and global time scales. Left Global magnetic Reynolds number as defined from the scale of the computational box of the inner jet . Shown is the -profile along slices in z-direction at r =7,13,20 ( solid, dotted, dashed line, respectively), for the simulation run with , . The plot shows the variation of the typical velocity v, for which we have chosen the local Alfvén speed. Right Time of stationarity. This plot shows for different magnetic diffusivity the time period when the inner jet reaches a quasi-stationary state. This time is estimated from the evolution of the poloidal magnetic field lines (see Fig. 3) and the error bars indicate our uncertainty. Open with DEXTER

It is clear that the relevant diffusivity in the protostellar disk and jet is most probably "anomalous'' determined by macroscopic MHD instability phenomena (see above), with the resulting magnetic Reynolds number being much smaller. This magnetic turbulence we may parameterize the same way as in a Shakura-Sunyaev model for the hydrodynamical viscosity. We can define a turbulent magnetic diffusivity , where . As a characteristic velocity for the dynamical change of the system we might choose the poloidal Alfvén speed, . If we choose the size of our computational box as a typical length scale and , we obtain as the typical magnetic Reynolds number for the global jet evolution. In difference, typical length and time scales are different if we are interested in the evolution of the local jet structure (as needed for example for the definition of the numerical time stepping in the code).

It might be expected that the diffusivity throughout the jet and the disk corona differ considerably. However, it seems natural to expect the diffusivity in a corona close to the disk surface not to differ much from the value in the outer part of the disk. For simplicity, and since we are first interested in the general effect, our simulations are performed with a constant diffusivity parameter. To introduce a non-constant diffusivity is straight forward.

The local magnetic Reynolds number is also described by the ratio of the dynamic to the diffusive time scale . Here we may define and , where l is the size of the numerical grid cell. Because of the internal structure of the jet, these minimum values can sometimes be well below the actual global magnetic Reynolds number described above, which is determined by the characteristic length scale of our simulation .

It is interesting to note that in the model of OP97 a turbulent Alfvén pressure, , has been introduced in order to establish a pressure equilibrium of a cold corona (or jet) above the (hot) accretion disk. Although this turbulence effect was taken into account for the pressure balance, OP97 did not consider it as a reason for a turbulent magnetic diffusivity. However, it is straight forward to relate the Alfvénic turbulent pressure to a turbulent magnetic diffusivity . In order to derive such a relation, we now choose the turbulent velocity field instead of the local Alfvén speed as the typical velocity for the turbulent diffusivity,

 (8)

With the definition and taking into account the fact that for an adiabatic or polytropic gas law, we obtain

 (9)

The normalization gives

 (10)

With the condition of sub-Alfvénic turbulence OP97 derived = 0.03. With a typical value for and a "mean'' value for the normalized density we obtain for the normalized magnetic diffusivity

 (11)

Since the diffusivity changes only weakly with the density, , this provides a good estimate on the strength of magnetic diffusion. A self-consistent simulation would take into account the relation between diffusion and density as in Eq. (10). For comparison, we run a few of simulations with such a setup. So far, we find no significant difference to the computations with .

### 4 Results and discussion

We now discuss the results of our numerical simulations considering the MHD jet formation under the influence of magnetic diffusion. For this, we have run simulations with a different parameter setup. The simulations were performed (i) in domains of different physical size in order to investigate the influence of boundaries and to obtain information about the large-scale flow, and also (ii) with different numerical resolution.

We detected numerical artifacts (a spurious velocity pattern) in the corners of the grid where outflow boundary conditions meets the other (inflow, reflecting) boundary conditions. In general, this artifacts remain localized close to the corners of the grid over many hundred of disk rotations. All the results discussed in this paper are not affected by these effects as we mainly concentrate on the inner part of the jet flow. We performed one reference set of global simulations with high resolution (numerical mesh of grid points, physical grid of ). In order to investigate effects which concern only the gross behavior the jet flow and not its structure in detail, we run another set of simulations with lower resolution (numerical mesh of grid points, physical grid of ). The much faster computation of the low resolution simulations allowed us to follow the jet evolution for a very long time even in the case of a high magnetic diffusivity (up to 4000 disk rotations). The computational domain was a factor 2 shorter in direction of propagation. All other parameters were the same as for the high resolution runs.

#### 4.1 Formation of the global jet

The first point to be noted when comparing the large-scale evolution of the diffusive with the non-diffusive flow, is the different speed of the bow shock. With increasing magnetic diffusivity, the bow shock propagates slower. The bow shock pattern velocity is about 0.38, 0.35, 0.28 for , respectively (Fig. 2). We will later see that, in apparent contrast, the jet velocity increases with .

As in the case of ideal MHD simulations, before the bow shock front builds up, torsional Alfvén waves propagate from the disk surface into the corona slightly modifying the initial hydrostatic equilibrium. The super-Alfvénic flow catches up with and passes this wave front.

As the bow shock propagates through the corona it leaves behind a cavity of matter with dilute density and high velocity. The initially purely poloidal magnetic field becomes more and more helical. The toroidal magnetic field component is first generated by winding-up the initial poloidal field due to differential rotation between the disk and the static corona but later comes out as a natural result of the MHD flow due to the inertial forces of the matter.

The internal structure of the jet behind bow shock layer is smoother in the case of a non-vanishing magnetic diffusion (see Fig. 2). We note that also the "wiggly'' structure in the density distribution close to the disk in the case of is less prominent in the case of diffusive simulations. These "wiggles'' seem to be a numerical artifact probably due to the density jump between the disk and the jet, however, the density variations are only of the order of some percent.

Here, we note another important point. In this paper we were interested in the cases of a typical MHD jet flow starting as a sub-Alfvénic (but super-slow magnetosonic) flow from the disk surface, being accelerated to super Alfvénic and super-fast magnetosonic speed, as e.g. described in the paper by Blandford & Payne (1982). This case often described as a magneto-centrifugally driven disk wind/jet differs from the case where matter is injected into the disk corona already with super Alfvénic speed. The latter case applies in the case of a relatively weak disk poloidal magnetic field as for example in the case of a central dipolar field with a strong gradient in radial direction. These winds are initially driven by the (toroidal) magnetic field pressure gradient in vertical direction (Lovelace et al. 1987; Contopoulos 1994; Fendt & Elstner 2000).

In this paper we are interested only in the classical case of MHD jet formation. However, in our simulations we note that the Alfvén surface moves as a function of time until the quasi-stationary state (see below) is reached. For a smaller than moderate magnetic diffusivity ( ), the location of the Alfvén surface is always within the active zones well above the accretion disk boundary. For higher diffusivity the Alfvén surface may advance into the disk for small radii and the character of the MHD flow is changed. We do not consider these cases in our discussion.

#### 4.2 Inner jet

In the following we discuss the evolution of the inner substructure of the global jet close to the jet axis and the accretion disk. The size of this region is and is comparable e.g. to the full grid in OP97. This part of the jet is not influenced from any outflow boundary condition or the jet evolution on the global scale. Note that the major part of the global jet is super fast magnetosonic, hence, there is no (physical) way to transport information from this part in upstream direction into the inner jet.

#### 4.3 Quasi-stationary nature of the (inner) jet

As a major outcome of OP97 and FE00 it has been found that under a certain choice of boundary conditions the disk outflow may evolve into a stationary state after several hundreds of disk rotations. Such a stationary state solution provides an ideal test bed for investigation of the internal forces acting in the jet, since the well known equations of axisymmetric ideal MHD and its conservation laws may be used for interpretation of the jet flow.
 Figure 5: The de-collimation of the stationary state poloidal magnetic field due to magnetic diffusivity. Same parameter setup as in Fig. 3. Shown is the poloidal magnetic field line distribution of the inner jet in the state of quasi-stationarity (t=400) for vanishing diffusivity ( thick) and for ( thin). Open with DEXTER

 Figure 6: Comparison of poloidal velocity vectors. Shown are the poloidal velocity vectors at the time of quasi-stationarity. Over-plot of the velocity field for the simulation at t=350 with the simulation at t=400. The de-collimation visible in the poloidal magnetic field lines (see Fig. 5) is not present here. The thick line indicates the Alfvén surface for , the thin line the fast magnetosonic surface. Open with DEXTER

In our present simulations considering the MHD jet formation under the influence of magnetic diffusion, we also find such stationary states. We denote them as quasi-stationary since - due to the large computational domain - such a behavior can be seen only in the inner region within reasonable computational time. The outer regions surrounding the (inner) stationary jet flow will further evolve in time. For the area of the inner jet the stationary state is reached after approximately t=350 disk rotations in the case of ideal MHD. This time scale can be quite different in the case of a non-vanishing magnetic diffusion and also depends on the plasma-beta parameter . Note that in spite of considering magnetic diffusivity, we use the same parameter setup as OP97 and FE00.

Figure 3 shows an over-plot of poloidal magnetic field lines resulting from our simulations at the time steps of t=250, 300, 350, 400 disk rotations, respectively, in the case of relatively large magnetic diffusion . It can clearly be seen how the poloidal magnetic field lines first diffuse outwards from their position at t=250 (which is close to the non-diffusive field distribution, see also Fig. 5). After some hundred of rotations more, the field distribution approaches the quasi-stationary state (note the dotted lines almost matching the dashed ones).

First, we note that the existence of such a quasi-stationary state might not necessarily be expected in the case of magnetic diffusion and instead one might think that the magnetic field will just decay forever. The reason, why a stationary state is possible in the case of a jet flow, is that with such a setup a loss of magnetic energy in the jet caused by diffusion can be replenished by the constant Poynting flux rising from the disk. This energy reservoir can be thought of as established constantly by the disk rotation and accretion and eventually by the gravitational potential of the central star. Note that also in the ideal MHD case the jet flow carries energy out of the computational box. Also this energy loss is balanced by the same way. The additional effect due to magnetic diffusivity is small compared to the total energy flow in the jet.

In general, our simulations show that with increasing the flow reaches the quasi-stationary state at a later time. For a smaller than moderate magnetic diffusivity ( ), we find an approximately linear relation between this time and the diffusivity (Fig. 4, right panel). This is also the range where the jet flow is a classical MHD jet like the Blandford-Payne solution, starting as a sub-Alfvénic flow from the disk surface and crossing the Alfvén surface at some height above the disk. For higher diffusivity the Alfvén surface has been advanced into the disk for small radii and the character of the MHD flow is changed. We do not consider these cases in particular, however, we show the time of quasi-stationary state for completeness. For comparison, the local time step accounting for magnetic diffusion and the Alfvén time step, together with the global magnetic Reynolds number (defined by the jet size and a mean value for the jet Alfvén speed, see Sect. 3.3) and the related are given in the Appendix in Table B.1 for the time when the quasi-stationary state is reached. In Table B.1 we have chosen a "typical'' value for the Alfvén speed within the grid of the inner jet. That this is feasible, is shown in Fig. 4 (left) where we plot the variation of along the jet in the case . As does not change along the jet by more than a factor of two (this is similar for other diffusivity), this value provides a good estimate for the global jet dynamical behavior.

 Figure 7: Variation of the jet velocity and magnetic field with different magnetic diffusivity, ( solid), ( dashed), ( dotted). Shown is the profile of the poloidal ( left) and toroidal ( right) components of the velocity ( top) and the magnetic field ( bottom) in z-direction at r=15 at the time of quasi-stationarity. The velocity components increase, while the magnetic field strength decreases with increasing . Note the different scales for and . The boundary value for the toroidal velocity is the Keplerian value at r=15. Open with DEXTER

#### 4.4 Jet velocity and collimation

The most interesting, since directly observable, quantities of a jet are its velocity and degree of collimation. In Fig. 6 we show the poloidal velocity vectors in the inner jet for a simulation without and with considering magnetic diffusion ( and ), taken at that time step, when the flow has reached the quasi-stationary state.

The general point to mention is that the figures clearly show the self-collimating property of the MHD flow as the velocity vectors become more and more aligned with the jet axis as we go along the flow. However, there exists also a region of low collimation close to the disk where the velocity vectors point in radial direction (with half opening angle).

For the low magnetic diffusivity () simulations we have observed an interesting feature. The apparent de-collimation of the poloidal magnetic field structure (Fig. 5), which is already present for a weak magnetic diffusivity ( ), is, however, not visible in the poloidal velocity (Fig. 6). In both cases, the flow evolution has reached a quasi-stationary state (t=400). In contrast to ideal MHD, in the case of diffusive MHD, a miss-alignment between and is possible. Up to the mismatch between the poloidal velocity and magnetic field vector is relatively weak for large z and about  at intermediate heights above the disk. That means that we generally get a collimated stream along the axis, however, the mass load distribution varies implying a variation of the mass flow rate through the r and z-boundaries with . If a larger magnetic diffusivity () is applied, we observe also a de-collimation of the mass flow (see below).

In general, both the poloidal and toroidal velocity increase with increasing diffusivity. At the same time, the magnetic field components decrease with the increasing diffusivity. This is shown in Fig. 7 where we plot the velocity and field components along jet at a distance of 15 ri from the jet axis. Thus, as a conclusion, the diffusive jet becomes faster. We discuss that point below in the context of the Lorentz forces acting in the jet.

However, two points should be mentioned concerning Fig. 7. The first is the decrease of toroidal velocity just above the disk surface. As the field line foot points rotate with Keplerian speed and the matter is corotating with the field lines, one would actually expect an increase of toroidal velocity, if the magnetic field is dominated by the poloidal component. In our case, we find at a certain radius along the disk surface that . Thus, the matter may substantially slide along the field. Just above the disk, the toroidal field strength first increases with height, and the slide along the field line becomes larger.

The second point is the fact that - unlike the poloidal velocity - the magnetic field strength and the toroidal velocity do not seem to match the given boundary condition along the disk surface for the case of non-vanishing diffusivity. The reason is the jump in diffusivity between the disk (boundary condition) and the disk corona (active zones of the grid). The magnetic field lines are frozen-in the accretion disk, but when leaving the disk surface, they are immediately affected by magnetic diffusion. Thus, the magnetic field strength in the active zones of the grid (which are shown in Fig. 7) deviates from the boundary value in the case of a non vanishing diffusivity. In the stationary state solutions shown in Fig. 7 an equilibrium state has been reached between magnetic field diffusion and advection. We see that at this radius (r=15) the field strength has increased for the region immediately above the disk.

The observed de-collimation of the matter flow with increasing diffusivity is most evident if we plot the mass and momentum fluxes across the boundaries of the inner jet region. We define the fluxes across surfaces parallel to the accretion disk boundary by

 (12)

These are the mass flux and the kinetic z-momentum (i.e. momentum in z-direction) flux along the jet axis. For the inner jet and the integration is along . The flux away from the jet axis (thus, in r-direction) is defined correspondingly by the integration along the -boundary from z=0 to . The corresponding flux into the jet (thus, prescribed by the disk boundary condition) has to be integrated along the z=0 axis. Signature of a good degree of collimation would be the fact that most of the mass and/or momentum flux is directed along the jet axis.

Figure 8 shows how the mass and momentum fluxes for different diffusivity evolve in time. We show the mass flux across the r and the z-boundary and the kinetic momentum flux in r and the z-direction integrated along both outflow boundaries.

The large mass and momentum fluxes for the outflow during the first 100 - 200 rotations result from the fact that at these stages the initial hydrostatic corona is being pushed out of the grid of the inner jet. After the the bow-shock has left the inner grid, this initial coronal mass reservoir has been swept out and the remaining mass flow in the jet is given purely by the mass injection rate from the disk boundary condition.

In the stationary state the mass inflow from the disk boundary into the jet must be equal to the mass loss across the boundaries in r- and z-direction. That this is true in our simulations can be seen in Fig. 8 on the long time scale if we compare the solid line (inflow condition) to the sum of the dotted (radial outflow) and the dashed lines (axial outflow). The analytical value for the mass rate as integrated from the given inflow boundary condition is which is in good agreement with the numerical result. Note that for the momentum flux a similar analytical integration gives a momentum flux from the disk into the jet of , which is much below the numerical value at the first active zone. As the momentum flux is not conserved as the matter becomes accelerated in the jet, this shows the tremendous gain of kinetic energy of the MHD flow. As a good estimate, the kinetic momentum flux in z-direction across the boundary is just the integrated mass flow rate times the mean vz-velocity at this position. In the case of vanishing diffusivity we have which is similar to our numerically integrated momentum flux.

Now we compare the fluxes for simulations with different magnetic diffusivity. For the simulation run with (Fig. 8, bottom panel) we have a mass inflow rate of 1.5 (in dimensionless units). The mass loss rate across the grid boundaries is about 0.45 in z-direction and 1.05 in r-direction. Compared to the corresponding values in the case of , where about 70% of the mass flow leaves the box in z-direction, this clearly shows that the mass flow for is less collimated. This situation is even more evident for the simulations with higher diffusivity , where, however, the mass injection from the disk boundary is partly super-Alfvénic (not shown). Thus, even if the velocity vectors have more or less the same direction for diffusivity up to , the mass load along the stream lines is different due to the fact the matter, driven by centrifugal forces, may diffuse outwards across the magnetic field lines enhancing the mass flow rate in radial direction.

At this point it might be interesting to discuss the results of recent diffusive MHD simulations of the jet formation out of the accretion disk (Kuwabara et al. 2000). These authors find that the jet launching from the disk critically depends on the strength of the magnetic diffusivity. For small diffusivity, mass accretion in the disk and jet formation take place occasionally. For intermediate diffusivity the disk-jet system may reach a steady state. For high diffusivity the accretion rate and outflow rate decrease with diffusivity and may even vanish. In respect to our results, these results imply that the only way to launch a stationary MHD jet is indeed to allow for a reasonable amount of magnetic diffusion. Further, as we find less collimation for higher diffusivity or, equivalently, a weaker jet, such a state of stationary jet formation may become less important as the mass flow rates in the disk and the outflow decrease substantially. It would therefore be of great importance to follow the simulations of Kuwabara et al. (2000) for longer time scales comparable to our runs.

If we eventually define the degree of jet collimation by the mass flux across the jet boundaries, our simulations reveal the existence of a critical value of the magnetic diffusivity in this respect. In Fig. 9 the ratio of the mass flux leaving the grid in z-direction to that in r-direction is shown for different magnetic diffusivity for the time when the bow shock has left the inner box. This figure shows directly that for a high diffusivity mass flux ratio exceeds unity, indicating a weakly collimated mass flow. Figures 8 and 9 clearly show that for our model setup there exists a critical value of the magnetic diffusivity, . In the simulations with the MHD flow evolves into a collimated stream. In contrary, for the flow remains only weakly collimated. The actual value for the critical depends on the plasma beta . In our standard setup chosen for Figs. 8 and 9, we find ,

We note that the momentum flux gives somewhat different picture. The momentum flux in z-direction is always larger than that in r-direction. For our setup we obtain a ratio of about 5-8 when we compare the momentum fluxes in each direction. This demonstrates first the very high efficiency of rotating MHD flow in converting rotational kinetic energy into poloidal kinetic flux. In this respect, if we would define the degree of collimation by the momentum fluxes, our jets would perfectly collimated also for higher diffusivity. This leaves the question of how the degree of jet collimation is properly defined. Clearly, for diffusive MHD jets the field structure is not an accurate measure of propagation. What concerns the observational appearance, the mass flow distribution (or actually the density distribution) would be the theoretical equivalent to the observed intensity (as long as no emission maps can be provided by the simulations).

In summary, we propose that the mass flux gives the best measure of the degree of collimation. In our simulations we see a strong indication for the existence of a critical value of the magnetic diffusivity beyond which such a collimation cannot really be obtained.

 Figure 8: Time evolution of the mass flux and kinetic momentum flux for different magnetic diffusivity, ( top, middle and bottom figures, respectively), in the inner part of the jet, . The final point of each line corresponds to the end of the simulation when the (quasi-) stationary state has been reached. Shown is the mass flux ( left) across the different boundaries. The mass inflow across the first active grid cells along the (z=0)-boundary ( solid), across the outer ( ) axial boundary ( dashed), and across the outer ( ) radial boundary ( dotted). Also shown is the kinetic momentum flux across the boundaries ( right). Poloidal kinetic momentum flux across the first active grid cells along the (z=0)-boundary ( solid). Note that this is already evolved from the value of the boundary condition. Momentum flux in z-direction integrated along the outflow boundaries ( dashed). Momentum flux in r-direction integrated along the outflow boundaries ( dotted). Open with DEXTER

#### 4.5 Lorentz forces in the jet

Here, we deal with the question how the jet internal structure is modified by the effect of magnetic diffusivity as a result of our numerical simulations. Compared to the ideal MHD simulation (OP97) our results of (i) a de-collimation of the poloidal magnetic field structure for any value of magnetic diffusivity, (ii) a de-collimation of the hydrodynamic flow for strong diffusion and (iii) an increase of the jet velocity with increasing diffusivity are obtained purely by adding a physical magnetic diffusivity to the originally ideal MHD code.

As the flow evolution in the MHD simulation results from a combination of various physical effects - magnetic and inertial forces, pressure and gravity - it is not straight forward to distinguish between these contributions.

However, it seems to be clear that magnetic fields are the main driver for the flow acceleration and self-collimation and that, consequently, the addition of magnetic diffusion will modify the MHD structure of the jet. Therefore, investigating the Lorentz forces in the quasi-stationary state may provide some insight into the physical mechanisms at work.

At this point it might be instructive to recall in brief the basic mechanisms of MHD jet formation. Following the standard model (e.g. Blandford & Payne 1982; Ferreira 1997), a jet is launched as a sub-Alfvénic disk wind (by some unspecified - but also unknown - process) and becomes accelerated by magneto-centrifugal forces in a strong poloidal magnetic field at first hand. As the flow approaches the Alfvén surface, a toroidal magnetic field component is induced ("wound-up'') due to the inertial back-reaction of the matter on the field. The toroidal field may lead to (de-) accelerating Lorentz forces and (de-) collimating forces where, here, the perpendicular and parallel projection is made with respect to the poloidal magnetic field (which, only in the case of ideal stationary MHD is parallel to the poloidal velocity). The toroidal Lorentz force affects the angular velocity of the matter, disturbing the centrifugal balance and, thus, give rise also to a poloidal motion.

Therefore, a change in the jet acceleration and collimation might be explained by the interplay of two mechanisms. First, the winding-up of the poloidal magnetic fields is less efficient since magnetic diffusion leads to a slip of matter across the field. As a consequence, the induced toroidal magnetic field is weaker leading to a less efficient acceleration by Lorentz forces but also to a de-collimation. This effect applies predominantly in the super-Alfvénic regime. Second, as a de-collimation of the poloidal magnetic structure also implies a smaller launching angle for the sub-Alfvénic flow, the magneto-centrifugal acceleration mechanism may work more effective. As a consequence, the resulting fluid velocities in the jet should be larger, as indeed suggested by our simulations (Fig. 7).

 Figure 9: Time evolution of the mass flow ratio between the radial outflow boundary (mass flow in r-direction) and the axial outflow boundary (mass flow in z-direction) for different magnetic diffusivity, ( solid, dashed and dotted line, respectively), in the inner part of the jet, . The final point of each line correspond to the end of the simulation when the (quasi-) stationary state has been reached. For higher diffusivity, the mass flux ratio in the quasi-stationary state increases indicating a decrease in degree of collimation. Open with DEXTER

In Fig. 10 we show for different magnetic diffusivity the Lorentz force components along a field line (or, respectively, along the corresponding magnetic flux surface) leaving the numerical grid of the inner jet at (r=20,z=60). Note that due to the magnetic field de-collimation with , we compare different magnetic flux surfaces. These flux surfaces have their foot point between r=5 and r=8 along the disk surface and the Alfvén point at about z=25, 15, 5 ( ). The figure shows the Lorentz force components , , and the corresponding acceleration of the fluid .

The first point to mention is that the magnitude of the Lorentz force generally increases with increasing magnetic diffusivity. This is interesting insofar as the magnetic field strength decreases with increasing diffusion (Fig. 7). The Lorentz force has its maximum in that region before the Alfvén point where the curvature of the poloidal field is largest. Thus, magnetic acceleration mainly works in this regime.

This picture of an acceleration purely by magnetic forces is complementary to the above mentioned picture of an enhanced magneto-centrifugal effect. For the parallel component this may directly lead to the observed increase in the poloidal velocity with increasing magnetic diffusivity (see Fig. 7). Additionally, the higher velocity also leads to stronger inertial forces and, for moderate heights above the disk, the diffusive plasma flow will tend to maintain its (radial) direction even if the field lines bend in direction of the jet axis. This will re-distribute the mass flow distribution along the field line. The parallel component decreases rapidly with increasing z as it can be expected when the jet flow becomes more and more collimated. The same holds for the toroidal Lorentz force component. This component accelerates the plasma in toroidal direction leading to an additional centrifugal effect which drives the matter in radial direction diffusing across the magnetic field. This is the reason for the increase of the mass flow rate along the outer stream lines with increasing diffusivity.

 Figure 10: Lorentz forces in the jet for different magnetic diffusivity ( solid, dashed, dotted lines). Left (Normalized) values of the force component perpendicular ( top) and parallel ( middle) to the field line and the toroidal component ( bottom), , , , along a flux surface leaving the box of the inner jet close to (R=20,Z=60)-corner (see Fig. 3 or Fig. 5). For the positive sign denotes the r-direction (de-collimating force). For the positive sign denotes the z-direction (accelerating force). For the positive sign denotes the -direction. Right Corresponding values of the magnetic acceleration , , . Open with DEXTER

While the curves for the three Lorentz force components look quite similar at a first glimpse, we see that the corresponding components for the acceleration are somewhat different. The perpendicular (collimating) component of the acceleration remains on a rather high level throughout the (inner) box. That means that also in the asymptotic regime of the collimated jet these forces continue to collimate the jet flow.

On the other hand, compared to the perpendicular component, the parallel and the components of the corresponding acceleration have a steeper maximum and decrease to an only marginal strength beyond the Alfvén point. This is what one would expect also from the standard MHD jet model.

For and , we see only a slight difference for the strength of the perpendicular components of force and acceleration at the large distances. Therefore, the degree of local flow collimation should be similar, as it is indeed visible in the poloidal velocity vectors, which are well aligned for the diffusivity considered (Fig. 6). However, we note the larger deviation of the perpendicular components for , which mirrors the fact that in this case we are above the critical value  concerning the mass flow collimation (Fig. 8).

In summary, our discussion of the Lorentz forces and its associated acceleration gives a self-consistent picture of what we have observed in our numerical simulation. The perpendicular Lorentz force is essential for the collimation throughout the entire (inner) flow. The increase of the parallel Lorentz force for higher magnetic diffusivity gives rise to the higher velocities in the jet flow. The toroidal Lorentz force leads to an additional centrifugal effect enhancing the mass flow rate in the outer (yet un-collimated) parts of the jet flow.

### 5 Summary

In this paper we presented time-dependent simulations of the formation of axisymmetric protostellar MHD jets. In particular, we were considering the effects of resistive MHD on the collimation and acceleration of the jet flow. Similar to recent simulations considering the ideal MHD case (Ouyed & Pudritz 1997; Fendt & Elstner 2000), the accretion disk has been taken as a fixed boundary condition during the simulation, prescribing the mass flow rate and the magnetic flux distribution. Our initial condition is a force-free magnetic field in a hydrostatic corona. Our simulations were performed on a grid of ( ) inner disk radii with grid elements or on a grid of inner disk radii with  grid elements. We find that in general the low resolution simulations were sufficient to cover all physical effects observed in the higher resolution runs. In our discussion we mostly concentrate on the structure of the inner jet which is the region of inner disk radii close to the star. We summarize our results as follows.

(1)
We have successfully implemented the physical magnetic diffusivity into the ZEUS-3D code.
(2)
We have discussed some analytical estimates about the strength of magnetic diffusivity in protostellar jets. We derive the distribution of magnetic diffusivity self-consistent to the turbulent Alfvénic pressure which is underlying our simulations and also present in the simulations of other authors. Our simulations, however, are performed with a constant diffusivity. Our main results do not depend on the actual distribution of magnetic diffusivity.
(3)
In the global scale of our simulation, the jet bow shock advances slower through the initial hydrostatic corona for the diffusive jets. The reason is the lower mass flux in the direction along the jet axis in these jets. As expected, the internal structure of the jet is less disturbed in the case of diffusion. The Alfvén surface comes closer to the disk surface.
(3)
For our model setup we find that, similar to the case of ideal MHD jets (Ouyed & Pudritz 1997; Fendt & Elstner 2000), also resistive MHD jets can reach a quasi-stationary state. With increasing magnetic diffusivity, the quasi-stationary state of the jet is reached later.
(4)
With increasing diffusivity the jet velocity increases. The direction of the velocity vectors does, however, only change weakly. At the same time the poloidal magnetic field distribution becomes increasingly de-collimated.
(5)
As a proper measure of the degree of collimation we suggest the mass flux. If we compare the mass flow rates through the grid boundaries for different diffusivity we find strong indication for the existence of a critical value for the magnetic diffusivity concerning the jet collimation. Beyond this value we still find an almost cylindrically collimated stream along the jet axis, however, the bulk mass flow is in radial direction. For our setup, the critical (normalized) diffusivity is about .
(6)
We discuss a self-consistent picture where these effects of jet de-collimation and acceleration are explained in the context of Lorentz forces. The perpendicular Lorentz force is essential for the collimation throughout the entire flow along the jet axis. The parallel Lorentz force increases for increasing magnetic diffusivity and gives rise to the higher velocities in the jet flow. The toroidal Lorentz force accelerates the plasma in toroidal direction. This leads to additional centrifugal forces re-distributing the mass flow rates across the magnetic flux surfaces towards the outer (yet un-collimated) parts of the flow. The latter two components play no role for larger distances along the flow.
With our results we have shown that magnetic diffusivity plays indeed a role for the jet formation process. Turbulence as a natural (and necessary) property of accretion disks will naturally enter the disk wind and will be further advected into the jet. As we see in our simulations only a weak collimation for a high magnetic diffusivity, a hypothetical, and for sure exaggerated, conclusion might therefore be that highly turbulent disks cannot drive a collimated jet mass flow. Such a claim may eventually be tested by the astronomical observation and may also give some hint to answer the question why some disks have jets and some do not.

Our present study should be understood as a first step in the right direction. Future work may improve the numerical resolution and the grid size but may also consider e.g. an additional central stellar magnetosphere as a boundary condition. The most interesting (but also most difficult) prospect would be to include the evolution of the disk structure in the simulation.

Acknowledgements
We thank the LCA team and M. Norman for the possibility to use the ZEUS-3D code. We acknowledge helpful discussions with D. Elstner, U. Ziegler and R. Ouyed. This work was partly financed by the German science foundation in the DFG Schwerpunktprogramm "Physik der Sternentstehung'' (FE490/2-1). The referee, Takahiro Kudoh, is acknowledged for useful advice concerning the presentation of our results and for drawing our attention to some very recent papers in the literature.

### Appendix A: Numerical tests

As we have introduced the effect of physical magnetic diffusivity into the ideal MHD ZEUS-3D code, careful tests were necessary to prove our implementation. In particular we checked the time scales introduced by magnetic diffusion and the behavior along the boundaries. The boundary conditions for an axisymmetric jet ("outflow'', "inflow ''and "reflecting'') are quite different from what is e.g. needed in box simulations used for other scientific questions.

We defined two numerical tests for our diffusive code. In both cases the code basically solves the diffusion equation. We obtained this limit by setting the initial density in the simulation to arbitrarily large values (here the normalized ) effectively reducing any fluid motions in our simulations. The first test example is the analytical solution of the diffusion equation in Cartesian coordinates, the second example an axisymmetric torus of purely toroidal magnetic field in cylindrical coordinates.

 Figure A.1: Numerical test of magnetic diffusion. Grid size elements for a normalized physical grid . Left: Isocontours of the magnetic field strength Bz(x,y) (normalized units) for different time steps , ( solid line), ( dashed line). Right: Normalized intensity profile of the magnetic field strength across the two-dimensional box along x=1 for different time steps with ( top to bottom curve). Comparison between the analytical solution solid lines and the numerical simulation ( dashed lines).

#### A.1 Analytical solution to the diffusion equation

In Cartesian coordinates (x,y,z) the solution of the one dimensional diffusion equation for infinite space is

 (A.1)

with the magnetic diffusivity .

As a test for our code, we choose as initial condition the magnetic field Bz(x,y) = Bz(y) for a certain time t=t0 from Eq. (A.1). For the two-dimensional numerical grid we prescribe "free'' (i.e. outflow) boundary conditions in x-direction and a time-varying field for the boundaries in y-direction.

Figure A.1 show the result of our simulations for the time steps ( ) for a magnetic diffusivity in comparison with the analytical results. As result, we obtain a perfect agreement between the numerical simulation and the analytical solution.

#### A.2 Toroidal field torus

Here, our aim is to check how our code treats magnetic diffusion in cylindrical coordinates, along the outflow boundary in r-direction and along the symmetry axis. As initial condition, we define a torus of toroidal magnetic field

 (A.2)

Figure A.2 show the result of our simulations for the time steps ( ) for a magnetic diffusivity in comparison with the analytical results. The simulation shows how the peak of the field distribution moves slightly inwards from its initial central position as the field diffuses. Note that as the field diffuses outwards the volume over which the toroidal field is distributed increases. Therefore the decrease in field strength in outward direction. Along the symmetry axis the field strength remains zero, whereas the field strength along the outflow boundaries increases. No boundary condition is prescribed here.

Although there is no analytical solution to compare with, this simulation gives again convincing evidence that we properly incorporated the magnetic diffusion in the ZEUS-3D code.

 Figure A.2: Numerical test of magnetic diffusion in cylindrical coordinates. Grid size elements for a normalized physical grid . Left: Isocontours of the toroidal magnetic field strength for different time steps , ( solid line), ( dashed line). Right: Normalized intensity profile of the magnetic field strength across the two-dimensional box along z=5 for different time steps with ( top to bottom curve).

### Appendix B: Time scales in the simulation

Table B.1 shows the time scales and typical number values applied in our jet simulations for different magnetic diffusivity . As an example we refer to the simulation runs with relatively low numerical resolution. The diffusive time step (i.e. the local time scale for magnetic diffusion) is with the size of the grid element . For comparison we show the Alfvén time step . The other two numbers consider the global evolution of the jet flow. For the magnetic Reynolds number we have considered the global size of the jet and similar for the magnetic turbulence parameter  .

 Rm 0 0.258 0 0.1 0.625 0.293 40 0.025 0.15 0.417 0.084 30 0.033 0.25 0.25 0.136 20 0.05 0.5 0.125 0.080 10 0.1 1 0.063 0.183 8 0.125 2.5 0.025 1.394 4 0.25