sfr-tdd-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
sfr-tdd-mcp
A small, steady-state calculator for a single horizontal sodium heat pipe, exposed as an MCP tool (calculate_heatpipe_heat_transfer).
This is a portfolio demonstration. It is not a qualified design or safety code.
Background
Built as a clean-room demonstration: a single horizontal sodium heat pipe calculator tracing every thermophysical constant to scanned pages in ANL/RE-95/2 (Fink & Leibowitz, 1995) and pulling test oracles directly from printed benchmark tables.
Related MCP server: subsea-flow-calculator
Scope
Corridor: 625–750 °C saturation temperature, 50–750 W, horizontal (θ = 0°), steady state only. Inputs outside this corridor are rejected.
Geometry (frozen):
Tube: Do = 19.05 mm, wall 1.0 mm
Wick: 1.0 mm annular, sintered stainless powder (d_p = 100 µm, ε = 0.65)
Vapor core: Dv = 15.05 mm
Lengths: Le = 1.0 m, La = 0.5 m, Lc = 1.0 m
Outputs: mass flow, wall temperatures, ΔT, capillary margin, vapor Re and Mach number, and a flow regime computed from those numbers.
Physics and sources
Item | Model | Source |
Liquid ρ, Cp, σ, μ, k; P_sat; ΔH_v | ANL correlations | ANL/RE-95/2 (Fink & Leibowitz, 1995) |
Vapor density | Clausius-Clapeyron relation using ANL P_sat and ΔH_v | ANL/RE-95/2 method |
Vapor viscosity | PROVISIONAL power-law fit, not yet sourced | to be replaced (Golden & Tokar, ANL-7323) |
Wick r_eff, K | r_eff = 0.21 d_p; Blake-Kozeny | Chi (1976) |
Wick k_eff | sintered (Maxwell) form | Chi (1976) |
Pressure drops | Darcy (liquid), Hagen-Poiseuille over L_eff (vapor) | standard |
Thermal network | wall + wick (radial) ×2, Clausius-Clapeyron vapor resistance | standard |
Why other operating limits are excluded
Capillary pumping is the binding limit. Hand calculations at the worst case (625 °C), using this code's property functions:
Limit | Q_max |
Capillary | ~1.1 kW (M_cap ≥ 1.48 everywhere in the corridor) |
Sonic (Levy) | ~3.2 kW |
Entrainment | ~5.5 kW |
Viscous (Busse) | ~7.1 kW |
Across the corridor, the vapor flow is laminar (Re_v < 800) and Ma < 0.09, so the incompressible laminar assumption holds.
Verification status (plain version)
Properties: every ANL/RE-95/2 equation used by the solver (rho_l, rho_g, P_sat, dH_v, sigma, mu_l, k_l) was checked against the scanned report pages, and the citations give section, equation and page. Liquid and vapor density are also tested against printed Table 1.3-1 (p. 87) at 900 K and 1000 K.
Layer 2: the tests check against an independent hand calculation at 500 W / 650 °C, done outside the codebase. This is a regression anchor, not a code-to-code benchmark against LANL HTPIPE or experimental data.
No NQA-1 qualification is claimed.
Uncertainty
Surface tension: ANL states +/-11% (2 sigma). The capillary margin scales with sigma, so the corridor minimum M_cap of 1.48 becomes about 1.32 at the low end. That is still above 1.
Vapor viscosity: this is PROVISIONAL. ANL/RE-95/2 gives no vapor viscosity. A Chapman-Enskog estimate for monomer Na gives 1.56e-5 Pa s at 650 C, against the code's 2.06e-5. That is roughly a 25% spread. Sensitivity with mu_v varied from x0.70 to x1.15:
M_cap changes by less than 1%, because the vapor drop is about 2% of the total pressure drop. The capillary conclusion is insensitive to mu_v.
End-to-end delta_T at 500 W / 650 C ranges from 2.17 to 2.73 K, because R_vapor is about half of the thermal resistance. Treat delta_T as +/-15%.
How it was built
Built AI-paired. I set scope, architecture, and invariants; the model wrote tests first, then code. An independent model audit caught a mislabeled benchmark and an inconsistent wick spec, and both were fixed. See the git log, which keeps the red/green history. For architectural steering decisions, literature cross-checks, and adversarial verification catches, see VERIFICATION_LOG.md.
Run
PYTHONPATH=src python3 -m pytest -q
PYTHONPATH=src python3 -m sfr_mcp.serverTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Design, solve and simulate HVAC systems from real components, weather years and buildings.
Thermodynamic properties and cycles with CoolProp: fluid states, refrigeration, Rankine, Brayton.
coolprop — thermophysical fluid properties (PropsSI-style: give two independent state variables…
Heating, ventilation and energy engineering calculations and diagnostics for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA physics engine for liquid-cooled GPU systems, exposed as an AI-callable MCP server. Enables thermal analysis, coolant comparison, flow optimization, and rack-level sizing via natural language queries.1MIT
- AlicenseAqualityCmaintenanceModel Context Protocol (MCP) server for deepwater subsea pipeline engineering: API RP 1111 external collapse limit states, hydrostatic pressure gradients up to 3,500m, Towler-Mokhatab gas hydrate phase equilibria, and Hammerschmidt MEG thermodynamic inhibitor dosage calculations.47 npmMIT
- AlicenseBqualityBmaintenanceEnables MCP clients and LLM agents to run deterministic fast-reactor and fuel-cycle solvers in one place: sodium bundle thermal hydraulics with FCCI margins, RVACS decay-heat transients, heat-pipe/sCO2 capillary limits, LiCl-KCl electrorefining mass balance, Ac-225 isotope yield, data-center microgrid load-following, defense microreactor resilience, and HALEU cask logistics. Exposes a chained multi-physics transient orchestrator tool alongside a standalone CLI for scripted physics runs.11Academic Free v1.1
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to look up thermophysical properties — density, viscosity, thermal conductivity, speed of sound, enthalpy, entropy, Cv/Cp and phase — for roughly 76 reference fluids at a given temperature and pressure, or along the liquid/vapor saturation curve, plus fluid listing and name resolution. Each returned value is accompanied by its unit, and out-of-range conditions surface as clear errors.81 npmMIT