Skip to content

Adding new structures in the IMAS dictionary / distributions IDS #85

@brochag

Description

@brochag

If possible, I would like that new structures be added to the distributions IDS.

These structures are related to the EPCoM code that is used to represent energetic particle distributions in various phase space representations, in particular in 3D constants of motions (CoM) phase space. Some of the quantities computed by the code, which are important to fully represent EP distributions, do not have matching structures in the distributions IDS to store them, which is an issue that I would like to fix. Indeed I currently store these necessary variables in parts of the distributions IDS that are not meant for them.

Here's the list of the new structures :

  1. In both distribution.profiles1d and distribution.profiles2d : a new 1D structure named pressure_fast_perpendicular. p_EP_perp can be computed from p_EP_tot and p_EP_para, but it would prevent users from making mistakes (they often arise for para/perp structures, due to divergent conventions)

  2. In both distribution.profiles1d and distribution.profiles2d : a new 1D structure named temperature_fast, which will be the equivalent Maxwellian temperature

  3. In distribution.profiles2d.grid : two new 2D structures named (R_2D, Z_2D) containing the cartesian coordinates R and Z as functions of (rho,theta), (rho, theta) being the index=2 type of grid chosen by the user. This is useful for plotting purposes.

  4. In distribution.ggd : a new structure named "midplane_coordinates_CoM" having as sub-structure the 2D array coefficients (see structure distribution.ggd.amplitude for example). It would be used to store the quantities (R,Z,vpara,E,phase) at the midplane for each CoM orbit of the GGD grid.

  5. In distribution.ggd : a new structure named "CoM_volume" having as sub-structure the 1D array values (see structure distribution.ggd.amplitude for example). It would be used to store the CoM space volume element \Delta Pphi\Delta\lambda\Delta E (units T.m^2.eV), that is not unitary throughout CoM space.

  6. In distribution.ggd : a new structure named "CoM_topology" having as sub-structure the 2D array coefficients (see structure distribution.ggd.amplitude for example). It will be used to store the topological lines of the CoM space, with a resolution larger than the one used for the GGD itself, the CoM topology having fine features.

Don't hesitate to ask me more informations about these new structures if I forgot to specify some aspects.
Thanks !
Guillaume

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions