Reynolds pipe flow

From XuShuwenn/RedAct · View interactive version

Reynolds pipe flow is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Compute the pipe-flow Reynolds number from density, dynamic viscosity, diameter, and velocity, and classify the flow regime with precise rounding and formatting.

How to use this skill

Skill file

Reynolds Number for Pipe Flow

Compute Reynolds number for internal (pipe) flow and classify the flow regime using standard thresholds. Read scalar inputs from the task's input file, compute Re = ρ × v × D / μ, round to 1 decimal, classify, and write exactly two lines to the designated output file.

When to Use

Core Workflow

  1. Ingest input values
  1. Validate inputs
  1. Compute Reynolds number
  1. Classify the flow regime using the unrounded Re
  1. Prepare outputs
  1. Write results

Verification

Common Pitfalls

Optional Script Usage

You can use scripts/compute_reynolds.py to parse common input formats, compute Re, classify the regime, and emit the two standardized output lines.

The script:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.