The function p(Ψ) and g(Ψ) in the GS equation are free functions which must be specified by users before solving the GS equation. Next, we discuss one way to specify the free functions. Following Ref. [16], we take P(Ψ) and g(Ψ) to be of the forms
| (415) |
| (416) |
with and ĝ chosen to be of polynomial form:
| (417) |
| (418) |
where
| (419) |
with Ψb the value of Ψ on the boundary, Ψa the value of Ψ on the magnetic axis, α, β, γ, P0, Pb, and g0 are free parameters. Using the profiles of P and g given by Eqs. (415) and (416), we obtain
| (420) |
where Δ = Ψb − Ψa, and
| (421) |
Then the term on the r.h.s (nonlinear source term) of the GS equation is written
| (422) |
The value of parameters P0, Pb, and g0 in Eqs. (415) and (416), and the value of α and β in Eqs. (417) and (418) can be chosen arbitrarily. The parameter γ is used to set the value of the total toroidal current. The toroidal current density is given by Eq. (548), i.e.,
| (423) |
which can be integrated over the poloidal cross section within the boundary magnetic surface to give the total toroidal current,
Using
| (425) |
Eq. (424) is written as
| (426) |
from which we solve for γ, giving
| (427) |
If the total toroidal current Iϕ is given, Eq. (427) can be used to determine the value of γ.