Tearing.Dispersion - Require a Hermitian Δ′ where the SLAYER residual conjugates Δ̂

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
julia
領域
backend, testing

調査の方向性

Start with InnerLayer/SLAYER/Riccati.jl and its solve_inner comment, then trace how the residual uses Δ′ in the uncoupled and coupled cases, including SurfaceCoupling.jl. Run the shipped cases to measure the proposed imaginary and anti-Hermitian components, and inspect the existing test setup for an anti-Cauchy–Riemann finite-difference check at one Q. Done means the condition or residual handling is settled, the comment states the condition, and the test verifies it.

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

説明

SLAYER's solve_inner returns conj(Δ̂(ĝ)) (InnerLayer/SLAYER/Riccati.jl). The comment there says "conjugation maps zeros to zeros", so the roots are unchanged. That holds only if the outer data are effectively real.

  • Uncoupled: the residual is dp_diag − S^(1/3)·conj(Δ̂) − Δ_crit, so its zeros solve Δ̂ = conj((Δ′ − Δ_crit)/S^(1/3)). dp_diag is ComplexF64 (SurfaceCoupling.jl). If Im Δ′ ≠ 0, the roots found are those of the conjugated outer stability, not the intended one. Δ_crit is real, so it is not a concern.
  • Coupled: conj(det(D′ − diag Δ̂)) = det(conj D′ − diag conj Δ̂), so the coupled roots are right when conj(D′) is D′ up to transpose, i.e. when D′ is Hermitian. A non-Hermitian Δ′, for example from a kinetic or resistive-wall outer region, would shift them.

Proposal:

  1. Measure Im Δ′ (diagonal) and the anti-Hermitian part of the coupled Δ′ on the shipped cases.
  2. Either assert or warn when they exceed a stated fraction, or conjugate Δ′ consistently in the residual so the roots are exact for any Δ′.
  3. Fix the Riccati.jl comment to state the condition.
  4. Add a test that checks the premise: an anti-Cauchy–Riemann finite-difference check that SLAYER's residual is anti-holomorphic at one Q.

Note that the conjugation is load-bearing for consumers that use the sign of Im Δ (the critical-resonant-field torque balance), so it cannot simply be removed.

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

環境構築

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

はじめの一歩

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

OpenFUSIONToolkit/GPEC のほかの issue

OpenFUSIONToolkit/GPEC の issue をすべて見る

似ている issue

Julia の issue をもっと見る

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

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