Giter Site home page Giter Site logo

shallowflowmoments / supplements2023 Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 723 KB

Get to know the efficient and accurate Dispersive Shallow Moment Equations

License: GNU General Public License v3.0

Mathematica 100.00%
free-surface-flows moment-methods nonhydrostatic shallow-water-equations

supplements2023's Introduction

Supplementing material for the paper

"Dispersion in Shallow Moment Equations"

Ullika Scholz, Department of Mathematics, RWTH Aachen University, [email protected]
Julia Kowalski, Institute for Applied Geophysics and Geothermal Energy, RWTH Aachen University, [email protected]
Manuel Torrilhon, Department of Mathematics, RWTH Aachen University, [email protected]

Abstract:

Shallow moment models are extensions of the hyperbolic shallow water equations. They admit variations in the vertical profile of the horizontal velocity. This paper introduces a nonhydrostatic pressure to this framework and shows the systematic derivation of dimensionally reduced dispersive equation systems which still hold information on the vertical profiles of the flow variables. The derivation from a set of balance laws is based on a splitting of the pressure followed by a same-degree polynomial expansion of the velocity and pressure fields in vertical direction. Dimensional reduction is done via Galerkin projections with weak enforcement of the boundary conditions at the bottom and at the free surface. The resulting equation systems of order zero and one are presented in linear and nonlinear form for Legendre basis functions and an analysis of dispersive properties is given. A numerical experiment shows convergence towards the resolved reference model in the linear stationary case and demonstrates the reconstruction of vertical profiles.

The code is provided twice: In Mathematica notebook format and in Wolfram Script (.wls) format. The .wls-format is human-readable and can be executed with the Free Wolfram Engine available for download at the Wolfram website. In case a Mathematica license is available, the notebook format may be more convenient.

The folder "notebooks" contains the code in notebook format. To get started mark all cells (ctrl+a) and run (shift+enter).

The folder "scripts" contains the equivalent Wolfram scripts. They can be executed via "wolfram -script /path/to/script.wls". Plots produced by the scripts will be stored in a separate folder next to the scripts folder.

The folder "engine" contains the core packages for the numerical simulations, which are used by both, the notebooks and the scripts.

The code was written for the Mathematica 13.0 Kernel. For help with the execution of the code or any further questions feel free to contact the authors.

supplements2023's People

Contributors

ullika avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.