Examples - Regenerate the DIII-D-like g-file without boundary truncation

オープン
#528 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
julia
領域
data

調査の方向性

Start with the header comments of examples/DIIID-like_ideal_example/TkMkr_D3Dlike_Hmode.geqdsk to find the TokaMaker export settings, then check the q column and the psi_N values near the boundary. The kinetic files TkMkr_D3Dlike_Hmode_kinetic.h5 and .gpeckf must be checked for matching psi_N. Done when the g-file is re-exported with truncate_eq=False, the kinetic files agree, and the regression run in test/runtests_coils.jl and test/runtests_rerun_from_h5.jl is explained in the PR.

索引モデルが issue の本文から書いたものです。

説明

examples/DIIID-like_ideal_example/TkMkr_D3Dlike_Hmode.geqdsk was written by TokaMaker's save_eqdsk with lcfs_pad = 1e-4 and the default truncate_eq=True. The equilibrium is cut at 1 − 1e-4 and renormalised, so the file's X-point sits at ψ_N = 1.0001 and every rational above the boundary q (8.79) lies outside the file: q = 9, 10, 11 and 12 at ψ_N = 1.0000274, 1.0000848, 1.0000969 and 1.0000994. With truncate_eq=False the flux map, F and p reach the separatrix, and only the last entry of the file's q column is a stand-in, which GPEC does not read.

Proposal: re-export from the same TokaMaker equilibrium with truncate_eq=False, and check that TkMkr_D3Dlike_Hmode_kinetic.h5 and .gpeckf are on the matching ψ_N.

This needs its own PR. ψ_N is renormalised by 1e-4 everywhere, so every deck that reads this file moves: the ideal, multi-n, Riccati, SLAYER, error-field, galerkin-resistive and truncation examples, test/runtests_coils.jl and test/runtests_rerun_from_h5.jl, and benchmark_inputs.jld2. Each deck's psihigh will then refer to a slightly different surface, and the truncation deck's cut should be re-checked.

Done when:

  • The g-file is re-exported (generating script or settings recorded in the example's header comments).
  • The kinetic files are verified or regenerated on the same ψ_N.
  • A full regression-harness run, with the moved quantities explained in the PR.

🤖 Generated with Claude Code

主要言語
Julia
スター
11
フォーク
7
平均マージ
4日 1時間
マージ済み PR(30日)
68

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenFUSIONToolkit/GPEC のほかの issue

OpenFUSIONToolkit/GPEC の issue をすべて見る

似ている issue

Julia の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。