thermodynamics
Apply classical thermodynamics: laws of thermodynamics, ideal and real gases, heat engines, entropy, free energies, phase transitions, Carnot cycle, Maxwell relations, heat transfer. Use for heat, temperature, efficiency, entropy, or equations of state.
- License 许可
- MIT
- 最近更新
- 2026-10-17
- Stars
- ★ 8
- Forks
- 1
01 前言 Front Matter
- name
- thermodynamics
- description
- Apply classical thermodynamics: laws of thermodynamics, ideal and real gases, heat engines, entropy, free energies, phase transitions, Carnot cycle, Maxwell relations, heat transfer. Use for heat, temperature, efficiency, entropy, or equations of state.
02 资源文件 1
- 参考文档metadata.json374 B
03 SKILL.md 正文
Thermodynamics
Laws
- Thermal equilibrium is transitive → temperature.
- dU = δQ - δW (W by system); for gas δW = p dV.
- dS ≥ δQ/T; isolated system entropy never decreases; Clausius, Kelvin-Planck statements.
- S → const (0 for perfect crystal) as T → 0; unattainability of absolute zero.
Essentials
- Ideal gas pV = nRT = N k_B T; U = (f/2) N k_B T; C_V = (f/2)R; C_p - C_V = R; γ = C_p/C_V
- Adiabatic reversible: pV^γ = const; TV^{γ-1} = const
- Isothermal work W = nRT ln(V2/V1)
- Carnot efficiency η = 1 - T_c/T_h; COP refrigerator = T_c/(T_h - T_c)
- Entropy change ideal gas ΔS = nC_V ln(T2/T1) + nR ln(V2/V1)
- Potentials: U, H = U+pV, F = U-TS, G = H-TS; dG = -SdT + Vdp + μdN
- Maxwell relations e.g. (∂S/∂V)_T = (∂p/∂T)_V
- Clausius-Clapeyron: dp/dT = L/(TΔv)
- van der Waals: (p + a n²/V²)(V - nb) = nRT; critical T_c = 8a/27Rb
- Heat transfer: conduction q = -k∇T; convection q = hAΔT; radiation P = εσAT⁴ (σ = 5.670e-8 W m⁻² K⁻⁴); Wien λ_max T = 2.898e-3 m·K
- Cycles: Otto η = 1 - r^{1-γ}; Diesel, Brayton, Rankine; each has T-S and p-V description.
- Phase transitions: first order (latent heat) vs second order (continuous); Gibbs phase rule F = C - P + 2.
Method
Identify system, process path (isothermal, adiabatic, isobaric, isochoric), state variables at each point; compute Q, W, ΔU, ΔS; verify second law with total entropy change ≥ 0.
04 同仓库更多 Skills
security-audit
Comprehensive security guidance, source code audit, vulnerability assessment, and penetration test review for codebases, APIs, microservices, CLI tools, libraries, and LLM-backed applications. Triggers on requests to audit a codebase, conduct security reviews, find vulnerabilities or flaws, pen-test source code, or when the user asks in Arabic (فحص أمني، تدقيق الكود أمنياً، مراجعة الثغرات، فحص أمان المشروع). Supports Guidance mode (focused review) and Full Audit mode (deterministic 6-phase harness).
malware-analysis-reversing
Production malware analysis workflows, reverse engineering methodologies, isolated sandbox triage, static/dynamic binary analysis, memory forensics, and YARA detection rule authoring.
application-security-pentesting
Production Application Security (AppSec) standards, OWASP Top 10 vulnerability remediation, SAST/DAST pipeline integration, secure code review, threat modeling, and defensive security posture.
oauth2-oidc-security-flows
Implement enterprise OAuth 2.1 and OpenID Connect (OIDC) authorization code flow with Proof Key for Code Exchange (PKCE), state and nonce verification, refresh token rotation, token revocation, and centralized IdP federation (Keycloak, Auth0, Okta). Trigger when building secure authentication, single sign-on (SSO), or third-party delegated authorization.
jwt-session-management-hardening
Harden JWT-based authentication and session lifecycles using asymmetric signing (RS256/EdDSA), JWKS rotation, strict claims validation, Redis-backed sliding window sessions, revocation lists, and secure HttpOnly cookie storage. Trigger when implementing token validation, session revocation, or hardening API authentication.
soc2-compliance-automation
Best practices for implementing SOC 2 Type II compliance controls, continuous evidence collection, infrastructure policy-as-code, and automated security monitoring. Use when automating Trust Services Criteria (Security, Availability, Confidentiality, Processing Integrity, Privacy), audit logging, IAM least privilege, or CI/CD security gates.