Code Monkey home page Code Monkey logo

iwhoppock / viscous_burgers Goto Github PK

View Code? Open in Web Editor NEW
10.0 5.0 8.0 1.84 MB

Two solutions, written in MATLAB, for solving the viscous Burger's equation. They are both spectral methods: the first is a Fourier Galerkin method, and the second is Collocation on the Tchebyshev-Gauß-Lobatto points.

MATLAB 100.00%
collocations viscous-burgers diffusion-coefficient spectral-methods fourier-galerkin chebyyshev tchebyshev burgers-equation heat-equation heat-equation-solution

viscous_burgers's Introduction

Viscous Burger's Equation

Two solutions, written in MATLAB, for solving the viscous Burger's equation. They are both spectral methods: the first is a Fourier Galerkin method, and the second is Collocation on the Tchebyshev-Gauß-Lobatto points.

Nota Bene

These codes can be easily adapted for just the heat equation or the inviscid Burger's equation. The former can be done unofficially by setting the diffusion coefficient to be very large (order unity) or officially by changing the the arrays associated with the non-linear term to be zeros within the code. The latter simply requires the diffusion coefficient to be set to 0.

viscous_burgers's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.