Airfoil lift and drag using k-kl-omega turbulence model
Hi FOAM:ers,
I'm trying to get nice lift/drag prediction on 2D airfoils at low AoA:s (0-5 degrees) and a Re of 10^6, using the simpleFoam solver. I've used some low-Re turbulence models, especially SST k-omega, and some different meshes, but am consequently getting to high drag, an overprediction of 100-150%. From the threads here on this subject I understand that this is normal for fully turbulent modells, and that a transitional model may be needed. Thus I have now turned to the kklomega model, which I believe is the only transitional model implemented in OpenFOAM. The problem is that I can't even get this model to run. In the first iteration, the solver ends with a floating point exception. I would very much appriciate help on making this case run. These are my BC:s, Kt: inlet fixedValue 3.4e-4 outlet inletOutlet inletValue 3.4e-4 airfoil fixedValue 1e-11 Kl: inlet fixedValue 1e-11 outlet inletOutlet inletValue 1e-11 airfoil fixedValue 1e-11 omega: inlet fixedValue 0.25 outlet inletOutlet 0.25 airfoil omegaWallFunction nut: inlet/outlet calculated airfoil nutLowReWallFunction p: inlet zeroGradient outlet fixedValue 0 airfoil zeroGradient U: inlet fixedValue (15.11 0 0) outlet inletOutlet inletValue (15.11 0 0) airfoil fixedValue (0 0 0) These are my numerical schemes, divSchemes { default none; div(phi,U) bounded Gauss limitedLinearV 1; div(phi,kt) bounded Gauss limitedLinear 1; div(phi,kl) bounded Gauss limitedLinear 1; div(phi,omega) bounded Gauss limitedLinear 1; div((nuEff*dev(T(grad(U))))) Gauss linear; } I've been using this wonderful mesher by Mads here on the forum, http://hvirvel.dk/airfoilmesher/ Should probably also mention that I'm using OpenFOAM 2.3.0. I would very much appriciate help on making this case run. Regards, Karl EDIT: After reading the article a bit closer, I changed omega to zeroGradient at the airfoil. Not the problem though. EDIT2: The error message might be helpful. It suggests a division by zero in the kklomega::correct function, if I understand it correctly. I cannot see what might be zero at the start though... Code:
smoothSolver: Solving for Ux, Initial residual = 0.020463, Final residual = 0.00138025, No Iterations 1 |
I managed to get this working, after a lot of fiddeling. Unfortunatly, I can't say exactly what the problem was since I changed a lot (schemes, bcs, relaxation factors...). Now I get really nice force prediction on the airfoil, so the fiddeling was worth it :)
|
Hi Karl,
I'm also interested in trying the kklomega model, and I've run into the same problem. Could you post the setup you used to get it working? Thanks in advance! |
Quote:
Could you please provide us more explications since I am working on the same problem? |
I get the same instant error
Code:
smoothSolver: Solving for Ux, Initial residual = 0.020463, Final residual = 0.00138025, No Iterations 1 |
Hi,
If you take a look at correct method of kkLOmega, programming there always is rather defensive, like this: Code:
const volScalarField lambdaT(sqrt(kT)/(omega_ + omegaMin_)); Code:
const volScalarField nutl Code:
const volScalarField S2(2.0*magSqr(symm(gradU))); Update. Though if you have got diverging solution and something that should be positive has become negative, then all these omega_ + omegaMin_ can become zero. |
New model
After 8 years, there is a new version (or new model) of the k-kl-omega model.
There are a few problems with the k-kl-omega model in the farfield. One of them is the growth of Laminar Kinetic energy when separation occurs. Lopez and Walters have a paper (have not been published yet) correcting this issue: Maurin Lopez. D. K. Walters. “A recommended correction to the k-kl-omega transition sensitive eddy-viscosity model”. Journal of Fluid Engineering. This correction has to be made to the 2008 k-kl-omega model from now on. Now, Lopez and Walters also developed a new transitional model (k-omega-v2) as an alternative to the k-kl-omega one. This new model has more capabilities (it is more reliable) than the k-kl-omega model, especially in the farfield computations. Fortunately the paper for this new model is already publish. Maurin Lopez. D. K. Walters. “Prediction of transitional and fully turbulent free shear flows using an alternative to the laminar kinetic energy approach”. Journal of Turbulence, Vol 17, Iss. 3, 2016. If you see the papers, you will immediately see how the k-kl-omega model is not good for free shear flows, and how the new model corrects all those issues. From now on, k-kl-omega users have to start using the new k-omega-v2 model. |
All times are GMT -4. The time now is 14:14. |