agentleFS
BaratiLabBaratiLab/mechanical-engineering-skills/skills/thermal-fluids-calc/SKILL.md

thermal-fluids-calc

Skill16 starsChanged 16 days agoMITView on GitHub

Thermal-fluids design calculations — pipe and duct pressure drop and pump head, heat exchanger rating and sizing (LMTD / ε-NTU), fin design, and fluid properties via CoolProp. Use when the user asks about pressure drop, pump sizing, heat exchanger duty or area, cooling fins, or properties of water, air, refrigerants, or oils.

  • Installs packages

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run scripts/thermo_fluids.py (needs pip install CoolProp).

    line 8
  2. Very specific:

    Get properties at the right temperature: use the mean bulk temperature for heat exchangers.

    line 12

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Thermal-Fluids Calculator

Run scripts/thermo_fluids.py (needs pip install CoolProp). Inputs are in SI. Convert first and state the conversion.

Workflow

  1. Classify: internal flow, heat exchanger, extended surface, or properties only.
  2. Get properties at the right temperature: use the mean bulk temperature for heat exchangers. Always use props; never use remembered property values.
    python scripts/thermo_fluids.py props --fluid Water --T 40
    CoolProp names: Water, Air, R134a, R1234yf, Nitrogen, CO2, INCOMP::MEG-30% (glycol mix).
  3. Calculate
    # Pressure drop in 50 m of 2" sch40 steel pipe, 4 L/s water, 3 elbows + valve
    python scripts/thermo_fluids.py pipe --D 0.0525 --L 50 --Q 0.004 --K 3.2 --T 20
    # Rate an exchanger with known UA
    python scripts/thermo_fluids.py hx --mh 0.5 --cph 4180 --mc 0.8 --cpc 4180 --Thi 80 --Tci 15 --UA 2500
    # Size for a duty, report area for U = 800 W/m2K
    python scripts/thermo_fluids.py hx --mh 0.5 --cph 4180 --mc 0.8 --cpc 4180 --Thi 80 --Tci 15 --q 60000 --U 800
    # Aluminum fin
    python scripts/thermo_fluids.py fin --k 200 --h 40 --L 0.03 --t 0.002 --w 0.05 --Tb 85 --Tinf 25
    Typical minor-loss K values and U ranges are in references/coefficients.md.
  4. Check: energy balance closes (q = Ch·ΔTh = Cc·ΔTc), no temperature cross, Re regime stated, velocities reasonable.
  5. Report: assumptions → results table → checks → recommendation (pipe size, exchanger area with a 10–25% fouling margin, fin count).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.