GithubHelp home page GithubHelp logo

hiaselhans / lbm-c Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chunhuazhang/lbm-c

0.0 2.0 0.0 7.31 MB

Lattice Boltzmann fluid flow solver implemented with CUDA

C 90.82% C++ 6.68% Fortran 0.11% Cuda 2.39%

lbm-c's Introduction

lbm-c

Lattice Boltzmann fluid flow solver implemented with CUDA

Automatically exported from code.google.com/p/lbm-c

Overview

Current Version: 0.1

LBM-C is a lattice Boltzmann 2D and 3D fluid flow solver implemented using nVidia's CUDA platform. LBM-C is written in CUDA C and is licensed under GPL v2, you are invited to use, alter and improve upon LBM-C at your own discretion. The objectives of this open source code are:

  • To provide a straight-forward CUDA based implementation of the lattice Boltzmann method for modelling fluid flows
  • Encourage collaboration through the nature of open source code
  • Exercise the power of graphics hardware for the purposes of CFD (computational fluid dynamics)

Features

  • Models may be configured through use of a simple matlab interface
  • Input constants are specified through ASCII input file
  • Input data in CGNS format (compatible with most post-processors, though input data format is not cgns compliant)
  • Output data in CGNS format (compatible with most post-processors)

Modelling Capabilities

  • Arbitrary geometries may be considered either by use of full-way bounceback or a simplified case of Nobel & Torczynski's immersed moving boundary method. The use of this boundary condition allows for simple coupling with the Discrete element method (not yet implemented), as was demonstrated by Feng et. al
  • Boundary pressures may be imposed upon edges using Zhou & He's pressure boundary condition
  • MRT or BGK collision dynamics
  • Smagorinsky turbulence (BGK only)
  • Body forces following Guo's work.
  • Operates on a D2Q9 or D3Q15 lattice

Further Work

  • Complete the implementation of Zhou & He's boundary condition to consider

Imposed pressure on convex corner nodes

Imposed velocity on edge's and corners

  • Multiphase coupling capability, where a suitable multiphase model would ideally include purely local computation
  • Discrete element method coupling for particle laden flow

Whats New

10/12/12 New Release version 0.1, includes body forces, smagorinsky turbulence, and a matlab interface for constructing and post-processing models

lbm-c's People

Contributors

brucedjones avatar izumiko avatar

Watchers

 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.