Pressure rise pa
pressure_rise_pa
Joukowsky pressure rise
Scores if within ±3% of the reference value.
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
One template produces many comparable benchmark tasks while keeping the scoring contract fixed.
01
The reusable contract shown on this page.
02
An archetype and site context are sampled.
03
Inputs may be hidden at harder tiers.
04
The model responds with the declared outputs.
Inputs the model receives, and the outputs it is scored on.
3 inputs
Included directly in every task prompt.
Fluid density
fluid_density_kg_m3
Fluid density rho
Wave speed
wave_speed_m_s
Pressure wave speed a
Velocity change
velocity_change_m_s
Magnitude of velocity change
3 outputs
pressure_rise_pa
Joukowsky pressure rise
Scores if within ±3% of the reference value.
pressure_rise_kpa
Joukowsky pressure rise
Scores if within ±3% of the reference value.
pressure_head_m
Equivalent pressure rise head
Scores if within ±3% of the reference value.
Each template is sampled at three tiers. Harder tiers may hide inputs, forcing the model to infer them from the scenario description.
For this template, difficulty scales through parameter and scenario ranges rather than hidden information.
The exact instruction and parameter contract used to generate this task, pinned to the published library source.
/workspace
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 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
Stiff water main with high pressure wave speed
flexible_rising_main
Flexible rising main with lower pressure wave speed
sewer-rising-main-flexible-rising-main-preview — hard 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
Scenario context and visible inputs.
Executable tool: joukowsky-pressure_calc.py
Inputs withheld at this difficulty.
Nothing. All inputs are supplied.
The scored JSON answer schema.
{
"pressure_rise_pa": <number>,
"pressure_rise_kpa": <number>,
"pressure_head_m": <number>
}