Thanks.
Of course, but I want to make single phase simulation of the flow with multiphase condition, to compute the aditional vorticity which is introduced by the cavitation under the same condition. |
2 Attachment(s)
Dear All,
I am retrieving similar strange behaviour using InterPhaseChangeFoam as it is posted in this treatment. And I would like to know if some one can help me or give some tips to solve it. The case what I am running is a 3D geometry of a Globe Valve in a pressure drive condition. I have run the case with following pressure drops: - No Cavitation Condition (According to experimental results) DP = 0.7, 0.8 and 1.0 bar (Pin = 1.62, 1.74 and 1.98 bar) - Cavitation Condition (According to experimental results) DP = 1.5 and 1.8 bar (Pin = 2.1, 2.5, 3 bar) The cavitation model using here is Schneer-Sauer, n = 1e+14, dNuc = 1e-05, Cc =1; Cv =1 The problem is that in all of the cases there are several cells with negative pressure (fluctuating around 0), what is no physical when absolute pressure at inlet and outlet is used. In any case I get less value than saturation pressure (3500 Pa), even when I did not expect cavitation. Normally, the negative pressure (or pressure below the saturation pressure) is located at the ring intersection between pipe and the globe valve, as is shown in this figure: https://www.dropbox.com/s/gwywsu4pjr...eDp07.png?dl=0 https://www.dropbox.com/s/gwywsu4pjr...eDp07.png?dl=0 Firstly, I was using the interPhaseChangeFoma of OF-2.3.0 which give a high negative pressure, of order of -200000 Pa Then, changing some lines in the code, I am retrieving better results but still negative ( order of -2500 Pa) as you can see in the next figure: https://www.dropbox.com/s/jqdq8j0juk...-Pmin.png?dl=0 https://www.dropbox.com/s/jqdq8j0juk...-Pmin.png?dl=0 The changes in code are: 1. phaseChangeTwoPhaseMixture.C in line 105 Code:
Foam::tmp<Foam::volScalarField> 2. alphaEqnSubCycle.H in line 31 Code:
else 3. UEqn.H Code:
/* VERSION 2.1.1*/ if (pimple.momentumPredictor()) The set-up of the case is: BOUNDARY CONDITIONS p_rgh Inlet → TotalPressure Outlet → fixedPressure Wall → fixedFluxPressure U Inlet → pressureInletVelocity Oultet → zeroGradient Wall → fixedFluxPressure Turbulence Model kOmegaSST ControlDict Adaptative time step → Co = 0.9 (PISO mode with nCorr = 4) maximum yPlus < 3 I attach the system file for more information. Attachment 41829 I will be very greatful if some can help me in order to obtain more physical results using this solver. Kind Regards, |
Hi,
Can you post some log-output? |
Hi Philipp,
Thank you for replying me. Here you have time steps of my log. There is extra information (as min max pressure) from the implementation of solver introduced above: Code:
|
Hi Daniel. I don't see anything unusual right now.
Some ideas: 1) Please read henry's first comment about limiting of gradient schemes: http://www.openfoam.org/mantisbt/view.php?id=1410#c3246 So you should not do that in your fvSchemes 2) Did you test the solver with some safe settings, such as first order upwind divergence schemes and so on? 3) Did you run your loop with much more pressure cycles? Now you run 4, but with let's say 8? Even your log doesn't look suspicious, I once had a problem due to too high residuals... You will probably also need to reduce tolerance of the solver then. 4) I don't know the solver you use... do you know 100% that this is actually absolute pressure? |
Thank you Philipp,
I try three different set-up according with your comments: 1) Using the scheme grad(p) Gauss linear; 2) Using upwin in div schemes 3) Using 8 pressure correctors in PISO Here you have a figure representing the minimum pressure in this three cases. https://www.dropbox.com/s/9vc02ca43p...ssure.png?dl=0 https://www.dropbox.com/s/9vc02ca43p...ssure.png?dl=0 All of them give similar minimum pressure and always negative. I am realy confusing what can be happen. Trying to understand what can be happen, I would like to ask you if the turbulence model can have influence on this behaviour. I am using kOmegaSST with y+ ~ 1. Using nut = nutLowReWallFunction; k =kLowReWallFunction; omega = omegaWallFunction, to use kOmegaSST in lowRe mode. Also I try with nut = nutUSpaldingWallFunction as is indicated in this bug on the official OpenCFD bug tracker http://www.openfoam.org/mantisbt/view.php?id=179#c351. By the way, I know that you develop a turbulence model kOmegaSST in lowRe model. Did you validated? Do you think that is apropiate to use in my case? Thank you in advance. |
Daniel,
First of all: As I understand it your solver it is uncompressional. So it doesn't matter if the pressure goes below zero. Am I right? Secondly: I just implemented the Fluent version of low-Re SST into openFoam. Yes, I think I get the same results as in Fluent. I use it for all low-Re cases. |
non cavitating simulation using InterPhaseChangeFoam
Hello all,
I've been simulating a cavitation model on Naca66 airfoil using InterPhaseChangeFoam solver, and I'm pretty new to this. I was getting abrupt pressure fluctuations over my internal field and was getting very unsatisfactory Cp values for the simulation. So I wanted to check if my model is correct or not. For this i thought of using the same solver and same setup except the cavitation model. I was using the SchnerrSauer cavitation model and set all its coefficients to zero. But it didn't work. Can anyone help me through this ? |
Daniel,
I know this post has been a few years old. Just wondering what was your conclusion and solution in the end? Thanks, Rdf |
All times are GMT -4. The time now is 19:57. |