- **OpenFOAM**
(*http://www.cfd-online.com/Forums/openfoam/*)

- - **k-omega SST OpenFOAM 1.7**
(*http://www.cfd-online.com/Forums/openfoam/80975-k-omega-sst-openfoam-1-7-a.html*)

k-omega SST OpenFOAM 1.7Good day to everyone!
I'm having a little trouble setting up the case in OpenFOAM 1.7 using k-omega SST turbulence model. My question is, could anyone of you post/send a sample, simple test case with all the initial files set up for the run. Whatever I'm and was trying to do, it is not running and I'm not getting any meaningful results. Thank you very much in advance and I hope someone can help. All the best! K |

I should have mentioned I'm planing to use interFoam for two-phase flow simulation.
Thanks, K |

Hi,
what problems exactly do you have? Have you tried the dambreak tutorial yet? It uses the k-epsilon model but I think it is a good start. You can also modify this case for the k-omega modell. Regards, Toni |

Hi there,
I'm well familiar with damBreak problem, I managed to run it without trouble and I'm aware and able to set up k-epsilon model without trouble. I tried to repeat my results with k-omega SST model, however, I cannot succeed. That's why I'm asking if anyone, for example damBreak problem, could set up just a very initial state with the boundary conditions suitable to run the same case with k-omega SST model. I cannot succeed with my case. Thanks a lot, K |

OK. Problem solved, I guess..
There is tutorial case using omega... incompressible/simpleFoam/motorBike. Lots of web browsing to get there. Regards, K |

Is the k-omega model even available with the multiphase solvers? The twoPhaseEulerFoam model has its own k-epsilon model and does not allow using the other RAS models as far as I know. I haven't used them all but I think the multiphase models might be like that.
The motorbike problem uses simpleFoam, a steady-state single-phase RAS model which allows loading the RAS turbulence models that come with Foam. |

interFoam uses RASProperties library, I assume it is possible to use different turbulence models. VoF works with k-epsilon, I think it should also work with k-omega and k-omega SST.
At the moment, I'm running some tests and I'm getting "some" output. Gamma field doesn't look very pretty, but it is understandable since at that point I'm using very coarse mesh and time-step and just want to see if I can run different models. Can anyone comment on that? I'm still at the learning stage of OpenFOAM, just testing its capability. Thanks, K |

simpleFoam.dep has the following header files in it:
Code:
`simpleFoam.dep: $(WM_PROJECT_DIR)/src/turbulenceModels/incompressible/RAS/RASModel/RASModel.H` The multiphase models in openFOAM are mostly based on Henrik Rusche's PhD thesis and he uses the Gosman k-epsilon model which is hard-coded with bubbleFoam and co. I am not even aware of any applications of k-omega in multiphase flow solvers yet. Of course I hope I am wrong cause I would love to use SST in multiphase. In Fluent 6 you are restricted to the various flavours of k-epsilon offered (standard, RNG, realizable). Don't know how it is in 12 but I'd be very surprised if it was any different. Redefining the RAS model constants for multiphase is not a simple task and most people have only looked at k-epsilon so far. |

Ziad,
Thanks a lot for you reply. Regarding the Fluent package, I'm pretty sure you can also run two-phase flow simulations using VoF using k-omega and k-omega SST models. The question is how reliable is their application. I heard many people not trusting Fluent, on the other hand it still provides "some" results. Actually, I try to compare numerical results to the experimental data. Right now I was unsuccessful getting some good measures using Fluent's k-epsilon model. On the other hand k-omega SST gives some possibly acceptable results. Now I would like to get some results using OpenFOAM. Krystian |

Right, VoF not Eulerian model! You're right VoF does allow use of k-omega in Fluent. Guess you don't have to redefine the constants then cause the fluids are not inter-penetrating. Would be curious to see where they load the turbulence model in interFoam cause it looks very similar to bubbleFoam.
Did a quick search on VoF and k-omega and it seems to be give better results than k-epsilon in most hits. K-omega was originally developed for enclosed flows anyway and works better with boundaries. Did you try your SST test-case with Fluent or OpenFoam? |

I don't understand something. "interFoam" solver incorporates VoF. How come otherwise would you want to solve multiphase (two phase) problem?
I'm a little bit confused. Eulerian, generally means incompressible model, right? So incompressible solver would be still called Eulerian, is it right? What you mean by Eulerian vs. VoF? Sorry, but I'm not fluids specialist, just a civil engineer :) Yes, I ran some tests. First using Fluent. k-epsilon for some reason brings some not very good looking results. k-omega SST gave some more expected results. I don't care much about accurate result at that point, I just want to verify those results with OpenFOAM. Now I'm testing k-epsilon with OpenFOAM. I also wanted to test k-omega SST for two-phase flow. However, now I hear from you it is not possible to use it with interFoam solver for multiphase flows. If it is not possible, how come I am able to set up the model and define it in the OpenFOAM dictionary... and yes... I'm getting some results. Again, so far my mesh is very coarse, but the whole simulation works. Can anyone provide some input on that? |

Anything more than one fluid is multiphase. VoF is a multiphase approach used when the different fluids are completely separated (immiscible) so you solve one set of equations for one fluid in the region where it flows and the other set for the other fluid where it flows. The interface cells are the only ones where you can have both fluids and this is tracked with the volume fraction alpha1 having values between 0 and 1. Everywhere else in the domain it is either 0 or 1 since you only have one of the fluids at a time.
The Eulerian solver in Fluent is a dispersed flow multiphase solver and the equivalent of bubbleFoam and twoPhaseEulerFoam. The word Eulerian refers to the formulation of the equations, in that it uses an Eulerian frame of reference which is fixed in space as opposed the Lagrangian formulation which uses a Lagrangian frame of reference which moves with the individual particle being tracked. To make things simple, the Navier-Stokes equations as you usually solve them in most CFD codes are in Eulerian form. Solvers like icoFoam, simpleFoam, pisoFoam etc. all use the Eulerian formulation. Actually even interFoam uses the Eulerian formulation because it does not track individual particles, and yes it is multiphase. You say you already set up interFoam with SST. Can you run just one iteration and redirect the output in a log file and post it? Just do Code:
`interFoam > output.log` |

I thought bubbleFoam and twoPhaseEulerFoam also use VoF (btw. what's the difference between them and interFoam? I tried to search for it, but so far I didn't find much information).
Here the code comes: Code:
`kOmegaSSTCoeffs` |

Quote:
The inter*Foam family of multiphase solvers relies instead on a one-fluid mixture formulation and solves only only one set of N-S equations with a variable alpha. This is probably why it is possible to use k-omega with them since you are still solving for one fluid, the mixture. The interface is tracked based on alpha with the additional VoF equation. Not sure about the rest of the multiphase solvers. |

Yeah, that's what it seems for me.
So bubbleFoam seems like it is Euler-Euler type equation. Hmm... It's not what I need, I don't really care about bubble dispersion etc. Now I remember my past reading, VoF should make a trick. Coming back to interFoam, that's what it seems. I don't feel confident saying what interFoam does exactly, but as much as I learned and I can see, I think, any of the turbulence models should work with it, since all is coupled through VoF, which is kind of a weighting function. Anyways, thanks for your time and reply. |

Actually they are all Eulerian formulations. They just treat the additional fluid differently. I usually use twoPhaseEulerFoam but soon I will need to compute film formation and this will require interFoam.
Enjoy! |

Yes, yes, in Eulerian frame.
Film? Can you elaborate more about it? I would gladly hear why for that kind of case you would need interFoam and not twoPhase... solver. Thx! K |

Quote:
Sorry for the late reply. I use twoPhaseEulerFoam to compute dispersed flows of solid particles in air and interFoam for a fully segregated film transport on pipe walls. Cheers, Ziad |

kwsst modelhello everybody
I am having a problem with boundary conditions of the model KW SST for turbulent Intensity KineticEnergy Inlet "k" = 0.05 or 5% and velocity U reference = 4.15, and Y reference 0.35 mm so what would be the value of Omega? please I need help I dont know what to put in: internalField uniform ?? and value uniform?? heeeeeelp |

All times are GMT -4. The time now is 03:49. |