  Two-dimensional magnetohydrodynamic simulations are performed using the
ZEUS-2D code to investigate the dynamics of a collapsar that generates a GRB
jet, taking account of realistic equation of state, neutrino cooling and
heating processes, magnetic fields, and gravitational force from the central
black hole and self gravity. It is found that neutrino heating processes are
not so efficient to launch a jet in this study. It is also found that a jet is
launched mainly by B_\phi fields that are amplified by the winding-up effect.
However, since the ratio of total energy relative to the rest mass energy in
the jet is not so high as several hundred, we conclude that the jets seen in
this study are not be a GRB jet. This result suggests that general relativistic
effects, which are not included in this study, will be important to generate a
GRB jet. Also, the accretion disk with magnetic fields may still play an
important role to launch a GRB jet, although a simulation for much longer
physical time (\sim 10-100 s) is required to confirm this effect. It is shown
that considerable amount of 56Ni is synthesized in the accretion disk. Thus
there will be a possibility for the accretion disk to supply sufficient amount
of 56Ni required to explain the luminosity of a hypernova. Also, it is shown
that neutron-rich matter due to electron captures with high entropy per baryon
is ejected along the polar axis. Moreover, it is found that the electron
fraction becomes larger than 0.5 around the polar axis near the black hole by
\nu_e capture at the region. Thus there will be a possibility that r-process
and r/p-process nucleosynthesis occur at these regions. Finally, much neutrons
will be ejected from the jet, which suggests that signals from the neutron
decays may be observed as the delayed bump of afterglow or gamma-rays.
