정보
이 Claude 기술은 맥스웰 방정식을 적분 형태와 미분 형태 모두로 다루기 위한 도구를 제공합니다. 개발자들이 전자기장을 분석하고, 경계값 문제를 해결하며, 파동 방정식을 유도하고, 포인팅 벡터를 통해 에너지 전송을 계산할 수 있게 합니다. 물질 경계면, 복사, 정전기장을 완전한 동역학적 체계와 연결하는 고급 전자기학 작업에 활용하세요.
빠른 설치
Claude Code
추천npx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/formulate-maxwell-equationsClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
Formulate Maxwell Equations
EM phenomenon → state Maxwell eqs (int/diff) → apply BCs + symmetry → solve PDE → derive Poynting/pressure/impedance → verify limits.
Use When
- BVP for E, B w/ sources + interfaces
- Derive EM wave eq from first principles
- Compute Poynting vector + momentum density
- BCs at interfaces (dielectrics, conductors, magnetic)
- Displacement current role in Ampere-Maxwell
- Static limits (Coulomb, Biot-Savart) → unified time-dep
In
- Required: config (geometry, sources, material props)
- Required: target quantity (E, B, wave, flux, boundary value)
- Optional: symmetry (planar/cyl/sph/none)
- Optional: time-dep (static/harmonic omega/general)
- Optional: BCs at interfaces/conductors
Do
Step 1: State 4 eqs + select subset
-
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.
Step 2: BCs + symmetry
-
BCs at interfaces (media 1,2, surface charge sigma_f, surface current K_f):
- Normal E: epsilon_1 E_1n - epsilon_2 E_2n = sigma_f
- Tangential E: E_1t = E_2t
- Normal B: B_1n = B_2n
- Tangential H: n_hat × (H_1-H_2) = K_f (n_hat: 2→1)
-
Conductor BCs (perfect):
- E_tan=0 (inside E=0)
- B_normal=0 (time-varying)
- sigma = epsilon_0 E_normal
- K = (1/mu_0) n_hat × B
-
Symmetry:
- Planar: fields depend on 1 coord → ODE
- Cylindrical: (rho,z) or rho
- Spherical: r only
- Translational invariance → Fourier transform
-
Gauge (potentials phi, A):
- Coulomb: div(A)=0 (separates static + radiation)
- Lorenz: div(A) + mu_0 epsilon_0 d(phi)/dt=0 (Lorentz-covariant, decouples wave eqs)
## 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 ∞).
Step 3: Solve PDE
-
Wave eq derivation (source-free, linear, homogeneous):
- curl(curl(E)) = -d/dt(curl(B)) = -mu epsilon d²E/dt²
- Identity: curl(curl(E)) = grad(div(E)) - nabla²(E)
- div(E)=0 → nabla²(E) = mu epsilon d²E/dt²
- v=1/sqrt(mu epsilon); vacuum c=1/sqrt(mu_0 epsilon_0)
- Same for B
-
Plane wave (z-prop):
- E(z,t)=E_0 exp[i(kz - omega t)], k=omega/v=omega*sqrt(mu epsilon)
- B=(1/v) k_hat × E
- |B|=|E|/v
- Polarization: linear/circular/elliptical
-
Laplace/Poisson (static):
- nabla²(phi)=-rho/epsilon_0 (Poisson) or nabla²(phi)=0 (Laplace)
- Separation of variables → match BCs
-
Guided waves/cavities:
- TE/TM decomposition
- Conducting-wall BCs
- Eigenvalue → propagation const / resonance
- Cutoff: omega_c = vpisqrt((m/a)²+(n/b)²) rect guide a×b
-
Skin depth:
- delta = sqrt(2/(omega mu sigma_c))
- Decay exp(-z/delta)
- 60 Hz Cu: ~8.5 mm; 1 GHz: ~2 micrometers
## 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.
Step 4: Derived quantities
-
Poynting: S = (1/mu_0) E × B (W/m²)
- Plane wave: S = (1/mu_0) |E|²/v in prop dir
- Time-avg: <S> = (1/2) Re(E × H*) harmonic
- Intensity: I = |<S>|
-
Energy density:
- u = (1/2)(epsilon_0 |E|² + |B|²/mu_0) vacuum
- u = (1/2)(E·D + B·H) linear media
- Conservation: du/dt + div(S) = -J·E (Poynting's thm)
-
Radiation pressure:
- Absorber: P_rad = I/c = <S>/c
- Reflector: P_rad = 2I/c = 2<S>/c
-
Wave impedance:
- Medium: eta = sqrt(mu/epsilon) = mu*v
- Vacuum: eta_0 = sqrt(mu_0/epsilon_0) ≈ 377 Ω
- |E| = eta |H|
- Reflection normal: r = (eta_2 - eta_1)/(eta_2 + eta_1)
-
Power + Q:
- Ohmic loss/vol: p_loss = sigma |E|²/2
- Q = omega * (stored energy)/(power dissipated/cycle)
- Bandwidth: Delta_omega = omega/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.
Step 5: Verify limits
-
Static (omega→0):
- E → Coulomb / Laplace-Poisson
- B → Biot-Savart / Ampere (no displacement)
- Displacement → 0
-
Plane wave: v=1/sqrt(mu epsilon), correct polarization.
-
Perfect conductor (sigma→∞):
- delta → 0
- E_tan → 0 at surface
- r → -1 (phase inversion)
-
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.
Check
- 4 eqs stated, subset ID'd
- Displacement current included or justified negligible
- BCs applied at every interface
- Symmetry reduces PDE dim
- Wave eq / Laplace / Poisson correctly derived
- Solutions back-sub satisfy all 4 eqs
- Poynting + energy density correct units (W/m², J/m³)
- Poynting thm verified
- Impedance + r, t reasonable
- Static limit = Coulomb + Biot-Savart
- Plane wave limit: v=1/sqrt(mu epsilon), E⊥B⊥k
- Solution reproducible
Traps
- Drop displacement: div(curl B)=0 → div(J)=0 contradicts charge conservation → mu_0 epsilon_0 dE/dt essential. Never drop w/o checking dE/dt vs J/epsilon_0.
- Inconsistent E, B: solving independently can violate Faraday + Gauss B. Always verify all 4.
- Wrong n_hat dir: n_hat × (H_1-H_2)=K_f requires 2→1. Reverse flips sign.
- D/E/B/H confusion: vacuum D=epsilon_0 E, B=mu_0 H. Media D=epsilon E, B=mu H. Maxwell uses D,H for free sources, E,B for force. Mixing → epsilon_r/mu_r errors.
- Phase vs group v: v=omega/k phase. Energy/info → v_g=d(omega)/dk. Dispersive media: differ.
- Forget radiation condition: scattering in unbounded → Sommerfeld (outgoing at ∞). Missing → non-unique + unphysical incoming.
→
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)
GitHub 저장소
Frequently asked questions
What is the formulate-maxwell-equations skill?
formulate-maxwell-equations is a Claude Skill by pjt222. Skills package instructions and resources that Claude loads on demand, so Claude can perform formulate-maxwell-equations-related tasks without extra prompting.
How do I install formulate-maxwell-equations?
Use the install commands on this page: add formulate-maxwell-equations to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does formulate-maxwell-equations belong to?
formulate-maxwell-equations is in the Other category, tagged general.
Is formulate-maxwell-equations free to use?
Yes. formulate-maxwell-equations is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
연관 스킬
LlamaGuard는 폭력 및 혐오 발언 등 6가지 안전 범주에서 LLM 입력과 출력을 조정하기 위한 Meta의 70-80억 파라미터 모델입니다. 94-95% 정확도를 제공하며 vLLM, Hugging Face 또는 Amazon SageMaker를 사용해 배포할 수 있습니다. 이 기술을 사용하여 AI 애플리케이션에 콘텐츠 필터링 및 안전 가드레일을 손쉽게 통합하세요.
이 Claude Skill은 리소스 적정화, 태깅 전략, 지출 분석을 통해 개발자들이 클라우드 비용을 최적화할 수 있도록 지원합니다. AWS, Azure, GCP에서 클라우드 비용을 절감하고 비용 거버넌스를 구현하기 위한 프레임워크를 제공합니다. 인프라 비용을 분석하거나, 리소스를 적정화하거나, 예산 제약을 충족해야 할 때 사용하세요.
이 Claude Skill은 스프레드, 오버/언더, 프로프 베트를 포함한 스포츠 베팅 시장을 분석합니다. 역사적 추이와 상황별 통계를 검토하여 가치 베트를 발견하고, 교육적 목적으로 실행 가능한 권장 사항이 담긴 구조화된 마크다운 결과를 제공합니다. 개발자는 이 기능을 스포츠 베팅 분석 도구에 활용할 수 있으며, 단순히 엔터테인먼트/교육 목적으로만 설계되었음을 유의해야 합니다.
이 스킬은 bitsandbytes를 사용하여 LLM을 8비트 또는 4비트 정밀도로 양자화하며, 최소한의 정확도 손실로 50-75%의 메모리 감소를 달성합니다. 제한된 GPU 메모리에서 더 큰 모델을 실행하거나 추론을 가속화하는 데 이상적이며, INT8, NF4, FP4와 같은 형식을 지원합니다. 이 스킬은 HuggingFace Transformers와 통합되어 QLoRA 학습 및 8비트 옵티마이저를 가능하게 합니다.
