executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
formulate-maxwell-equationsWork with the full set of Maxwell's equations in integral and differential form to analyze electromagnetic fields, waves, and energy transport. Use when applying Gauss's law, Faraday's law, or the Ampere-Maxwell law to boundary value problems, deriving the electromagnetic wave equation, computing Poynting vector and radiation pressure, solving for fields at…
Independent GitHub snapshot · Automated classification · Original documentation governs
列馬氏四方程(積或微形)、應邊界與對稱、解 PDE、算 Poynting 及波阻、驗極限。
全寫,擇所約束者:
Gauss E 律:div(E) = rho / epsilon_0(微)或 closed_surface_integral(E . dA) = Q_enc / epsilon_0(積)。E 散連電荷密度。有對稱之電荷分佈取 E 用。
Gauss B 律:div(B) = 0(微)或 closed_surface_integral(B . dA) = 0(積)。無磁單極。B 線皆閉環。驗 B 用。
Faraday 律:curl(E) = -dB/dt(微)或 contour_integral(E . dl) = -d(Phi_B)/dt(積)。B 變生 E 旋。感應與推波用。
Ampere-Maxwell 律:curl(B) = mu_0 J + mu_0 epsilon_0 dE/dt(微)或 contour_integral(B . dl) = mu_0 I_enc + mu_0 epsilon_0 d(Phi_E)/dt(積)。流與 E 變生 B 旋。位移流 mu_0 epsilon_0 dE/dt 為波傳與流連續所必需。
擇形:局部、波、PDE 取微形。高對稱取積形。
辨活方程:非皆獨立。靜電(dB/dt = 0, J = 0)只 Gauss E 與 curl(E) = 0 有效。靜磁則 Gauss B 與 Ampere(無位移流)足。
## Maxwell Equations for This Problem
- **Form**: [differential / integral / both]
- **Active equations**: [list which of the four are non-trivial constraints]
- **Source terms**: rho = [charge density], J = [current density]
- **Time dependence**: [static / harmonic / general]
- **Displacement current**: [negligible / essential -- with justification]
得:四方程已列,相關子集已辨並明由,位移流或留或明證可略。
敗:位移流取捨未明→估 |epsilon_0 dE/dt| / |J| 之比。近 1 或過→必留。真空無電荷則恆須。
用界面與幾何對稱減系:
介面邊界條件:介質 1/2 之介,面電荷 sigma_f、面流 K_f:
導體邊界:完美導體面:
對稱減:用所辨對稱減獨立變數:
規範擇(用勢時):選 phi 與 A 之規範:
## Boundary Conditions and Symmetry
- **Interfaces**: [list with media properties on each side]
- **Boundary conditions applied**: [normal E, tangential E, normal B, tangential H]
- **Symmetry**: [planar / cylindrical / spherical / none]
- **Reduced coordinates**: [independent variables after symmetry reduction]
- **Gauge** (if using potentials): [Coulomb / Lorenz / other]
得:諸界面邊界皆列,對稱已用以減維,問題備解 PDE。
敗:邊界過定(方程多於未知)→查場分量與條件數是否合。不足→漏條件,常為切 H 或無窮遠輻射條件。
解馬氏方程或其衍形求場量:
推波方程:無源線性均勻介:
平面波解:沿 z 向:
Laplace 與 Poisson(靜):
導波與諧腔:
導體趨膚深:時變場入導體(導率 sigma_c):
## Field Solution
- **Equation solved**: [wave equation / Laplace / Poisson / eigenvalue]
- **Solution method**: [separation of variables / Fourier transform / Green's function / numerical]
- **Result**: E(r, t) = [expression], B(r, t) = [expression]
- **Dispersion relation**: omega(k) = [if wave solution]
- **Characteristic scales**: [wavelength, skin depth, decay length]
得:場表式顯,滿足馬氏與諸邊界,色散或本徵譜並具。
敗:選坐標系不可分→易系或取數值(有限差、有限元)。回代不符某方程→代數誤→重驗旋散運算。
由場解取物理意量:
Poynting 向量:S = (1/mu_0) E x B(瞬能流,W/m^2):
電磁能密:
輻射壓:平面波射面:
波阻:
耗散與品質因子:
## Derived Quantities
- **Poynting vector**: S = [expression], <S> = [time-averaged]
- **Energy density**: u = [expression]
- **Radiation pressure**: P_rad = [value]
- **Wave impedance**: eta = [value]
- **Reflection/transmission**: r = [value], t = [value]
- **Q-factor** (if resonant): Q = [value]
得:諸量算畢,單位確,經 Poynting 定理驗能守,量級合理。
敗:Poynting 定理不均(du/dt + div(S) ≠ -J . E)→E、B 解互不一致。重驗二場同時滿四方程。常為 E、B 取不相容之近似。
察全解於極限是否正確回落:
靜極(omega → 0):應回靜電或靜磁:
平面波極:無界無源介,應為平面波,v = 1/sqrt(mu epsilon),偏振正確。
完美導體極(sigma → ∞):
真空極(epsilon_r = 1, mu_r = 1):料依量應回真空值。波速應為 c。阻應為 eta_0 約 377 Ohms。
能守驗:Poynting 定理積於閉域。全場能率變加面外流功率應等於域內電流負功率。失衡乃誤。
## Limiting Case Verification
| Limit | Condition | Expected | Obtained | Match |
|-------|-----------|----------|----------|-------|
| Static | omega -> 0 | Coulomb / Biot-Savart | [result] | [Yes/No] |
| Plane wave | unbounded medium | v = c/n, eta = eta_0/n | [result] | [Yes/No] |
| Perfect conductor | sigma -> inf | delta -> 0, r -> -1 | [result] | [Yes/No] |
| Vacuum | epsilon_r = mu_r = 1 | c, eta_0 | [result] | [Yes/No] |
| Energy conservation | Poynting's theorem | balanced | [check] | [Yes/No] |
得:諸極限皆返已知正確結果。能守達數值精度。
敗:極限敗乃誤之確證。靜極敗→源或邊界之問題。平面波極敗→波方程推導之誤。能守敗→E、B 解不一致。溯回指定步修正,方可接受解。
analyze-magnetic-fieldsolve-electromagnetic-inductionformulate-quantum-problemderive-theoretical-resultanalyze-diffusion-dynamics