Flow area m2
flow_area_m2
Flow cross-sectional area A (m²)
Scores if within ±3% of the reference value.
Computes flow area, wetted perimeter, hydraulic radius, velocity, discharge capacity, and Froude number for trapezoidal or rectangular open channels using Manning's equation V = (1/n)*R^(2/3)*S^(1/2). Used in drainage and flood conveyance design per HEC-22 and Australian Rainfall and Runoff (ARR) standards.
with-tool: The model is given an executable Python calculator script.
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.
5 inputs
Included directly in every task prompt.
Bottom width
bottom_width_m
Channel bottom width b
Flow depth
flow_depth_m
Flow depth y
Side slope z
side_slope_z
Side slope ratio z (horizontal:vertical, 0 for rectangular)
Channel slope m per m
channel_slope_m_per_m
Longitudinal channel slope S
Sampled from the scenario and inferable from its description.
Mannings n
mannings_n
Manning's roughness coefficient n
Derived from the archetype scenario. Hidden at hard difficulty.
6 outputs
flow_area_m2
Flow cross-sectional area A (m²)
Scores if within ±3% of the reference value.
wetted_perimeter_m
Wetted perimeter P (m)
Scores if within ±3% of the reference value.
hydraulic_radius_m
Hydraulic radius R (m)
Scores if within ±3% of the reference value.
flow_velocity_m_s
Flow velocity V (m/s)
Scores if within ±3% of the reference value.
flow_capacity_m3_s
Flow capacity Q (m³/s)
Scores if within ±3% of the reference value.
froude_number
Froude number Fr (dimensionless)
Scores if within ±5% 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.
All inputs given
Rectangular channel (z = 0), all parameters given
Side slope z restricted to: 0
All inputs given
Trapezoidal channel, all parameters given
Some inputs hidden
Trapezoidal channel, roughness coefficient hidden
Hidden inputs
Prompt replacement text
The channel is {{ archetype.description }} at {{ archetype.site_context }}
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 civil engineer specializing in hydraulic design and open channel flow.2 3## Problem4 5Calculate the flow capacity and velocity in an open channel using Manning's equation.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Bottom width (b) | {{ bottom_width_m }} | m |12| Flow depth (y) | {{ flow_depth_m }} | m |13| Side slope (z H:V) | {{ side_slope_z }} | - |14{% if mannings_n is defined %}15| Manning's roughness (n) | {{ mannings_n }} | - |16{% endif %}17| Channel slope (S) | {{ channel_slope_m_per_m }} | m/m |18{% if archetype_description is defined %}19 20### Channel Conditions21 22{{ archetype_description }}23{% endif %}24 25{% if tool_available %}26## Available Tool27 28An open channel flow calculation tool is available at `/workspace/{{ meta.name }}_calc.py`. Run it with:29 30```bash31python3 /workspace/{{ meta.name }}_calc.py --help32```33 34You may use this tool to verify your calculations or compute values directly.35{% endif %}36 37## Required38 39Calculate the following:40 411. Flow cross-sectional area A (m²)422. Wetted perimeter P (m)433. Hydraulic radius R (m)444. Flow velocity V (m/s)455. Flow capacity Q (m³/s)466. Froude number Fr (dimensionless)47 48## Applicable Standards49 50- HEC-22: Urban Drainage Design Manual51- ARR: Australian Rainfall and Runoff52 53## Constraints54 55- No internet access is available. Work from engineering knowledge and the provided tool.56- Use Manning's equation (SI units):57 - **Velocity:** V = (1/n) × R^(2/3) × S^(1/2)58 - **Flow capacity:** Q = V × A59- For trapezoidal channel geometry (side slope z, horizontal:vertical):60 - Flow area: A = (b + z × y) × y61 - Wetted perimeter: P = b + 2 × y × √(1 + z²)62 - Hydraulic radius: R = A / P63 - Top width: T = b + 2 × z × y64- For rectangular channel (z = 0): A = b × y, P = b + 2y, R = A / P, T = b65- Froude number: Fr = V / √(g × D_h) where D_h = A / T and g = 9.81 m/s²66 67## Output Format68 69Show your step-by-step working in Markdown, including formulas and intermediate calculations. At the end of your solution, include a JSON block with your final answers in exactly this format:70 71```json72{73 "flow_area_m2": <numeric_value>,74 "wetted_perimeter_m": <numeric_value>,75 "hydraulic_radius_m": <numeric_value>,76 "flow_velocity_m_s": <numeric_value>,77 "flow_capacity_m3_s": <numeric_value>,78 "froude_number": <numeric_value>79}80```81 82Write your complete solution to `/workspace/output.md`.83 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.
concrete_lined
Concrete-lined trapezoidal channel
grassed_channel
Grassed or turfed drainage swale
riprap_lined
Riprap or rock-lined channel
natural_earth
Unlined natural earth channel
gabion_lined
Gabion-lined channel
brisbane-trunk-drainage-concrete-lined-preview — hard difficulty, some inputs hidden.
Concrete-lined trapezoidal channel. brisbane-trunk-drainage. Required outputs: flow_area_m2, wetted_perimeter_m, hydraulic_radius_m, flow_velocity_m_s, flow_capacity_m3_s, froude_number
Scenario context and visible inputs.
Executable tool: open-channel-capacity_calc.py
Inputs withheld at this difficulty.
Mannings n
mannings_n
Stand-in text in the prompt
The channel is {{ archetype.description }} at {{ archetype.site_context }}
The scored JSON answer schema.
{
"flow_area_m2": <number>,
"wetted_perimeter_m": <number>,
"hydraulic_radius_m": <number>,
"flow_velocity_m_s": <number>,
"flow_capacity_m3_s": <number>,
"froude_number": <number>
}