bzhexiang / wlb Goto Github PK
View Code? Open in Web Editor NEWThis project forked from weierstrass/wlb
A code for simulating fluid dynamics using the Lattice-Boltzmann method.
This project forked from weierstrass/wlb
A code for simulating fluid dynamics using the Lattice-Boltzmann method.
A Lattice-Boltzmann code for solving coupled equations in electrohydrodynamics. Three collision operators are implemented for the (incompressible) Navier-Stokes, Nernst-Planck (advection-diffusion) and Poission's equation for electrostatics respectively. Various implementations of Dirichlet/Neumann boundary conditions are also available. The code deals (so far) only with 2D systems. This code is part of a master thesis project carried out at Chalmers University, Gothenburg. The accompanying report is available upon request (email me). Example of computed (steady state) velocity field in some geometry (no electrical effects here): https://raw.github.com/weierstrass/wlb/master/example.png Another example showing a Karman vortex street: http://www.youtube.com/watch?v=azrFJ8qbrKM Technical overview: Collision operators: BGK: + Navier-Stokes - Shan-Chen force implementation + Advection-diffusion + Poisson's equation Boundary conditions: + Bounce back (Full way implementation) + Slip (Mirror reflection) + Periodic + He/Zou Constant density + He/Zou Constant velocity Boundary conditions (Not yet fully implemented) + LPM Neumann (From Wang paper) [NYFI] + He/Zou Constant velocity [NYFI] + BFL (Bouzidi's rule) [NYFI] Examples: + Poiseuille flow - Driven by pressure grad. - Constant velocity driven - Force driven + Taylor-Green Vortex + Cylindrical obstacle - Bounce back - BFL + 1D Poison-Boltzmann vs. Nernst-Planck + 2D Helmholtz equation (Wang+Chai) + 1D Advection-diffusion of point mass Compile library: 1. $ make Compile and run example file: 1. $ make (link to library libwlb.so) 2. ./a.out > output.txt Further notes: Old dirichlet boudary conditions for the Poisson solver are not accurate and will be removed soon.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.