A two-dimensional code for an axisymmetrical plasma direct energy converter (PDC), the Kyoto University Numerical Analysis for Ion Trajectories in Axisymmetrical System (KUNAITAS), has been developed with the aid of the two-dimensional code Kyoto University Advanced DART (KUAD), including evaluation of atomic processes. The two-dimensional code was applied successfully to a PDC design for the Fusion Engineering Facility based on mirror confinement, with space-charge effects taken into account, yielding ∼60% recovery efficiency at pressures of 10−4 Pa. Calculations are made for particle trajectories of incident ions, slow ions and electrons, and secondary electrons in the presence of expanding magnetic fields and self-consistent electric fields with particle trajectories.