Coder Social home page Coder Social logo

trixi-framework / paper-2023-es_two_layer Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 427 KB

Reproducibility repository for "An entropy stable discontinuous Galerkin method for the two-layer shallow water equations on curvilinear meshes"

License: MIT License

Python 4.50% Julia 95.50%

paper-2023-es_two_layer's Introduction

An entropy stable discontinuous Galerkin method for the two-layer shallow water equations on curvilinear meshes

License: MIT DOI

This repository contains the information and code to reproduce the results of the not yet submitted article

@online{ersing2023two,
  title={An entropy stable discontinuous {G}alerkin method for the two-layer 
         shallow water equations on curvilinear meshes},
  author={Ersing, Patrick and Winters, Andrew R},
  journal={Journal of Scientific Computing},
  year={2023},
  month={06},
  eprint={2306.12699},
  eprinttype={arxiv},
  eprintclass={math.NA}
}

If you find these results useful, please cite the article mentioned above. If you use the implementations provided here, please also cite this repository as

@misc{ersing2023twolayerRepro,
  title={Reproducibility repository for
         "{A}n entropy stable discontinuous {G}alerkin method for the two-layer 
         shallow water equations on curvilinear meshes"},
  author={Ersing, Patrick and Winters, Andrew R},
  year={2023},
  howpublished={\url{https://github.com/trixi-framework/paper-2023-es_two_layer}},
  doi={10.5281/zenodo.8059079}
}

Abstract

We present an entropy stable nodal discontinuous Galerkin spectral element method (DGSEM) for the two-layer shallow water equations on two dimensional curvilinear meshes. We mimic the continuous entropy analysis on the semi-discrete level with the DGSEM constructed on Legendre-Gauss-Lobatto (LGL) nodes. The use of LGL nodes endows the collocated nodal DGSEM with the summation-by-parts property that is key in the discrete analysis. The approximation exploits an equivalent flux differencing formulation for the volume contributions, which generate an entropy conservative split-form of the governing equations. A specific combination of an entropy conservative numerical surface flux and discretization of the nonconservative terms is then applied to obtain a high-order path-conservative scheme that is entropy conservative and has the well-balanced property for discontinuous bathymetry. Dissipation is added at the interfaces to create an entropy stable approximation that satisfies the second law of thermodynamics in the discrete case. We conclude with verification of the theoretical findings through numerical tests and demonstrate results about convergence, entropy stability and well-balancedness of the scheme.

Numerical Experiments

All numerical results in the paper have been obtained using Trixi.jl. To run the experiments a Julia installation is necessary. The Figures have been created with Python and Paraview.

The subfolders of this repository contain README.md files with instructions to reproduce the numerical experiments, including postprocessing.

The numerical experiments were carried out with Julia v1.9. Visualizations were produced using ParaView 5.10.0 and Python 3.10.6.

Authors

Disclaimer

Everything is provided as is and without warranty. Use at your own risk!

paper-2023-es_two_layer's People

Contributors

patrickersing avatar andrewwinters5000 avatar

Watchers

Michael Schlottke-Lakemper avatar Hendrik Ranocha avatar  avatar  avatar

paper-2023-es_two_layer's Issues

Missing instructions for reproducibility

This repo already looks like it's in great shape! From a cursory look, it seems like there are two pieces of information missing for full reproducibility:

  1. The users need to be instructed to always start Julia such that the project directory is set to code/
  2. Before the first execution of any file, the packages need to be installed, e.g., by running
    julia --project=code/ -e 'using Pkg; Pkg.instantiate()'

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.