Changeset 5508
- Timestamp:
- Jul 16, 2008, 12:50:05 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/documentation/user_manual/anuga_user_manual.tex
r5507 r5508 494 494 The reader will probably appreciate that this capability to 495 495 incorporate expressions into statements using \method{set\_quantity} 496 greatly expands its power.) See Section \ref{sec: Initial Conditions} for more496 greatly expands its power.) See Section \ref{sec:initial conditions} for more 497 497 details. 498 498 … … 1383 1383 1384 1384 \begin{itemize} 1385 \item Establishing the Mesh 1386 \item Initialising the Domain 1387 \item Specifying the Quantities 1388 \item Initial Conditions 1389 \item Boundary Conditions 1390 \item Forcing Functions1391 \item Evolution 1385 \item Establishing the Mesh: Section \ref{sec:establishing the mesh} 1386 \item Initialising the Domain: Section \ref{sec:initialising the domain} 1387 \item Specifying the Quantities: Section \ref{sec:quantitis} 1388 \item Initial Conditions: Section \ref{sec:initial conditions} 1389 \item Boundary Conditions: Section \ref{sec:boundary conditions} 1390 \item Forcing Terms: Section \ref{sec:forcing terms} 1391 \item Evolution: Section \ref{sec:evolution} 1392 1392 \end{itemize} 1393 1393 … … 1450 1450 %\end{center} 1451 1451 1452 \section{Mesh Generation} 1453 1452 \section{Mesh Generation}\index{Mesh!generation} 1453 \label{sec:establishing the mesh} 1454 1454 Before discussing the part of the interface relating to mesh 1455 1455 generation, we begin with a description of a simple example of a … … 1722 1722 1723 1723 %%%%%% 1724 \section{Initialising the Domain} 1724 \section{Initialising the Domain}\index{Initialising the Domain} 1725 \label{sec:initialising the domain} 1725 1726 1726 1727 %Include description of the class Domain and the module domain. … … 1943 1944 1944 1945 %%%%%% 1945 \section{Initial Conditions} 1946 \label{sec: Initial Conditions}1946 \section{Initial Conditions}\index{Initial Conditions} 1947 \label{sec:initial conditions} 1947 1948 In standard usage of partial differential equations, initial conditions 1948 1949 refers to the values associated to the system variables (the conserved … … 2168 2169 %%%%%% 2169 2170 \section{Boundary Conditions}\index{boundary conditions} 2171 \label{sec:boundary conditions} 2170 2172 2171 2173 \anuga provides a large number of predefined boundary conditions, … … 2294 2296 2295 2297 2296 \section{Forcing Terms} 2297 \label{ forcing terms}2298 \section{Forcing Terms}\index{Forcing terms} 2299 \label{sec:forcing terms} 2298 2300 2299 2301 \anuga provides a number of predefined forcing functions to be used with simulations. … … 2301 2303 \code{domain.forcing\_terms} and have them affect the model. 2302 2304 2303 Currently, pred ifiend forcing terms are2305 Currently, predefined forcing terms are 2304 2306 2305 2307 \begin{funcdesc}{General\_forcing}{} … … 2324 2326 Note specifying both center, radius and polygon will cause an exception to be thrown. 2325 2327 2326 2328 \bigskip 2327 2329 Example: 2328 2330 {\scriptsize \begin{verbatim} 2329 xmom = General_forcing(domain, 'xmomentum', polygon=P) 2330 ymom = General_forcing(domain, 'ymomentum', polygon=P) 2331 2332 xmom.rate = f 2333 ymom.rate = g 2331 P = [[x0, y0], [x1, y0], [x1, y1], [x0, y1]] # Square polygon 2334 2332 2335 domain.forcing_terms.append(xmom) 2336 domain.forcing_terms.append(ymom) 2333 xmom = General_forcing(domain, 'xmomentum', polygon=P) 2334 ymom = General_forcing(domain, 'ymomentum', polygon=P) 2335 2336 xmom.rate = f 2337 ymom.rate = g 2338 2339 domain.forcing_terms.append(xmom) 2340 domain.forcing_terms.append(ymom) 2337 2341 \end{verbatim}} 2338 2342 Here, \code{f}, \code{g} are assumed to be defined as functions of time providing a time dependent rate of change for xmomentum and ymomentum respectively. 2339 P is assumed to be polygon, specified as a list of points , e.g. a square \code{P = [[x0, y0], [x1, y0], [x1, y1], [x0, y1]]}.2343 P is assumed to be polygon, specified as a list of points. 2340 2344 2341 2345 \end{funcdesc} … … 2364 2368 \end{itemize} 2365 2369 2366 2370 \bigskip 2367 2371 Example: 2368 2372 {\scriptsize \begin{verbatim} … … 2400 2404 \end{itemize} 2401 2405 2406 \bigskip 2402 2407 Example: 2403 2408 {\scriptsize \begin{verbatim} … … 2439 2444 The user can specify different culvert routines. Hower ANUGA currently specifies one, namely the \code{boyd\_generalised\_culvert\_model} as used in the example below. 2440 2445 2446 \bigskip 2441 2447 Example: 2442 2448 {\scriptsize \begin{verbatim} … … 2476 2482 2477 2483 \section{Evolution}\index{evolution} 2484 \label{sec:evolution} 2478 2485 2479 2486 \begin{methoddesc}{evolve}{yieldstep = None, finaltime = None, duration = None, skip_initial_step = False}
Note: See TracChangeset
for help on using the changeset viewer.