Skip to content

Updated field line following diagnostics#533

Open
bpatel2107 wants to merge 54 commits intounstablefrom
enhancements/nonzonal_transition_units
Open

Updated field line following diagnostics#533
bpatel2107 wants to merge 54 commits intounstablefrom
enhancements/nonzonal_transition_units

Conversation

@bpatel2107
Copy link
Copy Markdown
Collaborator

This PR updates/adds field line following diagnostics FieldLine which calculates all things related to field line integration stuff like

  • Poincare maps
  • Linear field line tearing
  • Radial displacement
  • Parallel correlation lengths
  • Radial diffusion coefficients

It does this in a unit aware method so works in any convention.

I have added standard field line integrator follow_field_line which all the diagnostics that need it use which has several integration schemes from central differences to RK4.

There are some docs that describe that the code does too.

mgiacomin and others added 30 commits September 18, 2024 08:39
The routines to compute the radial displacement of a magnetic field
line and the radial magnetic field correlation length, useful to
evaluate the occurrence of a nonzonal transion, are added to the
`Diagnostics` class.
…dded a small routine to calculate the stocashtic diffusion coefficient - see Nevins et al, PRL, 2011
…ion_units

# Conflicts:
#	src/pyrokinetics/diagnostics/__init__.py
…_units' into enhancements/nonzonal_transition_units
bpatel2107 and others added 24 commits May 8, 2025 13:42
…_units' into enhancements/nonzonal_transition_units
# Conflicts:
#	src/pyrokinetics/diagnostics/__init__.py
#	src/pyrokinetics/local_geometry/metric.py
…_units' into enhancements/nonzonal_transition_units
# Conflicts:
#	docs/examples/example_read_pyroscan_output.py
#	tests/test_pyroscan.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants