Skip to main content Accessibility help
×
Hostname: page-component-848d4c4894-4hhp2 Total loading time: 0 Render date: 2024-06-03T09:32:07.285Z Has data issue: false hasContentIssue false

11 - Numerical Computation of Solutions

Published online by Cambridge University Press:  09 February 2017

Jurjen A. Battjes
Affiliation:
Technische Universiteit Delft, The Netherlands
Robert Jan Labeur
Affiliation:
Technische Universiteit Delft, The Netherlands
Get access

Summary

This chapter provides an introduction to numerical methods by presenting the numerical counterparts of some analytical models introduced earlier in the book. We will discuss a particular type of solution method for a selection of problems, explain its most important properties and present the resulting numerical code down to the level of the individual program statements. The use of these program scripts will be demonstrated by means of computational examples. In the wake of each method treated we will also summarize some other methods, providing the reader with an overview of alternative solution strategies.

Introduction

The preceding chapters dealt with various types of unsteady flow, resulting in analytical solutions of the governing mathematical equations. These solutions generally provide relations between the characteristics of a water system and its forcing, on the one hand, and the system's response, on the other. In terms of readiness and the overall insight they provide, analytical approaches are still unmatched. However, for practical applications involving complex geometries, arbitrary forcings, and possibly nonlinear effects, they are also somewhat limited due to the assumptions and simplifications on which they rely.

Since the 1950s computer models have therefore gradually, and decisively, replaced the former analytical approaches for computing solutions to real-world problems. The use of advanced numerical tools to compute flow problems in today's engineering practice is ubiquitous and has witnessed a tremendous increase in possibilities. Yet however sophisticated these models may be, they are based on the same theoretical concepts as their analytical predecessors, the study of which is still relevant to understand the results provided by modern computer tools.

In this chapter we will take a first step into the realm of numerical computing by working out some simple examples from previous chapters using the Python programming language. For this purpose some basic knowledge of Python will be needed (see for instance Hetland (2005) or Langtangen (2009)), but this may also be learned as we proceed along the examples in this chapter.

Canal-Basin System

Our first numerical endeavor concerns a simple model of a small tidal basin that is connected to the sea by a narrow gap or entrance channel. The imposed tidal water level at sea (hs) leads to a time-varying water level in the basin (hb) that does not depend on the position within the basin.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2017

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×