Cavitating model in OF
Hello,everyone
I am studying the cavitating code, does anyone knows the cavitating model in foam? 
Hi all,
Same question here: is it based on the model by Kubota/Singhal as in Fluent or CFD Ace? Thanks for your help. 
Hi,
No, the Kubota model is quite different from what is in OpenFOAM. The Kubota model is a RayleighPlesset based model, where you model bubble growth or collapse. OpenFOAM's cavitation models belong to a class of Homogenous Equilibrium Models. The details of the implementation change from solver to solver and with sequential releases of OF. The basic idea is that the liquid and vapor are homogenously mixed within a cell (no interface tracking), which is appropriate for very high Weber numbers where the interface is so convoluted, VOF reconstruction would be pointless. Because of the large surface area and the large liquidtovapor density ratio, there is also no reason to solve a separate momentum equation for the vapor, which is transporting a trivial amount of momentum. Finally, we assume that the twophases are in thermodynamic equilibrium, with inertia limiting phase change and heat transfer being relatively fast. This last assumption is only valid for certain cavitating regimes, with low temperatures and small length scales. If you make these assumptions, you can work up a rule for the compressibility of the mixture. This closes the problem, though numerically, handling the very rapid changes in compressibility takes some care. I used this HEM approach successfully for modeling cavitation in diesel fuel injectors. I have been very happy with it. My implementation, numerically, was built like a highMach number solver. It was simple, but very efficient for the kinds of high velocities, 400 m/s, you see in modern diesel injector nozzles. I give out the F77 code for those curious, hardy souls. For low speed flows, you would never want to construct your code the way that I made mine. The OpenFOAM'ers have generalized the numerical approach to permit calculations more efficiently at lower velocities. That is great and of course you get all the beautiful flexibility of OF: parallelism, polyhedral meshes. The downside is that OF is collocated, which makes pressure/velocity coupling more difficult. As a consequence, you may run into stability problems and noise. I'd be interested in seeing papers from people who have applied the OF cavitation codes. I also have some papers to share; I've written a bit about HEM modeling of cavitation, including a new paper to appear next month at ICLASS that explores the assumption of thermodynamic equilibrium. I'd be happy to send that out. David Schmidt 
Thanks Mr Schmitt;
Cavitation model in Fluent is Singhal's model based on Mixture model; In OF, was your theroy used? 
Thanks for the explanations.
My intention is to test this cavitation model in OF on hydrofoils and propellers in the close future. Hopefully, papers will follow. 
Same to me

Quote:
David 
hi,
I want to model the cavitation bubbles and more specifically the collapse of bubbles. as fluent uses mixture model for cavitation, we have no bubbles but just a region with continues change in phases and no boundaries. so the collapse cant be model in this matter. I dont know if openfoam can help me; for example maybe the interphasechangefoam can help, but I dont know the equations it uses. I think the famous Reighlyplesset equation can be more helpful than the model in fluent,for example. if anyone can help, I'll be so thankful . Mohammad. 
Hi!
We are also trying to apply the cavitatingFoam solver to analyse the behaviour of small injector holes used for N2O in hybrid rockets. At the moment we are just verifying its stability and flexibility for this kind of problems, then we would like to compare our results with an experiment we are creating... If anyone has tried it with this kind of applications I would be glad to exchange some information about it! As concerns interPhaseChangeFoam, as far as I know it doesn't include the Plesset modelling of bubble growth. Marta 
There are actually two cavitation models in OF
Well, I have been doing some simulations of cavitation in a nozzle with cavitatingFoam (RAS) and interPhaseChangeFoam (Schnerr Model, only available in OF1.6.x). Works quite good until now.

Ok, i'll have a try with the other solver and see.
Thank you very much for your quick reply = ) ! Marta 
yea, 1.6.x have an example in the tutorial.

about ACE+ cavitation model... It uses the full cavitation model by Singhal and Athavale ...
It allows multidimensional simulations of cavitating flows with phase changes in low pressure regions. The model accounts for important effects such as bubble dynamics, turbulence, and the presence and expansion of noncondensable gases in liquid. 
courant number
hi
i do on the cavitation modelling in OF by interPhaseChangeFoam the geometry is hydrofoil with rectangular domain i don't know which courant number is appropriate for this processing, beforehand thanks for help. 
Merkle model and cavitation
Dear All
1 Courant No of 0.5 is fine 2 In OF, we tried Sauer model fine, but once we used Merkle model code needs a very small time step. Any comment? Regards 
kinenergyturb
Hello dear foames,
I have an easy question, i wanna add the kinetic Turbulence energy (k) in model <<Sauer>> for solver <<interPhaseChangeFoam>>. For this purpose, after adding turbulence library in the option file, for introducing “k” in the Sauer model, this parameter is added as the follow // * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * // Foam::tmp<Foam::volScalarField> Foam::phaseChangeTwoPhaseMixtures::SchnerrSauer::r Rb ( const volScalarField& limitedAlpha1 ) const { return pow ( ((k_*4*constant::mathematical::pi*n_)/3) *limitedAlpha1/(1.0 + alphaNuc()  limitedAlpha1), 1.0/3.0 ); } when I execute wmake in terminal ,this error is appeared. phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.C:79: error: ‘k_’ was not declared in this scope make: *** [Make/linux64GccDPOpt/SchnerrSauer.o] Error 1 could everyone to tell me the steps of how to add the kinetic energy in the Sauer model so that after any iteration, new updated value is entered to this model ? Regards 
hi,
i want to simulate cavitation in gear pump with foam.can you help me to solve my problem? kind regArds, behnam. 
Quote:
I just happened to see this thread 5 years ago. I am working on the cavitatingFoam currently, and it doesn't change much since your time. I wish I could do some improvement to it. Maybe more appropriate physical model. Any suggestion on this? Many thanks! Merry Christmas by the way. : ) 
Cavitation in Fluent
Hi everybody am trying to simulate the cavitation on Fluent and I would like to know how to adjust the vaporisation pressure, the flow velocity and the gauge pressure at the outlet for a given cavitation number
Thank you for your collaboration Samir 
All times are GMT 4. The time now is 20:53. 