lattice boltzmann help for 2d display

This is a discussion on lattice boltzmann help for 2d display within the C Programming forums, part of the General Programming Boards category; Hi there I'm in the middle of creating a lattice boltzmann model, now I have all the programming done for ...

  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    3

    lattice boltzmann help for 2d display

    Hi there I'm in the middle of creating a lattice boltzmann model, now I have all the programming done for the basic model, including lattice, initialization, collisions, basic boundaries, stream function and so on. At the moment all the data is shoved into a .csv file at the end and from there I can manipulate the data create graphs and so on, but what I really want to do is to create a bit of code that will open a window and show a real time representation of the either the stream function of velocity field(both of which go in the csv file at the moment) to show the flow while the program is running.

    I'm not sure exactly how to do this, so I was wondering if someone could point me in the right direction or show me an example bit of code to get me going it would be much appreciated

  2. #2
    Registered User
    Join Date
    Mar 2009
    Posts
    399
    I would use QT (C++) or GTK+(C) for this. There are a lot of tutorials available online that show how to use those two libraries.

  3. #3
    Registered User
    Join Date
    Feb 2010
    Posts
    3
    Thanks I'll have a look into it

  4. #4
    Registered User
    Join Date
    Feb 2010
    Posts
    3
    I was also wondering would it be worth looking into open gl or direct2d as its a 2d representation of fluid flow

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Functions, have errors...NEED HELP FAST
    By alkamenes in forum C++ Programming
    Replies: 6
    Last Post: 11-02-2009, 02:00 PM
  2. display character size...(quite urgent..)
    By karthi in forum C Programming
    Replies: 10
    Last Post: 07-11-2007, 09:42 PM
  3. new problem with class
    By jrb47 in forum C++ Programming
    Replies: 0
    Last Post: 12-01-2006, 07:39 AM
  4. My text doesn't display
    By joeprogrammer in forum Game Programming
    Replies: 11
    Last Post: 02-23-2006, 09:01 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21