Buoyancy force error
Hi,
I used CMake to built an executable for Windows and it worked fine. I needed to do a few modifications to the source code.
1) I changed the fix_addforce.cpp file so that the radius of the particle and the fluid density were taken into account for the force with upward vertical direction. See line 259 and line 299 in the fix_addforce.cpp file attached.
2) I changed the fix_viscous.cpp to modify the drag force for a Bingham fluid. See line 71-84, line 107-110 and line 166-215 in the fix_viscous.cpp file attached.
Forums:
- Read more about Buoyancy force error
- 3 comments
- Log in or register to post comments