agentleFS
gugu-2gugu-2/Prompt-CAD/skills/multi-physics/SKILL.md

multi-physics-cosimulation

Skill2 starsChanged 6 months agoMITView on GitHub

Orchestrates coupled Thermal, Structural, and Fluid (Static Pressure) physics to simulate real-world thermoelasticity and pressure warping.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When designing parts exposed to high temperatures (e.g., motor mounts, exhaust manifolds, 3D printer hotends).

    line 11
  2. Distinctive:

    When designing pressure vessels or fluid pipes.

    line 12
  3. Very specific:

    Static Pressure Map: Do not attempt to run a full transient Navier-Stokes CFD simulation.

    line 64
  4. Distinctive:

    Yield Failure: If the script reports a "Safety Factor < 1.0", the part has structurally failed due to thermal expansion or pressure.

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

Multi-Physics Co-Simulation Bridge

This skill elevates the agent from simple linear stress analysis to advanced Thermoelasticity and Multi-Physics. It allows you to simulate how a part behaves when subjected to extreme heat, internal fluid pressure, and structural loads simultaneously.

When to Use

  • When designing parts exposed to high temperatures (e.g., motor mounts, exhaust manifolds, 3D printer hotends).
  • When designing pressure vessels or fluid pipes.
  • To verify if thermal expansion will cause a part to warp or crack.

How to Use

1. Create a Co-Simulation JSON Definition Extract the physics boundary conditions into a JSON file.

Example hot_pipe_cosim.json:

{
  "project_name": "Exhaust Pipe",
  "geometry": "pipe.stl",
  "material": {
    "name": "Aluminum_6061",
    "youngs_modulus_gpa": 68.9,
    "thermal_expansion_coeff_um_m_c": 23.6,
    "yield_strength_mpa": 276.0
  },
  "physics": {
    "ambient_temp_c": 20.0,
    "thermal_loads": [
      {
        "region": "internal_faces",
        "temperature_c": 150.0
      }
    ],
    "fluid_loads": [
      {
        "region": "internal_faces",
        "static_pressure_mpa": 0.5
      }
    ],
    "structural_anchors": [
      {
        "region": "flange_A"
      },
      {
        "region": "flange_B"
      }
    ]
  }
}

2. Run the Co-Simulation

python skills/multi-physics/scripts/cosimulate.py --config hot_pipe_cosim.json

Rules for Agents

  • Static Pressure Map: Do not attempt to run a full transient Navier-Stokes CFD simulation. Map fluid forces as static_pressure_mpa on internal regions.
  • Yield Failure: If the script reports a "Safety Factor < 1.0", the part has structurally failed due to thermal expansion or pressure. You MUST redesign the part (e.g., add expansion joints or thicken the walls).

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.