CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Lattice Boltzmann c++ code for bubble simulation based on color-gradient model

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By xx9000

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 25, 2022, 15:26
Default Lattice Boltzmann c++ code for bubble simulation based on color-gradient model
  #1
New Member
 
xin xiong
Join Date: Feb 2021
Posts: 7
Rep Power: 5
xx9000 is on a distinguished road
Dear all,

I'm doing a project about the bubble simulation based on LBM color gradient model. I want to simulate two bubble coalescence case. I write a c++ code but seems always diverge and the resutls is not seems right.
I tried a lot and about to blow up and seem can't get better. I wonder the zero density means if I initialize the density with one of the phase with zero density. I was thinking if the zero density influence the simulation? Please help me with the code to get a correct results. thanks in advance.
Attached Files
File Type: c lbm-cgm.c (15.9 KB, 10 views)
aerosayan likes this.
xx9000 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simulation of Axisymmetric Free Jet using LRR Reynolds Stress Model skyinventorbt OpenFOAM 1 January 2, 2022 17:42
Which Multiphase Model Should be selected in Fluent for my below described simulation oberstar Fluent Multiphase 0 September 28, 2017 12:05
Compressibility in Multiphase Lattice Boltzmann Simulation phil3741 Main CFD Forum 6 April 27, 2017 09:28
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 15:56
Use of an hydrodynamic model integrated in the vertical by the PHOENICS code Hafsia Zouhaier Main CFD Forum 2 March 15, 1999 08:23


All times are GMT -4. The time now is 01:22.