Define Rainfall¶
Rainfall is the most common inflow type. It applies a rainfall intensity (in mm/hr) uniformly over a polygon within your domain.
Adding rainfall¶
- Select the Inflows layer
- Click the pencil icon to enter edit mode
- Click Add New Feature
- Draw a polygon covering the area where rainfall should be applied
- Set the Type to
Rainfall - Enter the rainfall intensity in the Data field (e.g.
50for 50 mm/hr) - Click Save Changes
Tip
For a simple uniform rainfall event, draw a single polygon that covers the entire domain boundary. The rainfall intensity will be applied uniformly within the polygon.
Time-varying rainfall¶
For time-varying rainfall, the Data field accepts a JSON array of timestamp/value pairs:
[
{"timestamp": "2024-01-01T00:00:00Z", "value": 0},
{"timestamp": "2024-01-01T00:10:00Z", "value": 25},
{"timestamp": "2024-01-01T00:30:00Z", "value": 50},
{"timestamp": "2024-01-01T01:00:00Z", "value": 10},
{"timestamp": "2024-01-01T01:30:00Z", "value": 0}
]
Values are in mm/hr. ANUGA interpolates linearly between data points.
Next steps¶
With elevation, boundaries, and rainfall defined, you're ready to configure and run a scenario.