# Changeset 5242

Ignore:
Timestamp:
Apr 24, 2008, 7:30:33 PM (15 years ago)
Message:

Files:
9 edited

Unmodified
Removed
• ## anuga_core/source/anuga/abstract_2d_finite_volumes/domain.py

 r5162 # =0 for ghost N = len(self) #number_of_elements self.number_of_elements = N self.tri_full_flag = ones(N, Int) for i in self.ghost_recv_dict.keys(): # Test the assumption that all full triangles are store before # the ghost triangles. assert allclose(self.tri_full_flag[:self.number_of_full_nodes],1) if not allclose(self.tri_full_flag[:self.number_of_full_nodes],1): print 'WARNING:  Not all full triangles are store before ghost triangles' # Protect against degenerate timesteps arising from isolated # triangles # FIXME (Steve): This should be in shallow_water as it assumes x and y # momentum if self.protect_against_isolated_degenerate_timesteps is True and\ self.max_speed > 10.0: # FIXME (Ole): Make this configurable

 r3592 """ pass # Add path of package to PYTHONPATH to allow C-extensions to be loaded import sys sys.path += __path__ # Make selected classes available directly from advection import Domain,\ Transmissive_boundary, Dirichlet_boundary

 r3579 pass from anuga.abstract_2d_finite_volumes.advection_vtk import * from anuga.advection import * from Numeric import zeros, Float, Int, ones, allclose, array import pypar
• ## anuga_core/source/anuga_parallel/parallel_meshes.py

 r3579 import sys from Numeric import array, zeros, Float, Int from Numeric import array, zeros, Float, Int, ones, sum import pypar from anuga.config import epsilon ghost_recv_dict[(processor+1)%numproc] = [Idgr, Idgr] return  points, elements, boundary, full_send_dict, ghost_recv_dict
• ## anuga_core/source/anuga_parallel/print_stats.py

 r3954 for id in ghost_recv_dict[i][0]: tri_full_flag[id] = 0 return tri_full_flag
 r5235 \documentclass[12pt,a4paper]{article} % create a pdf of this doc by using pdflatex % create a pdf of this doc by using pdflatex % Do \emph{not} change the width nor the height of the text from the % defaults set by this document class. \usepackage{amsfonts} \usepackage{underscore} \usepackage{epstopdf} % Avoid loading unused packages (as done by some \LaTeX\ editors). \textsc{Australia}. \protect\url{mailto:Duncan.Gray@ga.gov.au}}\footnotemark[1] \and T.~Baldock\thanks{University of Queensland, Brisbane, \textsc{Australia}. T.~Baldock\thanks{University of Queensland, Brisbane, \textsc{Australia}. \protect\url{mailto:tom.baldock@uq.edu.au}}\footnotemark[2] \and O.~M.~Nielsen\footnotemark[1] \and \and M.~J.~Sexton\footnotemark[1] \and The core of \ANUGA{} is a \Python{} implementation of a finite-volume method for solving the conservative form of the Shallow Water Wave equation. In this paper we describe the model, the architecture and a range of validations that have been carried out to establish confidence in the model. In this paper we describe the model, the architecture and a range of validations that have been carried out to establish confidence in the model. described in section~\ref{sec:fvm}.  A more complete discussion of the method can be found in \cite{modsim2005} where the model and solution technique is validated on a standard tsunami benchmark data set technique is validated on a standard tsunami benchmark data set or in \cite{Roberts2007} where parallelisation of ANUGA is discussed. This modelling capability is part of understand the potential impact from natural hazards in order to reduce their impact on Australian communities (see \cite{Nielsen2006}). \ANUGA{} is currently being trialled for flood \ANUGA{} is currently being trialled for flood modelling (see \cite{Rigby2008}). wave specifications. The dataset also contained water depth time series from three wave gauges situated offshore from the simulated inundation area. The \ANUGA{} model comprised $41404$ triangles and took about $2000$ s to run on a standard PC or $1500$ s on a 64-bit Opteron 2000 series Linux server. inundation area. The \ANUGA{} model comprised $41404$ triangles and took about $2000$ s to run on a standard PC or $1500$ s on a 64-bit Opteron 2000 series Linux server. Figure~\ref{fig:val} compares the observed wave tank and modelled This successful replication of the tsunami wave tank simulation on a complex 3D beach is a positive first step in validating the \ANUGA{} modelling capability. modelling capability. \subsection{Manning's Friction Model Validation} % Validation UQ friction % at X:\anuga_validation\uq_friction_2007 \end{figure} The bed friction is modelled in ANUGA using the Manning's The bed friction is modelled in ANUGA using the Manning's model. Validation of this model was carried out by comparing results from ANUGA against experimental results from flume wave tanks. The experiments were carried out at the Gordon McKay Hydraulics Laboratory at St Lucia, University of Queensland. %The Manning's friction model is %To validate the friction model %The Manning's friction model is %To validate the friction model \subsection{Stage and Velocity Validation in a Flume} Figure~\ref{fig:uq-flume-depth} show that ANUGA predicts the actual water depth very well, with the exception of the fluid tip-region. The water velocity is also predicted accurately. water velocity is also predicted accurately. \subsection{Runup of Solitary wave on circular island wavetank validation}