Skip to content

Work for SOLPS->Hermes-3 interpolation: radial/poloidal data overhaul#6

Open
mikekryjak wants to merge 44 commits into
mainfrom
add-core-pfr-selectors
Open

Work for SOLPS->Hermes-3 interpolation: radial/poloidal data overhaul#6
mikekryjak wants to merge 44 commits into
mainfrom
add-core-pfr-selectors

Conversation

@mikekryjak
Copy link
Copy Markdown
Owner

  • New tool sdtools.code_comparison.interpolate.interpolateSOLPStoHermes which does what the name suggests on a per field line basis
  • Make sdtools use all selections/regions from xHermes (More poloidal selectors boutproject/xhermes#28). You will need to update xhermes.
  • get_1d_radial_data works for a specified poloidal index in SOLPS and Hermes-3.
  • get_1d_poloidal_data interpolates the field line to the correct sepdist using psi instead of the radial distance fraction.
  • SOLPScase now reads b2fgmtry which includes psi and other useful arrays.

SOLPS may not reach exactly the same grid extents as Hermes-3. These SOL rings must be left unfilled and then extrapolated later.
Can take specific poloidal index, reads psi, has docstring
Now does interpolation over psi instead of a fraction of the radial distance. This is now in line with Hermes-3 and should be more accurate.
Tool can now take an arbitrary radial start region to define sepdist. This is useful e.g. for getting PFR data, where sepdist should be defined at the target.
@mikekryjak mikekryjak changed the title radial/poloidal data overhaul Work for SOLPS->Hermes-3 interpolation: radial/poloidal data overhaul Apr 10, 2026
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.

1 participant