Skip to content

atomic number vs ion density #2069

@ddudt

Description

@ddudt

Presently, we do not allow the user to specify the ion density profile directly. Instead, we input the atomic_number $Z_{eff}$ and then compute the ion density as:

$n_i = \frac{n_e}{Z_{eff}}$

However, the effective atomic number is commonly computed as:

$Z_{eff} = \frac{\Sigma n_i Z_i^2}{n_e}$

This will result in an incorrect ion density profile. What we really mean is the "average" atomic number defined as:

$Z_{avg} = \frac{\Sigma n_i Z_i}{n_e}$

I see two solutions to resolve this issue:

  1. Update the documentation for the existing atomic_number profile and "Zeff" compute quantity to clarify that it is really the "average" atomic number.
  2. Add a new equilibrium profile for ion_density. This would be an optional profile that can be used instead of atomic_number, similar to how we handle the option for either a current or iota profile.

I suggest that we implement both solutions.

Metadata

Metadata

Assignees

Labels

Bug fixSomething was fixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions