The NBEAMS module contains routines for the calculation of neutral beam heating and current drive quantities in tokamak plasmas. It calculates the NB deposition profile, profiles of the NB heating power deposited to the background ions and electrons, various NB current drive quantities and, optionally, several beam-target fusion quantities.

This module was developed originally by the author for the ITER systems code "SuperCode" and it was used extensively during the ITER CDA and EDA designs.

The calculation is approximate (it is based on the diffuse beam approximation and it assumes a simplified flux surface geometry) but computationally fast. The module is intended to be used in simulations where a realistic NB heating profile is desired, but the full accuracy of more detailed (and computationally expensive) codes such as NFREYA is not necessary.