|
[Sponsors] |
July 11, 2022, 21:34 |
implementation of Gidaspow drag model
|
#1 |
Member
Huan Zhang
Join Date: Nov 2020
Posts: 55
Rep Power: 5 |
Dear Foamers,
I am compiling a Eulerian-Eulerian-Lagrangian solver in OpenFOAM. But I faced a problem when implementing the Gidaspow drag model between fluid phase (air or water) and solid phase. The equation of the drag coefficient is shown below, where phik is the volume fraction of the air or water phase. I noticed that phik is on the denominator, so when the fluid (air or water) phase volume fraction is pretty small, betak tends to be infinity, and this equation cannot be solved with a floating point exception. I was wondering how I can fix this issue during the implementation of this equation? Do I need some special treatments (e.g., make phik larger than 0.1 or something like this)? Please give me some hints! Appreciate! Jasper |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[IHFOAM] The IHFOAM Thread | Phicau | OpenFOAM Community Contributions | 392 | September 8, 2023 18:10 |
Free CFD code with implementation of Menter's k-omega SST model | nikola_m | Main CFD Forum | 2 | May 8, 2020 12:13 |
UDF for E^n Transition Model implementation in FLUENT | DanielBarreiro | FLUENT | 0 | November 28, 2019 09:37 |
S-A Turbulence Model and drag prediction | Alan | FLUENT | 2 | January 11, 2016 08:33 |
Problems with own LES Model Implementation | fs82 | OpenFOAM | 1 | October 9, 2009 10:31 |