Which software do you recommend for capillary channel flow?

In summary, the speaker is a second year PhD student in fluid mechanics responding to a grant solicitation that lasts for 2 years. They need a sophisticated numerical tool to simulate 3D transient flow problems with dynamic contact lines. The main weakness identified in their previous proposal was the lack of this tool and the speaker has a lot of time to develop it if they receive the grant. After asking around, it seems that OpenFOAM would be a good option as it is well known and there is already knowledge of it in the speaker's lab. However, there are other good and well-maintained codes available such as Kratos, Gerris, Code Saturne, and the CAELinux project. The speaker may need to do more
  • #1
member 428835
Hi PF!

I'm trying to model a fluid dynamics problem where there is flow in a wedge. Length scale is 160mm and two fluid phase: air sits on top of silicone oil. Boundary conditions can be to specify height conditions, flow rate, et cetera. Very low gravity, so surface tension is very relevant.

I've asked people in my lab and some say you could get OPENFOAM to do this, but to ask around. So that's what I'm doing here.
 
Engineering news on Phys.org
  • #2
Sure, openfoam can handle such problems. It also takes a bit more time to learn than fluent because of the lack of a proper gui and the bad documentation. We had a student run a test case in fluent and in openfoam. He could validate the case in fluent in a day, with openfoam it took a couple of weeks to get the same result. So, if you just want to solve the problem and you have a license available, use fluent. If you are really keen on learning high-level c++ and the details of numerical methods (and maybe, after a couple of weeks, solve your flow problem), use openfoam. Also make sure you have some validation test cases to check the results.

You could also check out the gerris flow solver. It is much more specialized than openfoam, so you are not able to add your own physics models, but it is also much easier to use. It can also deal with two-fluid flows, surface tension dominant flow is actually it's specialty. It doesn't have turbulence models, so if you have high reynolds numbers you have to resolve all of the turbulence features, which is quite expensive. Check out if it meets your demands. It might save you some time compared to openfoam.
http://gfs.sourceforge.net/wiki/index.php/Main_Page
 
  • #3
bigfooted said:
Sure, openfoam can handle such problems. It also takes a bit more time to learn than fluent because of the lack of a proper gui and the bad documentation. We had a student run a test case in fluent and in openfoam. He could validate the case in fluent in a day, with openfoam it took a couple of weeks to get the same result. So, if you just want to solve the problem and you have a license available, use fluent. If you are really keen on learning high-level c++ and the details of numerical methods (and maybe, after a couple of weeks, solve your flow problem), use openfoam. Also make sure you have some validation test cases to check the results.

You could also check out the gerris flow solver. It is much more specialized than openfoam, so you are not able to add your own physics models, but it is also much easier to use. It can also deal with two-fluid flows, surface tension dominant flow is actually it's specialty. It doesn't have turbulence models, so if you have high reynolds numbers you have to resolve all of the turbulence features, which is quite expensive. Check out if it meets your demands. It might save you some time compared to openfoam.
http://gfs.sourceforge.net/wiki/index.php/Main_Page
Thanks for the detailed response! Let me elaborate: I'm a second yea PhD student in fluid mechanics and am responding to a grant solicitation that lasts for 2 years. My proposal last year was denied but they asked me to resubmit. The main weakness they identified was lack of a sophisticated numerical tool to simulate 3D transient flow problems with dynamic contact lines.

I'm saying all this detail because I would have a lot of time to develop a robust numerical tool that models the aforementioned physics if I receive the grant. Does this change your recommendation.

As of now, several of my lab members know OpenFOAM to some extent, though I mainly work in MATLAB and Mathematica. I'm open to new techniques, and have a good background in numerical methods. I don't need to worry about turbulence though.
 
  • #4
Well in that case openfoam might be for you: it seems that you actually want/need to dive into the details of the solver, and that you *must* use a cfd code where you can access the source code because you need to implement your own model.
Still, there are several good and well maintained codes out there (kratos, gerris, code saturne or the caelinux project), and in some codes it might be easier to implement what you want than in others.
If there is already openfoam knowledge in your lab, and no experience with other open source cfd codes, it might be better to go for openfoam. The name is also well known and for a grant proposal this might be a benefit. But I think you have to do some more investigation to check how much is in openfoam and what you would need to implement to really start your research
 
  • Like
Likes member 428835

1. What is the best software for simulating capillary channel flow?

The best software for simulating capillary channel flow depends on various factors such as the specific research question, computational resources, and personal preference. Some commonly used software for this purpose include COMSOL Multiphysics, ANSYS Fluent, and OpenFOAM.

2. Is there any free software available for simulating capillary channel flow?

Yes, there are some free software options available for simulating capillary channel flow. These include OpenFOAM, Palabos, and LAMMPS. However, it is important to note that free software may have limited capabilities and may not be suitable for all research purposes.

3. Can I use general CFD software for simulating capillary channel flow?

Yes, general CFD (Computational Fluid Dynamics) software can be used for simulating capillary channel flow. However, these software may not have specific features and capabilities for this type of flow, so it is important to carefully consider the software's suitability for the research question.

4. Which software is best for simulating multiphase capillary channel flow?

For simulating multiphase capillary channel flow, software such as ANSYS Fluent, COMSOL Multiphysics, and STAR-CCM+ are commonly used. These software have features specifically designed for multiphase flow simulation and can handle complex geometries and physics.

5. Can I use open-source software for my research on capillary channel flow?

Yes, open-source software such as OpenFOAM and Palabos can be used for research on capillary channel flow. These software are freely available and can be customized for specific research purposes. However, they may require a certain level of coding knowledge and may have a steeper learning curve compared to commercial software.

Similar threads

  • Mechanical Engineering
Replies
1
Views
3K
Replies
8
Views
2K
  • Mechanical Engineering
Replies
2
Views
2K
Replies
16
Views
2K
  • Other Physics Topics
Replies
8
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
2K
  • Advanced Physics Homework Help
Replies
1
Views
5K
Replies
1
Views
3K
Replies
65
Views
11K
Back
Top