Skip to content

Conversation

@MateoBell
Copy link
Collaborator

@MateoBell MateoBell commented Dec 9, 2025

Mapping of some quantities which are not directly available on cell_plus_boundaries grid: j_parallel_total, j_parallel_ohmic, j_non_inductive, Z_avg for impurities and impurity_density_scaling factor.
IDS requires all profiles_1d to be on the same grid, therefore these quantities needed to be computed on the cell_plus_boundaries grid.

Question

To extend them, neighbouring values were copied as boundary values. Other possibility could be to use linear / polynomial extrapolation. What choice should be made for these quantities ?

Fixing wrongly mapped quantities:

  • core_profiles j_total and j_bootstrap corresponds to their parallel current density. It was previously mapped from the toroidal values.

Newly mapped quantities:

  • currents: j_ohmic, j_non_inductive, j_phi
  • pressure for all ions
  • impurities data: z_ion_1d, n_impurity, n_i_volume_average

@MateoBell MateoBell force-pushed the imas_output_core_profiles_extra_quantities branch from 7817b0a to 905ad24 Compare December 9, 2025 16:35
@MateoBell MateoBell marked this pull request as ready for review December 10, 2025 10:43
@MateoBell MateoBell linked an issue Dec 10, 2025 that may be closed by this pull request
@MateoBell MateoBell added the question Further information is requested label Dec 12, 2025
@Nush395
Copy link
Collaborator

Nush395 commented Dec 19, 2025

@jcitrin could you comment on some of the boundary value extrapolations done here?

@MateoBell MateoBell force-pushed the imas_output_core_profiles_extra_quantities branch from 1e0c0a6 to 971f37e Compare January 9, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

question Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Populate remainder of IMAS core profiles output

2 participants