Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
c3ff25d
Add deuteron-triton Coulomb logarithm profile to physics variables
chris-ashe Feb 14, 2026
d52244a
Add deuteron-triton Coulomb logarithm calculations and plotting
chris-ashe Feb 14, 2026
cf01f15
Add deuteron plasma frequency profile to physics variables
chris-ashe Feb 14, 2026
1140eaf
Add alpha particle thermal velocity profile to physics variables
chris-ashe Feb 14, 2026
1a470de
Add alpha thermal velocity profile calculations and plotting
chris-ashe Feb 14, 2026
fb8f337
Add electron-alpha Coulomb logarithm profile to physics variables
chris-ashe Feb 14, 2026
098ee6f
Add electron-alpha thermal Coulomb logarithm calculations and plotting
chris-ashe Feb 14, 2026
06fd11d
Add alpha particle birth velocity profile to physics variables
chris-ashe Feb 14, 2026
95bdfd1
Add alpha particle birth velocity calculation and plotting
chris-ashe Feb 14, 2026
af44da4
Add deuteron Larmor radius profile to physics variables
chris-ashe Feb 14, 2026
539edc2
Add Larmor radius calculation method to DetailedPhysics class
chris-ashe Feb 14, 2026
71b41e2
Add toroidal Larmor radius calculation and plotting to physics variables
chris-ashe Feb 14, 2026
c5754d9
Add triton Larmor radius profile to physics variables
chris-ashe Feb 14, 2026
75da076
Add triton isotropic Larmor radius calculation to DetailedPhysics class
chris-ashe Feb 14, 2026
4cae410
Add secondary x-axis for radius in electron frequency profile plot
chris-ashe Feb 17, 2026
360cbb2
Add upper hybrid frequency calculation to DetailedPhysics class
chris-ashe Feb 17, 2026
3fc9e5d
Add upper hybrid frequency profile to physics variables
chris-ashe Feb 17, 2026
2253dae
Add upper hybrid frequency profile calculation to DetailedPhysics cla…
chris-ashe Feb 17, 2026
06edc98
Refactor plot colors and labels in velocity and frequency profiles fo…
chris-ashe Feb 17, 2026
02682d1
Fix toroidal field profile size in detailed physics test for accurate…
chris-ashe Feb 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 41 additions & 1 deletion process/data_structure/physics_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -1308,6 +1308,12 @@
len_plasma_debye_electron_profile: list[float] = None
"""Profile of electron Debye length in plasma (m)"""

radius_plasma_deuteron_toroidal_larmor_isotropic_profile: list[float] = None
"""Profile of deuteron toroidal Larmor radius in plasma, assuming equal speeds in all directions (m)"""

radius_plasma_triton_toroidal_larmor_isotropic_profile: list[float] = None
"""Profile of triton toroidal Larmor radius in plasma, assuming equal speeds in all directions (m)"""

len_plasma_debye_electron_vol_avg: float = None
"""Volume averaged electron Debye length in plasma (m)"""

Expand All @@ -1320,6 +1326,12 @@
vel_plasma_triton_profile: list[float] = None
"""Profile of triton thermal velocity in plasma (m/s)"""

vel_plasma_alpha_thermal_profile: list[float] = None
"""Profile of thermal alpha particle velocity in plasma (m/s)"""

vel_plasma_alpha_birth: float = None
"""Birth velocity of alpha particles in plasma (m/s)"""

plasma_coulomb_log_electron_electron_profile: list[float] = None
"""Profile of electron-electron Coulomb logarithm in plasma"""

Expand All @@ -1329,9 +1341,18 @@
plasma_coulomb_log_electron_triton_profile: list[float] = None
"""Profile of electron-triton Coulomb logarithm in plasma"""

plasma_coulomb_log_deuteron_triton_profile: list[float] = None
"""Profile of deuteron-triton Coulomb logarithm in plasma"""

plasma_coulomb_log_electron_alpha_thermal_profile: list[float] = None
"""Profile of electron-alpha Coulomb logarithm in plasma"""

freq_plasma_electron_profile: list[float] = None
"""Electron plasma frequency profile (Hz)"""

freq_plasma_deuteron_profile: list[float] = None
"""Deuteron plasma frequency profile (Hz)"""

freq_plasma_larmor_toroidal_electron_profile: list[float] = None
"""Profile of electron Larmor frequency in plasma due to toroidal magnetic field (Hz)"""

Expand All @@ -1341,6 +1362,9 @@
freq_plasma_larmor_toroidal_triton_profile: list[float] = None
"""Profile of triton Larmor frequency in plasma due to toroidal magnetic field (Hz)"""

freq_plasma_upper_hybrid_profile: list[float] = None
"""Profile of upper hybrid frequency in plasma (Hz)"""


def init_physics_module():
"""Initialise the physics module"""
Expand Down Expand Up @@ -1659,17 +1683,25 @@ def init_physics_variables():
n_charge_plasma_effective_mass_weighted_vol_avg, \
j_plasma_bootstrap_sauter_profile, \
len_plasma_debye_electron_profile, \
radius_plasma_deuteron_toroidal_larmor_isotropic_profile, \
radius_plasma_triton_toroidal_larmor_isotropic_profile, \
len_plasma_debye_electron_vol_avg, \
vel_plasma_electron_profile, \
vel_plasma_deuteron_profile, \
vel_plasma_triton_profile, \
vel_plasma_alpha_thermal_profile, \
vel_plasma_alpha_birth, \
plasma_coulomb_log_electron_electron_profile, \
plasma_coulomb_log_electron_deuteron_profile, \
plasma_coulomb_log_electron_triton_profile, \
plasma_coulomb_log_deuteron_triton_profile, \
plasma_coulomb_log_electron_alpha_thermal_profile, \
freq_plasma_electron_profile, \
freq_plasma_deuteron_profile, \
freq_plasma_larmor_toroidal_electron_profile, \
freq_plasma_larmor_toroidal_deuteron_profile, \
freq_plasma_larmor_toroidal_triton_profile
freq_plasma_larmor_toroidal_triton_profile, \
freq_plasma_upper_hybrid_profile

m_beam_amu = 0.0
m_fuel_amu = 0.0
Expand Down Expand Up @@ -1928,14 +1960,22 @@ def init_physics_variables():
n_charge_plasma_effective_profile = []
n_charge_plasma_effective_mass_weighted_vol_avg = 0.0
len_plasma_debye_electron_profile = []
radius_plasma_deuteron_toroidal_larmor_isotropic_profile = []
radius_plasma_triton_toroidal_larmor_isotropic_profile = []
len_plasma_debye_electron_vol_avg = 0.0
vel_plasma_electron_profile = []
vel_plasma_deuteron_profile = []
vel_plasma_triton_profile = []
vel_plasma_alpha_thermal_profile = []
vel_plasma_alpha_birth = 0.0
plasma_coulomb_log_electron_electron_profile = []
plasma_coulomb_log_electron_deuteron_profile = []
plasma_coulomb_log_electron_triton_profile = []
plasma_coulomb_log_deuteron_triton_profile = []
plasma_coulomb_log_electron_alpha_thermal_profile = []
freq_plasma_electron_profile = []
freq_plasma_deuteron_profile = []
freq_plasma_larmor_toroidal_electron_profile = []
freq_plasma_larmor_toroidal_deuteron_profile = []
freq_plasma_larmor_toroidal_triton_profile = []
freq_plasma_upper_hybrid_profile = []
Loading
Loading