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

Đang mở
#528 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
julia
Lĩnh vực
data

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Julia
Star
11
Fork
7
Merge trung bình
3 ngày 22 giờ
Pull request đã merge (30 ngày)
70

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenFUSIONToolkit/GPEC

Tất cả issue của OpenFUSIONToolkit/GPEC

Issue tương tự

Thêm issue về Julia

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.