计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
formulate-maxwell-equations【效率与协作】Work 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 fi…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
EM phenomenon → state Maxwell eqs (int/diff) → apply BCs + symmetry → solve PDE → derive Poynting/pressure/impedance → verify limits.
Gauss E: div(E)=rho/epsilon_0 (diff) or ∮E·dA=Q_enc/epsilon_0 (int). Use w/ symmetry for E from charges.
Gauss B: div(B)=0 (diff) or ∮B·dA=0 (int). No monopoles. Consistency check.
Faraday: curl(E)=-dB/dt (diff) or ∮E·dl=-dPhi_B/dt (int). Changing B → curling E. Induction + waves.
Ampere-Maxwell: curl(B)=mu_0 J + mu_0 epsilon_0 dE/dt (diff) or ∮B·dl=mu_0 I_enc + mu_0 epsilon_0 dPhi_E/dt (int). Displacement current mu_0 epsilon_0 dE/dt → essential for waves + continuity.
Form: diff for local/wave/PDE; int for symmetry problems.
Active subset: electrostatics → Gauss E + curl(E)=0. Magnetostatics → Gauss B + Ampere (no displacement).
## 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]
→ 4 eqs stated, subset ID'd w/ justify, displacement current included/argued negligible.
If err: unclear displacement current → estimate |epsilon_0 dE/dt|/|J|. ≥1 → keep. Vacuum + no free charges → always essential.
BCs at interfaces (media 1,2, surface charge sigma_f, surface current K_f):
Conductor BCs (perfect):
Symmetry:
Gauge (potentials 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]
→ BCs at every interface, symmetry applied, ready for PDE.
If err: over-determined → check components vs conditions. Under-determined → missed BC (often tangential H or radiation at ∞).
Wave eq derivation (source-free, linear, homogeneous):
Plane wave (z-prop):
Laplace/Poisson (static):
Guided waves/cavities:
Skin depth:
## 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]
→ Explicit E, B satisfying all eqs + BCs, dispersion/eigenvalues if applicable.
If err: can't separate → try new coord or numerics (FD/FE). Back-sub fails Maxwell → algebra err in curl/div.
Poynting: S = (1/mu_0) E × B (W/m²)
Energy density:
Radiation pressure:
Wave impedance:
Power + Q:
## 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]
→ All quantities w/ correct units, energy conservation via Poynting, reasonable magnitudes.
If err: Poynting thm not balanced → E/B inconsistent. Re-verify all 4 eqs. Common: E, B from different approx not mutually consistent.
Static (omega→0):
Plane wave: v=1/sqrt(mu epsilon), correct polarization.
Perfect conductor (sigma→∞):
Vacuum (epsilon_r=1, mu_r=1): v=c, eta=eta_0 ≈ 377 Ω.
Energy conservation: integrate Poynting thm over closed vol → total field energy rate + outflow = -power from currents. Imbalance = err.
## 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] |
→ All limits match. Energy conserved to numerical precision.
If err: Static fail → source/BC err. Plane wave fail → wave eq derivation err. Energy conservation fail → E/B inconsistent. Trace + fix before accepting.
analyze-magnetic-field — static B (magnetostatic limit)solve-electromagnetic-induction — Faraday + RL circuitsformulate-quantum-problem — quantize EM (QED)derive-theoretical-result — rigorous wave/Green's/dispersionanalyze-diffusion-dynamics — diffusion eq from Maxwell (skin effect)