critical-opalescence
БесплатноБез исполняемых скриптовНе проверенCritical opalescence at phase transitions: diverging correlation length, light scattering, and the visual signature of criticality in fluids, proteins, and…
от plurigrid★ 73 звезды на GitHubОб этом скилле
Critical Opalescence Skill
"At the critical point, the fluid becomes opalescent—milky white—because density fluctuations occur at all scales, scattering light of all wavelengths."
Overview
Critical opalescence is the dramatic increase in light scattering near a phase transition's critical point. It's the visual signature of criticality.
| System | Critical Point | Observable |
|---|---|---|
| CO₂ | 31°C, 73 atm | Milky fluid |
| Binary mixtures | Consolute point | Turbidity divergence |
| Proteins | Folding transition | Aggregate scattering |
| Ising model | T_c (Onsager: 2D exact) | Correlation length → ∞ |
The Physics
Why Opalescence at Criticality?
Normal state:
ξ (correlation length) ~ 1 nm
Fluctuations small, invisible
Near critical point:
ξ → ∞ (diverges)
Fluctuations at ALL scales
λ_light ~ ξ → strong scattering
At T_c:
ξ = ∞
Scale-free fluctuations
Maximum opalescence
Ornstein-Zernike Theory
import numpy as np
def structure_factor(q, xi, chi_0=1.0):
"""
Ornstein-Zernike structure factor S(q).
S(q) = χ₀ / (1 + q²ξ²)
Args:
q: scattering wavevector
xi: correlation length
chi_0: susceptibility amplitude
At criticality (ξ → ∞): S(q) ~ q^(-2)
"""
return chi_0 / (1 + (q * xi) ** 2)
def correlation_length(T, T_c, xi_0=1.0, nu=0.63):
"""
Correlation length divergence near T_c.
ξ = ξ₀ |T - T_c|^(-ν)
Args:
T: temperature
T_c: critical temperature
xi_0: microscopic length
nu: critical exponent (3D Ising: 0.63, mean field: 0.5)
"""
t = abs(T - T_c) / T_c
if t < 1e-10:
return float('inf')
return xi_0 * (t ** (-nu))
def scattering_intensity(wavelength, xi):
"""
Rayleigh-Gans scattering intensity.
I ~ ξ³ for ξ << λ
I ~ ξ² for ξ >> λ (Porod regime)
"""
q = 2 * np.pi / wavelength
if xi < wavelength / 10:
# Rayleigh regime
return xi ** 3
else:
# Large fluctuations
return xi ** 2 * structure_factor(q, xi)
Connection to Onsager
Lars Onsager's exact solution of the 2D Ising model (1944) gave the first rigorous calculation of critical behavior:
Onsager's Results:
─────────────────
Critical temperature: k_B T_c / J = 2 / ln(1 + √2) ≈ 2.269
Specific heat: C ~ |T - T_c|^(-α) with α = 0 (log divergence)
Magnetization: M ~ |T - T_c|^β with β = 1/8
Susceptibility: χ ~ |T - T_c|^(-γ) with γ = 7/4
Correlation length: ξ ~ |T - T_c|^(-ν) with ν = 1
The 2D Ising model is EXACTLY SOLVABLE.
Opalescence would occur if we could "see" spin fluctuations.
Connection to Kolmogorov-Onsager-Hurst
┌─────────────────────────────────────────────────────────────────────┐
│ CRITICALITY ACROSS DOMAINS │
├─────────────────────────────────────────────────────────────────────┤
│ │
│ KOLMOGOROV ONSAGER HURST OPALESCENCE │
│ (Turbulence) (Phase Trans) (Memory) (Scattering) │
│ ───────────── ───────────── ────────── ───────────── │
│ E(k) ~ k^(-5/3) ξ ~ |t|^(-ν) H = 1/3 I ~ ξ^d │
│ Scale-free Divergence Long-range All wavelengths│
│ Inertial range Critical point Persistence Milky white │
│ │
│ ─────────────────── UNIFYING THEME ────────────────────────────── │
│ │
│ SCALE INVARIANCE: No characteristic length/time at criticality │
│ UNIVERSALITY: Same exponents for different systems │
│ FLUCTUATIONS: Correlations extend to all scales │
│ │
└─────────────────────────────────────────────────────────────────────┘
Protein Folding Connection
Proteins exhibit critical-like behavior:
def protein_scattering(concentration, T, T_fold, radius_gyration=3.0):
"""
Light scattering from protein solutions near folding transition.
Near T_fold:
- Molten globule state
- Large fluctuations
- Increased scattering
Aggregation (misfolding):
- Amyloid formation
- Massive scattering (visible turbidity)
- Opalescence in diseased states
"""
xi = correlation_length(T, T_fold, xi_0=radius_gyration, nu=0.5)
# Concentration-dependent scattering
# Zimm equation for polymers
I = concentration * xi ** 2
return I
class FoldingLandscape:
"""
Energy landscape for protein folding.
Funnel topology with roughness:
- Native state at bottom (global minimum)
- Kinetic traps (local minima)
- Chaperones smooth the landscape
"""
def __init__(self, roughness=0.3, funnel_dept
Установить critical-opalescence в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл critical-opalescence?
Critical opalescence at phase transitions: diverging correlation length, light scattering, and the visual signature of criticality in fluids, proteins, and complex systems
Как установить скилл critical-opalescence?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл critical-opalescence запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic