Changeset 4021
- Timestamp:
- Nov 21, 2006, 3:02:03 PM (18 years ago)
- Files:
-
- 1 added
- 1 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/documentation/user_manual/demos/cairns/runcairns.py
r4003 r4021 35 35 # Define scenario as either slump or fixed_wave. 36 36 #------------------------------------------------------------------------------- 37 scenario = 'slump' # OR 'fixed_wave' 37 #scenario = 'slump' # OR 38 scenario = 'fixed_wave' 38 39 if access(scenario,F_OK) == 0: 39 40 mkdir (scenario) … … 193 194 domain.write_boundary_statistics(tags = 'ocean_east') 194 195 195 196 197 198 199 196 # save every 30 secs as wave starts inundating ashore 197 for t in domain.evolve(yieldstep = 30, finaltime = 10000, 198 skip_initial_step = True): 199 domain.write_time() 200 domain.write_boundary_statistics(tags = 'ocean_east') 200 201 201 202 print 'That took %.2f seconds' %(time.time()-t0) -
anuga_core/source/anuga/shallow_water/smf.py
r4009 r4021 92 92 a3D = a2D / (1 + (15.5*sqrt(depth/(length*sint)))) 93 93 94 if verbose is True: 95 94 96 #a few temporary print statements 95 97 if verbose is True: … … 111 113 print '\t2D amplitude: ', a2D 112 114 print '\t3D amplitude: ', a3D 115 print '\t HELLO', a0, ut, s0, t0, w, a2D, a3D 113 116 114 117 #keep an eye on some of the assumptions built into the maths … … 117 120 if verbose is True: 118 121 print 'WARNING: slope out of range (5 - 30 degrees) ', slope 122 print 'hello' 119 123 if ((depth/length < 0.06) or (depth/length > 1.5)): 120 124 if verbose is True: -
anuga_work/production/dampier_2006/export_results.py
r4009 r4021 19 19 20 20 if which_var == 1: # Absolute Momentum 21 outname = name + '_momentum '21 outname = name + '_momentum_i0' 22 22 quantityname = '(xmomentum**2 + ymomentum**2)**0.5' 23 23 24 24 if which_var == 2: # Depth 25 outname = name + '_depth '25 outname = name + '_depth_test100' 26 26 quantityname = 'stage-elevation' 27 27 28 28 if which_var == 3: # Speed 29 outname = name + '_speed '29 outname = name + '_speed_i8' 30 30 #quantityname = '((xmomentum/(stage-elevation))**2 + (ymomentum/(stage-elevation))**2)**0.5' #Speed 31 31 quantityname = '(xmomentum**2 + ymomentum**2)**0.5/(stage-elevation+1.e-30)' #Speed … … 42 42 sww2dem(namei, basename_out = outnamei, 43 43 quantity = quantityname, 44 cellsize = 20, 44 #timestep = 0, 45 cellsize = 100, 45 46 easting_min = project.e_min_area, 46 47 easting_max = project.e_max_area, -
anuga_work/production/dampier_2006/make_report_cipma.py
r4009 r4021 88 88 gauge_map1 = 'dampier_gauges_1.jpg' 89 89 gauge_map2 = 'dampier_gauges_2.jpg' 90 gauge_map3 = 'dampier_gauges_3.jpg'91 90 92 91 # Create sections and graphs for each designated production directory … … 111 110 report = True, 112 111 reportname = reportname, 113 plot_quantity = ['stage', ' speed'],112 plot_quantity = ['stage', 'momentum'], 114 113 surface = False, 115 114 time_min = None, … … 133 132 report = True, 134 133 reportname = report_name, 135 plot_quantity = ['stage', ' speed'],134 plot_quantity = ['stage', 'momentum'], 136 135 surface = False, 137 136 time_min = None, … … 257 256 s = """ 258 257 \caption{Point locations used for Dampier study; surrounding the facility. 259 See Appendix \\ref{sec:timeseries} for stage and speedresults.258 See Appendix \\ref{sec:timeseries} for stage and momentum results. 260 259 } 261 260 \label{fig:points2} … … 263 262 """ 264 263 fid.write(s) 265 s = '\\begin{figure}[hbt] \centerline{\includegraphics[scale=0.5]{../report_figures/%s}}' %gauge_map1266 fid.write(s)267 s = """268 \caption{Point location used for Dampier study; surrounding the middle section of the pipeline.269 See Appendix \\ref{sec:timeseries} for stage and speed results.}270 \label{fig:points1}271 \end{figure}272 """273 fid.write(s)274 264 s = '\\begin{figure}[hbt] \centerline{\includegraphics[scale=0.5]{../report_figures/%s}}' %gauge_map3 275 265 fid.write(s) … … 277 267 \caption{Point locations used for Dampier study; section 278 268 of the pipeline towards the boundary of the region and other boundary gauges. 279 See Appendix \\ref{sec:timeseries} for stage and speedresults.}269 See Appendix \\ref{sec:timeseries} for stage and momentum results.} 280 270 \label{fig:points3} 281 271 \end{figure} -
anuga_work/production/dampier_2006/report/anuga_setup.tex
r4009 r4021 19 19 20 20 To set up a model for the tsunami scenario, a study area is first 21 determined. Here, we define the study area to cover around km of coastline22 and extending offshore to around the 70m depth contour. Onshore data coversthe21 determined. Here, we define the study area to 22 extend offshore to around the 70m depth contour with the onshore data covering the 23 23 area of interest to CIPMA. The study area is around 6250 km$^2$. 24 24 … … 30 30 area will be the maximum cell area within the defined region and that each 31 31 cell in the region does not necessarily have the same area.}. 32 The cell areas should not be too small as this will cause unrealisticly long computational time, 33 and not too great as this may inadequately capture important behaviour. 34 %There are no gains in choosing the area to be less than the supporting data. 35 Figure \ref{fig:dampier_area} shows the study area with regions of difference cell areas. The total number 36 of cells is 177 000. 32 \Figure \ref{fig:dampier_area} shows the study area with regions of difference cell areas. The total number 33 of cells is 177 191. 37 34 Lateral accuracy refers to the distance at which we are confident in stating a region is inundated. 38 35 Figure \ref{fig:dampier_area} shows the maximum triangular cell area and lateral accuracy for each region. … … 46 43 47 44 \caption{Study area for Dampier scenario highlighting four regions of increased refinement. 48 Region 1: Surrounds onshore gas infrastructure at Dampier with a cell area of 500 m$^2$ (lateral accuracy 30 m) .45 Region 1: Surrounds onshore gas infrastructure at Dampier with a cell area of 500 m$^2$ (lateral accuracy 30 m) - not shown here. 49 46 Region 2: Surrounds the gas pipelines with a cell area of 2000 m$^2$ (lateral accuracy 100 m). 50 47 Region 3: Surrounds the coastal regions with a cell area of 10000 m$^2$ (lateral accuracy m). -
anuga_work/production/dampier_2006/report/data.tex
r3988 r4021 13 13 as the vertical datum. Mean Sea Level (MSL) is approximately equal to 14 14 0m AHD with the Highest Astronomical Tide (HAT) 15 and Lowest Astronomical Tide (LAT) defined as 2.4m AHD 16 and -m AHD respectively for Dampier \cite{antt:06}. 15 defined as 2.4m AHD for Dampier \cite{antt:06}. 17 16 18 17 Data for this study have been sourced from a number of agencies. With -
anuga_work/production/dampier_2006/report/execsum.tex
r3957 r4021 3 3 Risk Assessment Methods Project (RAMP). The purpose of this 4 4 study is to determine the potential tsunami inundation extent and 5 particle velocityas the tsunami5 particle momentum as the tsunami 6 6 impacts the major gas facilities and infrastructure in Dampier. 7 7 … … 10 10 and results (Section \ref{sec:results}) 11 11 for a specific tsunami-genic event as it impacts the Dampier gas facilities and infrastructure. 12 In particular, maximum inundation and velocity maps are shown12 In particular, maximum inundation and depth and velocity time series are shown 13 13 for the event occurring at highest astronomical tide. 14 14 Impact assessments will be conducted by CIPMA and are not discussed here. -
anuga_work/production/dampier_2006/report/metadata.tex
r3955 r4021 1 \includepdf[pages={1- 5}]{MetadataforATWSDampierScenario}1 \includepdf[pages={1-6}]{MetadataforATWSDampierScenario}
Note: See TracChangeset
for help on using the changeset viewer.