LIVEdataset aec-bench@releasetasks 552models 18last submission · built
mechanicalwith-tool

Joukowsky Pressure

Calculates transient pressure rise using the Joukowsky equation from fluid density, pressure wave speed, and velocity change. The template reports the pressure rise in pascals and kilopascals and the equivalent pressure head in metres.

with-tool: The model is given an executable Python calculator script.

Standards

How this task is generated

One template produces many comparable benchmark tasks while keeping the scoring contract fixed.

  1. 01

    Template

    The reusable contract shown on this page.

  2. 02

    Scenario

    An archetype and site context are sampled.

  3. 03

    Difficulty tier

    Inputs may be hidden at harder tiers.

  4. 04

    Task prompt

    The model responds with the declared outputs.

Parameters

Inputs the model receives, and the outputs it is scored on.

Inputs

3 inputs

Always given

Included directly in every task prompt.

3
  • Fluid density

    fluid_density_kg_m3

    Fluid density rho

    700 – 1300 kg/m3
  • Wave speed

    wave_speed_m_s

    Pressure wave speed a

    100 – 1500 m/s
  • Velocity change

    velocity_change_m_s

    Magnitude of velocity change

    0.01 – 5 m/s

Scored outputs

3 outputs

Pressure rise pa

pressure_rise_pa

Joukowsky pressure rise

Scores if within ±3% of the reference value.

Pressure rise

pressure_rise_kpa

Joukowsky pressure rise

Scores if within ±3% of the reference value.

Pressure head

pressure_head_m

Equivalent pressure rise head

Scores if within ±3% of the reference value.

Difficulty

Each template is sampled at three tiers. Harder tiers may hide inputs, forcing the model to infer them from the scenario description.

All inputs remain visible at every tier

For this template, difficulty scales through parameter and scenario ranges rather than hidden information.

easy:
All parameters given for a stiff water main
medium:
All parameters given across stiff and flexible water mains
hard:
All parameters given for larger transient velocity changes

Task bundle

The exact instruction and parameter contract used to generate this task, pinned to the published library source.

/workspace

  • instruction.md
  • joukowsky-pressure_calc.py

Teal lines show Jinja input conditions, not task visibility policy. A line renders only when that input or tool is visible.

1You are a senior mechanical engineer specializing in transient hydraulic analysis.2 3## Problem4 5Calculate the pressure rise from a rapid velocity change using the Joukowsky equation.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Fluid density | {{ fluid_density_kg_m3 }} | kg/m3 |12| Pressure wave speed | {{ wave_speed_m_s }} | m/s |13| Velocity change | {{ velocity_change_m_s }} | m/s |14 15{% if archetype_description is defined %}16### Transient Context17 18{{ archetype_description }}19{% endif %}20 21{% if tool_available %}22## Available Tool23 24A Joukowsky pressure calculation tool is available at `/workspace/{{ meta.name }}_calc.py`. Run it with:25 26```bash27python3 /workspace/{{ meta.name }}_calc.py --help28```29 30You may use this tool to verify your calculations or compute values directly.31{% endif %}32 33## Required34 35Calculate the following:36 371. Pressure rise (Pa)382. Pressure rise (kPa)393. Equivalent pressure rise head (m)40 41## Constraints42 43- No internet access is available. Work from engineering knowledge and the provided tool.44- Use pressure rise = fluid density x wave speed x velocity change.45- Convert pressure rise from Pa to kPa by dividing by 1000.46- Use pressure head = pressure rise in Pa / (fluid density x 9.81).47 48## Output Format49 50Show your step-by-step working in Markdown. At the end of your solution, include a JSON block with your final answers in exactly this format:51 52```json53{54 "pressure_rise_pa": <numeric_value>,55 "pressure_rise_kpa": <numeric_value>,56 "pressure_head_m": <numeric_value>57}58```59 60Write your complete solution to `/workspace/output.md`.61

Scenario archetypes

Each generated task is drawn from one of these realistic scenario bands.

Site contexts ground each scenario in a real locale the model can use to infer hidden values.

Steel water main

steel_water_main

Stiff water main with high pressure wave speed

trunk-water-mainraw-water-pipeline
Parameter ranges
fluid_density_kg_m3
990 – 1000
wave_speed_m_s
900 – 1300
velocity_change_m_s
0.2 – 2.5

Flexible rising main

flexible_rising_main

Flexible rising main with lower pressure wave speed

sewer-rising-mainirrigation-transfer-line
Parameter ranges
fluid_density_kg_m3
990 – 1000
wave_speed_m_s
200 – 600
velocity_change_m_s
0.2 – 3.5

Example task

sewer-rising-main-flexible-rising-main-previewhard difficulty, all inputs given.

Flexible rising main with lower pressure wave speed. sewer-rising-main. Required outputs: pressure_rise_pa, pressure_rise_kpa, pressure_head_m

The model sees

Scenario context and visible inputs.

fluid_density_kg_m3
990 to 1000 kg/m3
wave_speed_m_s
200 to 600 m/s
velocity_change_m_s
0.2 to 3.5 m/s

Executable tool: joukowsky-pressure_calc.py

The model must infer

Inputs withheld at this difficulty.

Nothing. All inputs are supplied.

The model must produce

The scored JSON answer schema.

{
  "pressure_rise_pa": <number>,
  "pressure_rise_kpa": <number>,
  "pressure_head_m": <number>
}
  • pressure_rise_pa · scored within ±3%
  • pressure_rise_kpa · scored within ±3%
  • pressure_head_m · scored within ±3%