Exercise
Introduction
The simulation setup of the turbulent, incompressible flow through a diffuser did not yield good results compared with experimental measurements. There are two main issues, which might be responsible:
- Near-wall mesh resolution to coarse with a non-dimensionless wall distance of \(y^+ \approx 20\).
- Standard \(k-\epsilon\) simply not able to model flows under adverse pressure gradients and with separation.
In order to resolve these issues, additional simulations should be performed.
Tasks
1. Increase Near-wall Mesh Resolution
Increase the mesh resolution at the wall by using a total of 12 inflation layers.
Subtasks
- Rename the original case folder from
diffuserto something more descriptive, likekEpsilon_coarse. - Duplicate this folder and rename it to
kEpsilon_fine. This way the results of the first simulation do not get overwritten by this second simulation. - Within the
kEpsilon_finecase folder, remove all results folders (except0) and thepostProcessingfolder for a clean setup. - Increase the number of inflation layers in
meshDictin thesystemdirectory by changing the entrynLayersfrom 1 to 12. - Generate the mesh using
cartesian2DMeshand check the quality of the mesh usingcheckMesh. - Rerun the simulation with the solver
simpleFoam. - Analyse the simulation results with ParaView similar to the first simulation.
Questions
- Did the convergence change compared to the first simulation?
- Are there any improvements in the prediction of the flow separation at the lower diffuser wall?
2. Simulation with the SST \(k-\omega\) Turbulence Model
Repeat the simulations with the SST \(k-\omega\) turbulence model instead of the Standard \(k-\epsilon\) model. This involves changing the turbulence model, applying suitable boundary conditions for the new variable specific dissipation rate \(\omega\) and adjusting the solver and discretization schemes.
Subtasks
- Duplicate the folder with the refined mesh from Task 1 and rename it to
kOmegaSST_fine. - Within the
kOmegaSSt_finecase folder, remove all results folders (except0) and thepostProcessingfolder for a clean setup. - Change the turbulence model from
kEpsilontokOmegaSSTin theturbulencePropertiesfile in theconstantdictionary. - In the
0folder, rename theepsilonfile toomegafor the new variable solved and apply the following changes to the file itself:- Set the name of the object in line 14 to
omega. - Change the dimensions of the variable to \(\text{seconds}^{-1}\).
- The inlet boundary condition must be of type
turbulentMixingLengthFrequencyInlet. - Replace the
epsilonWallFunctionat the wall patches withomegaWallFunction.
- Set the name of the object in line 14 to
- In
controlDict,fvSchemes, andfvSolutionin thesystemdirectory, replace all instances ofepsilonwithomegato use the same discretization schemes, solver settings, residual criteria, and relaxation factors for the \(\omega\) transport equation as for the \(\epsilon\) transport equation in the previous simulations. - Add the following entry in the
fvSchemesfile, which specifies how the SST \(k-\omega\) turbulence model computes the distance from a cell to the next wall:wallDist { method meshWave; } - Rerun the simulation with the solver
simpleFoam. - Analyse the simulation results with ParaView similar to the first simulation.
Questions
- Are there any improvements in the prediction of the flow separation at the lower diffuser wall?
- Plot the velocity profile of of all three simulations and the experimental measurements in a single graph in ParaView. Which model is best suited for modelling this complex flow?