Changeset 3092
- Timestamp:
- Jun 6, 2006, 11:21:02 AM (19 years ago)
- Location:
- documentation/user_manual
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/user_manual/anuga_user_manual.tex
r3091 r3092 206 206 207 207 \section{A Simple Example} 208 \label{sec:simpleexample} 208 209 209 210 \subsection{Overview} … … 472 473 \subsubsection{Friction} 473 474 474 The assignment of the friction quantity demonstrates another way we475 The assignment of the friction quantity (a forcing term) demonstrates another way we 475 476 can use \method{set\_quantity} to set quantities---namely, assign 476 477 them to a constant numerical value: … … 672 673 673 674 \section{An Example with Real Data} 674 675 \label{sec:realdataexample} 675 676 The following discussion builds on the concepts introduced through 676 677 the \file{runup.py} example and introduces a second … … 1270 1271 \section{Initial Conditions} 1271 1272 1273 In standard usage of partial differential equations, initial conditions 1274 refers to the values associated to the system variables (the conserved 1275 quantities here) for \code{time = 0}. In setting up a scenario script 1276 as described in Sections \ref{sec:simpleexample} and \ref{sec:realdataexample}, 1277 \code{set_quantity} is used to define the initial conditions of variables 1278 other than the conserved quantities, such as friction. Here, we use the terminology 1279 of initial conditions to refer to initial values for variables which need 1280 prescription to solve the shallow water wave equation. Further, it must be noted 1281 that \code{set_quantity} does not necessarily have to be used in the initial 1282 condition setting; it can be used at any time throughout the simulation. 1283 1272 1284 \begin{funcdesc}{set\_quantity}{name, 1273 1285 numeric = None, … … 1484 1496 Module: \module{pyvolution.generic\_boundary\_conditions} 1485 1497 1486 A Dirichlet boundary returns constant values for theconserved1498 A Dirichlet boundary returns constant values for each of conserved 1487 1499 quantities. In the example of \code{Dirichlet\_boundary([0.2, 0.0, 0.0])}, 1488 1500 the \code{stage} value at the boundary is 0.2 and the \code{xmomentum} and … … 1504 1516 Module: \module{pyvolution.generic\_boundary\_conditions} 1505 1517 1506 Th e boundary values are obtained from a file and interpolated. The1507 file is assumed to contain a time series and possibly also spatial 1508 information. The conserved quantities are given as a function of 1509 time.1518 This method may be used if the user wishes to apply a SWW file or 1519 a time series file to a boundary segment or segments. 1520 The boundary values are obtained from a file and interpolated to the 1521 appropriate segments for each conserved quantity. 1510 1522 \end{classdesc} 1511 1523 -
documentation/user_manual/examples/runsydney.py
r3059 r3092 8 8 the elevation data and a simulated submarine landslide. 9 9 10 Ole Nielsen and Duncan Gray, GA - 2005 and11 Adrian Hitchman and Jane Sexton, GA - 200612 10 """ 13 11
Note: See TracChangeset
for help on using the changeset viewer.