CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   How to implement a cavitation model (http://www.cfd-online.com/Forums/openfoam-solving/59497-how-implement-cavitation-model.html)

adamsview April 20, 2006 10:15

Hi again....well, I've alread
 
Hi again....well, I've already opened a topic asking about something to solve fluxes with high gradients on pressure that generate cavitation inside of the fluid. No answers have came...so i guess it is not actually possible with OpenFOAM. I know it could be really difficult, but.... where to start to add (to simpleFoam solver) equations to solve cavitation cases? I'm not really an improved c++ programmer...so i need some help (on how OpenFOAM code is structured). Is there a guide more readable than Doxygen one?? Thank you again....

senocak April 20, 2006 14:30

My experience with openFOAM is
 
My experience with openFOAM is all about going through 1-2 tutorials. But I worked on cavitation modeling with pressure-based solvers (SIMPLE, PISO), that's why I think it should be doable in openFOAM too. However, implementing a cavitation model is much more involved than picking up a model and just putting it in your code. Once the cavitation model is there, your problem is no more incompressible. The cavitating region is compressible and the rest remains incompressible. So you have to address this change of characteristics in your pressure-based algorithm. One way of doing is to use an all-speed formulation of SIMPLE or PISO.

I have couple of articles explaining how to do this in both SIMPLE and PISO. Send me an email if you are interested in having them.

hartinger April 23, 2006 07:40

Hi, search the forum for 'c
 
Hi,

search the forum for 'cavitation' and you will find a few threads discussing that.
I am using cavitatingFoam, which is a single fluid, barotropic approach and very stable implementation. The code hasn't been released yet. I suggest you write a mail to Henry Weller.

regards
Markus

vatant April 28, 2006 20:17

Hi Alessio: I am publishin
 
Hi Alessio:
I am publishing a paper on cavitation modeling using compressible flow calculation using Foam. So, it can be done. Actually, Foam's procedure can help capture transient effects very well. Dr.Senocak, have reviewed your papers based on volume fraction method using pressure based methods. My methods are based on compressible pressure correction technique as well, although its more eulerian.

senocak April 29, 2006 00:45

I haven't reviewed his papers.
 
I haven't reviewed his papers. Why would you say that? I'd appreciate if you edit and delete that part from your post.

I apologize for posting this non-technical response.

vatant April 29, 2006 16:56

Dr.Senocak, I am sorry. I l
 
Dr.Senocak,
I am sorry. I left out "I" before the reworked "rather than reviewed". Apologize,I wanted to say, I have worked on your papers and have used similar pressure correction techniques. Sorry for the miswording.

Vatant

sek August 17, 2007 10:49

Hello Dr. Senocak, Have you
 
Hello Dr. Senocak,

Have you tried your cavitation model in OpenFOAM? I've been trying presure-density coupling similar to your approach. I was curious about whether solving pressure directly - instead of pressure-correction - would make it difficult to do proper pressure-density coupling. Comments?


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