- Timestamp:
- May 7, 2008, 4:01:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/documentation/user_manual/anuga_user_manual.tex
r5246 r5288 2580 2580 See doc string for general function sww2timeseries for details. 2581 2581 2582 \end{funcdesc} 2583 2584 2585 \begin{funcdesc}{get\_flow\_through\_cross\_section}{filename, cross\_section, verbose=False} 2586 Module: \module{shallow\_water.data\_manager} 2587 2588 Obtain flow $[m^2]$ perpendicular to specified cross section. 2589 2590 Inputs: 2591 \begin{itemize} 2592 \item filename: Name of sww file containing ANUGA model output. 2593 \item polyline: Representation of desired cross section - it may contain multiple 2594 sections allowing for complex shapes. Assume absolute UTM coordinates. 2595 \end{itemize} 2596 2597 Output: 2598 \begin{itemize} 2599 \item time: All stored times in sww file 2600 \item Q: Hydrograph of total flow across given segments for all stored times. 2601 \end{itemize} 2602 2603 The normal flow is computed for each triangle intersected by the polyline and 2604 added up. Multiple segments at different angles are specified the normal flows 2605 may partially cancel each other. 2606 2607 Example to find flow through cross section: 2608 2609 \begin{verbatim} 2610 cross_section = [[x, 0], [x, width]] 2611 time, Q = get_flow_through_cross_section(filename, 2612 cross_section, 2613 verbose=False) 2614 \end{verbatim} 2615 2616 2617 See doc string for general function get_maximum_inundation_data for details. 2618 2582 2619 \end{funcdesc} 2583 2620
Note: See TracChangeset
for help on using the changeset viewer.