Entry 13 ======== .. image:: entry13.png :width: 800 `Video `__ Authors ------- - Haifeng Yang How stars are formed is one of the big questions in astronomy. Answering this question helps us to understand the origin of our solar system. Currently people believe there to be proto-stellar disks around the forming stars. On the other hand, moderate magnetic field was observed in molecular clouds, where stars are forming. However, these two facts kind of conflict each other. A magnetized cloud will concentrate the magnetic field lines as it collapses and eventually introduce a big torque to the rotation supported disk. A moderately strong magnetic field is enough to prevent a disk from forming. This is called magnetic braking catastrophe and is still an open question to answer. Numerical simulation is one way to address such problems. This visualization comes from a magnetic hydrodynamic simulation done with Adaptive-Mesh-Refinement code `ENZO `__. Constrain Transfer method was applied to clean up the divergence of magnetic field and the star is treated as a sink particle in this simulation. Under the help of `yt `__, I am able to show the density contour together with the magnetic field lines. A single color map is applied for density contour for all frames. The appearance of denser part after several frames shows the accretion of matter. The magnetic field lines are colored by the height, a.k.a. the :math:`z` coordinate, to give a sense of spacial depth. We can see as the matter starts to concentrate, the magnetic field lines start to pinch heavily towards the center. This is typical in star formation and may lead to reconnection, which is essential in understanding and solving magnetic braking catastrophe. This visualization goes through 26 frames of the simulation and span a time of 4200 years. After reaching the last frame, 72 more images were rendered showing the rotation of viewing angle. After the rendering of images, Sam Skillman's script was applied to fix the brightness. Products -------- - `Video `__ Source ------ .. literalinclude:: streamline.py .. literalinclude:: draw_line.py - `Data for last frame `__