# Changeset 3756

Ignore:
Timestamp:
Oct 11, 2006, 5:04:03 PM (16 years ago)
Message:

 r3754 within each cell over time by solving the shallow water wave equation governing equation using a finite-volume method. \anuga cannot model details of breaking waves, flow under ceilings such as pipes, turbulence and vortices, vertical convection or viscous flows. \anuga also incorporates a mesh generator, called \code{pmesh}, that As such it cannot resolve vertical convection and consequently not breaking waves or 3D turbulence (e.g.\ vorticity). \item The surface is assumed to be open, e.g. \anuga cannot model flow under ceilings or in pipes \item Fluid is assumed to be inviscid \item The finite volume is a very robust and flexible numerical technique, but it is not the fastest method around. If the geometry is sufficiently {\small \begin{verbatim} domain.set_name('bedslope') domain.set_name('runup') \end{verbatim}} tool \code{swollen}. Figure \ref{fig:runupstart} shows the domain with water surface as specified by the initial condition, $t=0$. Figure \ref{fig:bedslope2} shows later snapshots for $t=2.3$ and Figure \ref{fig:runup2} shows later snapshots for $t=2.3$ and $t=4$ where the system has been evolved and the wave is encroaching on the previously dry bed.  All figures are screenshots from an {examples/runupstart.eps}} \caption{Bedslope example viewed with Swollen} \caption{Runup example viewed with Swollen} \label{fig:runupstart} \end{figure} } \caption{Bedslope example viewed with Swollen} \label{fig:bedslope2} \caption{Runup example viewed with Swollen} \label{fig:runup2} \end{figure} \section{Model Output} The following figures are screenshots from the \anuga visualisation The following figure is a screenshot from the \anuga visualisation tool \code{swollen} of output from this example. %\begin{figure}[hbt] %  \centerline{\includegraphics[width=75mm, height=75mm] %    {examples/runupstart.eps}}% % %  \caption{Bedslope example viewed with Swollen} %  \label{fig:runupstart} %\end{figure} \begin{figure}[hbt] \centerline{\includegraphics[height=75mm] {examples/channel1.eps}}% \caption{Simple channel example viewed with Swollen} \label{fig:channel1} \end{figure} In addition, changing the resolution to dx=dy=0.1 creates a finer mesh resolving the new featurse better. A screenshot of this model at time == ... is A screenshot of this model at time == 15s is \begin{figure}[hbt] \centerline{\includegraphics[width=75mm, height=75mm] {examples/runupstart.eps}} \caption{Channel3 example viewed with Swollen} \centerline{\includegraphics[height=75mm] {examples/channel3.eps}} \caption{More complex flow in a channel} \label{fig:channel3} \end{figure} you to convert an NetCDF file into a readable format such as the Class Definition Language (CDL). The following is an excerpt from a CDL representation of the output file \file{bedslope.sww} generated CDL representation of the output file \file{runup.sww} generated from running the simple example \file{runup.py} of Chapter \ref{ch:getstarted}: \code{SWW} file output by \anuga and creates a visual representation of the data. Examples may be seen in Figures \ref{fig:runupstart} and \ref{fig:bedslope2}. To view an \code{SWW} file with and \ref{fig:runup2}. To view an \code{SWW} file with \code{swollen} in the Windows environment, you can simply drag the icon representing the file over an icon on the desktop for the