Git Product home page Git Product logo

hydro's Introduction

Hydro

Fairly simple & very modular 1- and 2-dimensional hydrodynamic code

Hydro is a 2 dimensional hydrodynamic code written completely in julia. It aims to be modular and flexible foundation for more complex computational needs.

Tests & Showcase

Kelvin-Helmholtz instability

kh

Technical specs

Like mentioned, hydro is widely modular and currently sports these under its hood:

rsolvers.jl (Riemann solvers)

  • HLLE (Harten, Lax, van Leer, Einfeldt)
  • unsplitted HLLC (Harten, Lax, van Leer, Contact)

integrators.jl (time stepping)

  • Second order Runge-Kutta (RK2)

reconstruction.jl

  • linear piecewise interpolation between cell centered values to cell edges

limiters

  • minmod [Roe 1986]
  • MC (monotoniced central) [van Leer 1977]

boundaries.jl (boundary conditions)

  • outflow
  • reflective
  • periodic (toroidal)

eos.jl (equation of states)

  • basic gamma law equation of state

gravity.jl

  • constant y-direction
  • self-gravity

grid.jl

  • rectangular

viscosity.jl

  • artificial viscosity

Inspiration, influences & references

  • Initial code structure: Caltech course ay190 - Computational astrophysics (by Christian Ott)
  • Modifications & additions similar to pyro2 code (unsplit method, artificial viscosity, gravity)
  • Tests inspired by Athena code

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.