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
以積分或微分形式陳相關麥克斯韋方程,以邊界與對稱簡系,解所得偏微分方程得場,算坡印廷向量、輻射壓、波阻抗等派生量,末以靜極與波極驗解。
書全系並擇所需:
E 之高斯律:div(E) = rho / epsilon_0(微分)或閉面積分(E · dA) = Q_enc / epsilon_0(積分)。E 場散度關電荷密度。有對稱之電荷分佈求 E 用之。
B 之高斯律:div(B) = 0(微分)或閉面積分(B · dA) = 0(積分)。無磁單極。磁力線皆閉環。用於驗算 B 場之一致。
法拉第律:curl(E) = -dB/dt(微分)或環路積分(E · dl) = -d(Phi_B)/dt(積分)。變 B 生旋 E。感應與波推導用。
安培-麥克斯韋律:curl(B) = mu_0 J + mu_0 epsilon_0 dE/dt(微分)或環路積分(B · dl) = mu_0 I_enc + mu_0 epsilon_0 d(Phi_E)/dt(積分)。電流與變 E 生旋 B。位移電流項 mu_0 epsilon_0 dE/dt 乃波播與電流連續之要。
形選:局部場算、波方程、偏微分方程用微分形式;高對稱場直接可提取者用積分形式。
識生效方程:非每題四方程皆獨立。靜電(dB/dt = 0、J = 0)只需 E 之高斯律與 curl(E) = 0。靜磁只需 B 之高斯律與安培律(無位移電流)。
## 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| 比。若此比近一或大,位移電流必留。真空無自由電荷者,位移電流波播必要。
以界面與幾何對稱簡系:
界面邊界條件:介質一、二之界,有面電荷 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]
得: 每界面皆陳邊界條件,對稱已用以減維,問題待解偏微分方程。
敗則: 若邊界條件過定(界面方程多於未知),察場分量數與條件數是否合。若欠定,漏一條件——常為切向 H 條件或無窮遠輻射條件。
解麥克斯韋方程或其派生形式求場:
波方程推導:於無源、線性、均勻介質:
平面波解:沿 z 向傳:
拉普拉斯與泊松方程(靜):
導波與腔:波導與共振腔:
導體趨膚深度:時變場入電導率 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]
得: 顯式場表達滿足麥克斯韋方程與所有邊界條件,若為波解有色散關係或特徵值譜。
敗則: 若偏微分方程於所擇座標系不可分離,換系或用數值法(有限差、有限元)。若代回有一方程不滿足,推導有代數誤——察旋與散運算。
自場解抽物理有意義之量:
坡印廷向量:S = (1/mu_0) E × 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]
得: 派生量皆算單位正,以坡印廷定理驗能守恆,幅度物理合理。
敗則: 若坡印廷定理不平(du/dt + div(S) 不等 -J · E),E 與 B 解不一致。驗兩場同時滿足四方程。常誤:由不同近似算 E 與 B,彼此不一致。
察全解於極限情況正確:
靜極(omega -> 0):解應降為靜電或靜磁結果:
平面波極:無源無界介質,解應降為 v = 1/sqrt(mu epsilon) 之平面波與正確偏振。
理想導體極(sigma -> inf):
真空極(epsilon_r = 1、mu_r = 1):材料相關量應降為真空值。波速應等 c。阻抗應等 eta_0 約 377 歐。
能守恆驗:坡印廷定理於閉體積積。全場能變率加過表面流出功率應等體內電流所給負功率。任不平示誤。
## 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-field — 算靜 B 場,為麥克斯韋方程之靜磁極solve-electromagnetic-induction — 施法拉第律於具體感應幾何與 RL 電路formulate-quantum-problem — 量子化電磁場於量子光學與 QEDderive-theoretical-result — 嚴推波方程、格林函數、色散關係analyze-diffusion-dynamics — 擴散方程於導體介質源自麥克斯韋方程(趨膚效應)