It is well known that computational fluid dynamics has been challenging for low-computational-resourced students and researchers. In this study, we performed a 2D dam break simulation by Eulerian approach-finite volume method of OpenFOAM and Lagrangian approach-finite volume particle method (FVP) in a low-specification personal computer. We compared those approaches’ results qualitatively and quantitatively against experimental data and measured their simulation time for 6 different grid sizes. We compared the visualization results and their pressure and velocity using ParaView and VisIt. At the same time, a quantitative comparison was made by determining the waterfront position each time using the Tracker video analyzer. It was found that OpenFOAM resulted in better visualization results, lower error by 28 - 68 %, and more reasonable pressure and velocity profiles. It can also simulate smaller grid sizes and 10 to 200 times faster than FVP, but it can’t produce the air-liquid interface’s sharpness as good as FVP. Thus, to simulate cases where interfaces are not important, Eulerian-based OpenFOAM is best suited to perform in a low-specification computer.
HIGHLIGHTS
One of the main challenge in CFD is that it needs a huge computational resources to get optimum results. For students or researchers with limited computational resources, which approaches can they used?
Two approaches in CFD: Eulerian and Lagrangian methods-represented by OpenFOAM and Finite Volume Particle Method (FVP)-were performed in a personal laptop to simulate 2D dam break problem and their results are compared with the experimental data
Qualitative and quantitative comparison shows that OpenFOAM is well suited for low computational resources users. However, FVP method has an advantage in terms of capturing the interface of the two phases involved in simulation. Thus, for phase-change phenomena where interface is important, it is strongly recommended to use FVP-though one might need a more sophisticated resources than a personal laptop
GRAPHICAL ABSTRACT