Skip to content

calc_LR.m

Basic Information

  SYNTAX:  [tau,Lp,Res,eta,Lp0] = calc_LR(R0,a,kappa,li,Te,Zeff,lnlam,ne)

  PURPOSE:  Calculate decay time for plasma

  INPUTS:
    R0 = major radius [m]
    a = minor radius [m]
    kappa = elongation
    li = (optional) internal inductance (default = 0.85)
    Te = electron temperature [eV]
    Zeff = (optional) effective charge state (default=1)
    lnlam = (optional) Coulomb logarithm ln(Lambda) (default=15)
    ne = (optional) electron density [m^-3] (if present, calculates lnlam
        from lnlam = 31 - ln(sqrt(ne)/Te) and ignores input lnlam)

  OUTPUTS:
    tau = resistive decay L/R time constant [s]
    Lp = plasma self inductance (calculated with sind.m) [H]
    Res = plasma resistance [Ohm]
    eta = resistivity [Ohm-m]
    Lp0 = Shafranov expression with kappa correction

  RESTRICTIONS:
    All quantities scalars now.

  METHOD:
    From Chen, p. 183:
            eta = 5.2e-5*Zeff*lnlam/(Te^1.5); Pl.restvty ohm-m Spitzer
    From Hutchinson, p. 19:
        lnlam = 31 - log(sqrt(ne)/Te);  valid for Te>10 eV

Dependencies