Coder Social home page Coder Social logo

haider-ba / 1stlbmunal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ijpulidos/1stlbmunal

0.0 2.0 1.0 159.87 MB

Repository of the first workshop on Lattice-Boltzmann methods at Universidad Nacional de Colombia - December 2017

C++ 99.36% Python 0.64%

1stlbmunal's Introduction

1st course on Lattice-Boltzmann methods - National University of Colombia - Dic2017

This repository will save notes from the 1st course on Lattice-Boltzmann methods at National University of Colombia.

Using this repository

To use this you just have to clone it using the following command

git clone https://github.com/ijpulidos/1stLBMunal.git

and then change to the new created directory

cd 1stLBMunal

where you can find the material distributed in different topics and dates.

LB method for waves - 2017-12-11

This first session was about creating a Lattice-Boltzmann method implementation for simple scalar waves. Go to directory LBwaves-2017-12-11 and just compile the code with

g++ LB_waves.cpp

which creates an executable file a.out and then run it using

./a.out

This will create a file called ondas.dat (sorry for the spanglish ;) with the data to be plotted using gnuplot, by running the gnuplot command and inside the gnuplot terminal, the following

set pm3d
unset surface
splot "ondas.dat"

LB method for Poisson eq. - 2017-12-12

The idea in this session was completing the code for the LBM for the Poisson equation.

Completing/implementing density charges and initial conditions and finding a power law for the error coefficient epsilon respect to the size of the system.

Solution

The solution to the exercise is in both LBPoisson_solution.ccp and my solution in LBPoisson_exercise.cpp. A plotting routine to plot the RMS error in terms of the size of the lattice is in the python script plotting.py

LBM for fluid dynamics - 2017-12-13

1stlbmunal's People

Watchers

 avatar  avatar

Forkers

engrab6

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.