sailfish-team / sailfish

Lattice Boltzmann (LBM) simulation package for GPUs (CUDA, OpenCL)
http://sailfish.us.edu.pl
233 stars 85 forks source link

Ternary fluids #28

Closed nlooije closed 10 years ago

nlooije commented 10 years ago

The binary fluid files were modified to a ternary system. An example test case was added of two droplets with different density ratios depending on different interaction parameters.

mjanusz commented 10 years ago

Thanks for the merge request! I added a few comments, mostly just minor things. Please take a look. Also, do you know of any test cases that we could use for this (analytical solutions or well known setups from the literature against which we could compare our results)?

nlooije commented 10 years ago

I have made the changes according to your comments and added answers to your questions above.

nlooije commented 10 years ago

Simply extending the loop and removing the aliases in sym.py was sufficient. The redundant replace statements are removed.

mjanusz commented 10 years ago

This is now merged. Thanks Niels!