Changeset 3092


Ignore:
Timestamp:
Jun 6, 2006, 11:21:02 AM (18 years ago)
Author:
sexton
Message:

few more updates

Location:
documentation/user_manual
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • documentation/user_manual/anuga_user_manual.tex

    r3091 r3092  
    206206
    207207\section{A Simple Example}
     208\label{sec:simpleexample}
    208209
    209210\subsection{Overview}
     
    472473\subsubsection{Friction}
    473474
    474 The assignment of the friction quantity demonstrates another way we
     475The assignment of the friction quantity (a forcing term) demonstrates another way we
    475476can use \method{set\_quantity} to set quantities---namely, assign
    476477them to a constant numerical value:
     
    672673
    673674\section{An Example with Real Data}
    674 
     675\label{sec:realdataexample}
    675676The following discussion builds on the concepts introduced through
    676677the \file{runup.py} example and introduces a second
     
    12701271\section{Initial Conditions}
    12711272
     1273In standard usage of partial differential equations, initial conditions
     1274refers to the values associated to the system variables (the conserved
     1275quantities here) for \code{time = 0}. In setting up a scenario script
     1276as described in Sections \ref{sec:simpleexample} and \ref{sec:realdataexample},
     1277\code{set_quantity} is used to define the initial conditions of variables
     1278other than the conserved quantities, such as friction. Here, we use the terminology
     1279of initial conditions to refer to initial values for variables which need
     1280prescription to solve the shallow water wave equation. Further, it must be noted
     1281that \code{set_quantity} does not necessarily have to be used in the initial
     1282condition setting; it can be used at any time throughout the simulation.
     1283
    12721284\begin{funcdesc}{set\_quantity}{name,
    12731285    numeric = None,
     
    14841496Module: \module{pyvolution.generic\_boundary\_conditions}
    14851497
    1486 A Dirichlet boundary returns constant values for the conserved
     1498A Dirichlet boundary returns constant values for each of conserved
    14871499quantities. In the example of \code{Dirichlet\_boundary([0.2, 0.0, 0.0])},
    14881500the \code{stage} value at the boundary is 0.2 and the \code{xmomentum} and
     
    15041516Module: \module{pyvolution.generic\_boundary\_conditions}
    15051517
    1506 The boundary values are obtained from a file and interpolated. The
    1507 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.
     1518This method may be used if the user wishes to apply a SWW file or
     1519a time series file to a boundary segment or segments.
     1520The boundary values are obtained from a file and interpolated to the
     1521appropriate segments for each conserved quantity.
    15101522\end{classdesc}
    15111523
  • documentation/user_manual/examples/runsydney.py

    r3059 r3092  
    88the elevation data and a simulated submarine landslide.
    99
    10 Ole Nielsen and Duncan Gray, GA - 2005 and
    11 Adrian Hitchman and Jane Sexton, GA - 2006
    1210"""
    1311
Note: See TracChangeset for help on using the changeset viewer.