Git Product home page Git Product logo

dispersiveshallowwater.jl's Issues

Minor bikeshedding

I found it helpful to return NamedTuples instead of separating values and names. For example, you could return a NamedTuple from integrals(analysis_callback), e.g.,

integrals(analysis_callback) = (waterheight_total = first_vector, velocity = second_vector, entropy=  third_vector)

Then, you can iterate over the pairs(integrals(analysis_callback)) for plotting

It's just an idea - your current setup works fine of course

Semidiscretization for BBM-BBM equations with SBP variable coefficient operator

In Summation by Parts Operators for Finite Difference Approximations of Second-Derivatives with Variable Coefficients (2012) by K. Mattsson, SBP operators for second derivatives with variable coefficients have been introduced. These could be used here to use narrow-stencil SBP operators for the semidiscretization for the BBM-BBM equations with variable bathymetry. In SummationByPartsOperators.jl they are accessible by var_coef_derivative_operator and source Mattsson2012().

EDIT: SummationByPartsOperators.jl does not implement variable coefficient second-derivative SBP operators for periodic boundary conditions yet.

EDIT2: See ranocha/SummationByPartsOperators.jl#258

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Add `SummaryCallback`

It would be nice to have a SummaryCallback similarly to Trixi.jl that uses TimerOutputs.jl to check some timings and allocations.

Why `RK4()`

I just wonder a bit why you use RK4(). It's of course fine since many people would pick it as default with fixed step size, but at least for adaptive time stepping some thing like Tsit5() should often be more efficient.

Support other models

It would be nice to support other dispersive wave equations. These include especially the equations in H. Ranocha, D. Mitsotakis, D. Ketcheson, A Broad Class of Conservative Numerical Methods for Dispersive Wave Equations (2021) and the corresponding discretizations using SBP operators developed there. These include the following scalar equations with constant bottom:

  • BBM
  • Fornberg-Whitham
  • Camassa-Holm
  • Degasperis-Procesi
  • Holm-Hone

Of course the classical

  • Korteweg-de Vries (KdV) equation

would be of interest, too. Implementing these semidiscretizations should be pretty straightforward within DispersiveShallowWater.jl. Other interesting models to look at (requiring to develop energy preserving semidiscretizations using SBP operators first) would be the

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.