KineticForces - Read the kinetic file's zeff dataset

Đang mở
#526 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
22/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
data

Hướng nghiên cứu

Start with resolve_ntv_species and the [KineticForces] zimp and mimp settings, then trace how zpitch and multi_ion_composition consume Zeff. The first step is a design decision: record what a supplied Zeff means for zpitch when Zeff is at or above zimp, and for the impurity density and collision frequencies. Done means the NTV path reads the file's zeff under that rule, logs its source, and is covered by a test with and without the dataset, with docs/src/kinetic_forces.md updated.

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

Mô tả

The kinetic profile file can carry an optional zeff dataset, which the SLAYER layer and the resistive-layer overlap scan prefer to their own closure (PR #298). The NTV path does not read it: resolve_ntv_species always derives Zeff from quasi-neutrality with one impurity ([KineticForces] zimp, mimp). One run can therefore use two Zeff profiles: the file's in the tearing analysis and the closure's in the NTV torque.

Why this is more than a one-line change:

  • In the NTV path Zeff comes with the pitch-angle factor zpitch and the impurity density from multi_ion_composition, and the collision frequencies use all three. Overriding Zeff alone would leave them inconsistent.
  • zpitch has a pole at Zeff = zimp, so a supplied Zeff above zimp needs a defined behaviour.
  • The impurity charge is set twice, as [KineticForces] zimp (integer) and [SLAYER] zimp (float). They should become one setting, or be documented as deliberately separate.

Done when:

  • A rule is recorded for what a supplied Zeff means for zpitch, the impurity density and the collision frequencies.
  • The NTV path uses the file's zeff under that rule and logs which source it used.
  • A test covers a file with and without the dataset.
  • docs/src/kinetic_forces.md states the precedence for both paths.

🤖 Generated with Claude Code

Ngôn ngữ chính
Julia
Star
11
Fork
7
Merge trung bình
4 ngày 3 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.