All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
Aim: In this project, we aim to study the turbulence modelling by simulating a flow over a backward step with varying Reynolds numbers in STARCCM+. The concept of Y+ was also studied. Calculations: The simulation was done for air at a temperature of 25 degree Celcius. Reynolds Number (Re) is given as: Re = (ρ…
Ashutosh Kulkarni
updated on 14 Jan 2021
Aim:
In this project, we aim to study the turbulence modelling by simulating a flow over a backward step with varying Reynolds numbers in STARCCM+. The concept of Y+ was also studied.
Calculations:
The simulation was done for air at a temperature of 25 degree Celcius.
Reynolds Number (Re) is given as:
Re = (ρ * v * D) / μ
The equation rearranges to give velocity as:
v = (Re * μ) / (ρ * D)
Case 1:
Re = 100
ρ = 1.184 kg/m^3 (Density of air at 25 C)
μ = 1.849*10^-5 kg-ms (Dynamic viscosity of air at 25 C)
D = (4*Area)/(Perimeter) = 0.046 m
This gives, v = 0.03 m/s
Case 2:
Re = 1e5
v = 312.3 m/s
Case 3:
Re = 1e7
v = 5205 m/s
for Re = 1e6,
v = 520.5 m/s
The flows were simulated for Reynolds number 100, 1e5 and 1e6 instead of 1e7. The reasons and related theory will be described as we progress with the solution.
Procedure:
The initial steps from creating the geometry to setting up a volume mesh is same for all the cases and hence wil be described only once at the beginning.
Step -1: Creating the Geometry:
2D Sketch of the backward step geometry
Completed Geometry
Surface Repair Window
STEP -2: Meshing
Surface Remesher
Automatic Surface Repair
Polyhedral Mesher (mostly used for internal flow simulations)
Prism Layer Mesher (to capture effects at the boundary)
Volume Mesh
2D View of the Mesh
STEP -3: Creating Regions and giving BCs:
--------------------------------------------------------------------------------------------------
Significance of Prism Layers:
Prism Layers are prism-shaped cells that are generated at the boundaries to capture the Boundary Layer phenomenon. A boundary layer is a layer of fluid generated in the immediate vicinity of a bounding surface where the effects of viscosity are significant.
The boundary layer is a complex phenomenon which is very thin and the solution gradients are very high. To capture these steep gradients, we could use a fine mesh (of any type of cell) throughout the domain but it would be a costly and time-consuming affair.
The solution to this is to use a Prism Layer near the boundaries and the core mesher in the central/free flow region. Prism layers allow high aspect ratio cells which can compute the steep gradients.
The effect of a prism layer is to minimize the meshing time and simulation costs incurred by a fine mesh by providing thin cells only at the boundaries to capture the boundary layer gradients. Thus, prism layers facilitate accurate boundary layer resolution without increasing the cost and time of simulation.
Prism layers can be seen in the 2D view of mesh.
--------------------------------------------------------------------------------------------------------
The next step will be to set up the Physics conditions. To do so, go to Continua, right click on Physics 1 and select 'Select Models'.
The steps till here will be the same for all cases.
Case 1:
A] For the Laminar flow case, the following models were selected:
Three Dimensional, Steady, Gas, Segregated Flow, Constant Density, Laminar. Constant density was used as the density variation of the fluid was assumed negligible as the velocity was very low and temperature effects will be negligible on the density variation.
The stopping criteria was set to 250 iterations and the simulation was run.
Pressure Contour
Velocity Contour
Residuals Plot
As can be seen from the above plots, the solution converges after about 60 iterations and the developed flow profile can be observed in the contour plots.
B] The same simulation for Re = 100 and v = 0.03 m/s was run using the turbulent model.
Instead of the Laminar model, Turbulence and k-epsilon models were selected along with the auto-selected models.
Pressure Contour
Velocity Contour
Residuals Plot
Observations:
1. Contour Plots: As can be seen, the Pressure and Velocity contours for both the laminar and turbulent simulations are nearly identical with very minute distinctions. This can be attributed to the fact that a turbulent model won't affect an originally laminar flow as the turbulent viscosity computed by the turbulence model will be much lower as compared to the molecular viscosity (since turbulent viscosity is directly proportional to square of KE and KE for a laminar flow is very low in magnitude).
2. Residual Plots: Residuals for both the laminar and turbulent flows converge in the same range of iterations (60-70). However, the residuals for the turbulent model become unstable and vary sharply in a small value range. One reason to explain this unstable nature could be the round-off errors in calculating k and epsilon. Some amount of energy from the mean flow can be taken off by the KE and dissipation to cause this unstability. However, this small unstability doesn't cause any errors in the velocity and contour plots.
--------------------------------------------------------------------------------------------------------
Before proceeding with the further cases, let us take a look at a concept called y+.
Need for y+:
The above image shows the velocity variation from the wall boundary to the free flow.
What is this non-linear function?
Non-linear function from a flow parallel to plane parallel channels
This is a function of dimensionless velocity U+, tangential velocity U(y) and distance normal to the wall y+.
Wall Functions:
Wall functions are empirical functions that are fitted to the observed behaviour close to the wall.
The standard wall functions for the viscous sublayer and the log-law region are clearly defined:
The variation is linear for y+ < 5 and logarithmic for y+ > 30.
[Note that the X-axis of the plot is a logarithmic scale. Hence the curvature in the viscous sublayer is actually linear and the linear variation in th log-law region is actually logarithmic]
Types of Wall Treatments:
1. Low y+ (y+ < 5):
The low y+ wall treatment resolves the viscous sublayer and needs little or no modeling to predict the flow across the wall boundary. The transport equations are solved all the way to the wall cell. The wall shear stress is computed as in laminar flows. To resolve the viscous sublayer, these models require a sufficiently fine mesh with near-wall cells located at y+ of around unity. The computational expense that is associated with this approach can be significant, particularly for large Reynolds number flows where the viscous sublayer can be very thin. Therefore this wall treatment is suitable only for low Reynolds number flows.
2. High y+ (y+ > 30):
Case 2:
For Re = 1e5, v = 312.3 m/s. These simulations were run for 1000 iterations to attain the fully developed flow.
Here, the case was run using both the turbulence models - the realizable k-epsilon and the SST k-omega.
Results for realizable k-epsilon model-
Pressure Contour
Velocity Contour
Residuals Plot
Results for SST k-omega model-
Pressure Contour
Velocity Contour
Residuals Plot
Observations:
1. Contour Plots: The pressure contour plots are again almost identical for both the turbulence models. The velocity plots are also similar, however the k-omega model has better captured the shear layer and the recirculation region.
2. Residuals Plot: The residuals of both the models are observed to be stable. The residuals for k-epsilon models have stabilized close to 0, meaning the error is very low. For the k-omega model, however, the fluctuations are a bit too high. One reason for this could be the high sensitivity of the k-omega model to the free stream values. This can be resolved by using a finer mesh. Also, the residuals do not drop to zero. A reason for this could be the 'backstep disturbance' which means that the residuals do not drop until the disturbances have been transported out of the domain.
Case 3:
For the case Re = 1e7 v = 5205 m/s, the solution blew up and did not converge. One reason could be the very high velocity magnitude.
The solution did not converge
So, the simulations were run for Re = 1e6 and v=520.5 m/s.
Results for realizable k-epsilon model-
Pressure Contour
Velocity Contour
Residuals Plot
Surface Average Report for Pressure
Surface Average Report for Velocity
Results for SST k-omega model (all y+ wall treatment)-
Pressure Contour
Velocity Contour
Residuals Plot
Surface Average Report for Pressure
Surface Average Report for Velocity
Observations:
1. Contour Plots:
The pressure and velocity contours for the k-epsilon and k-omega models are very different. The pressure plot for k-epsilon provides very high values of pressure. The pressure decreases after the step when compared to the inlet region. For the k-omega model, the pressure values are low and even negative in some parts of the domain. These negative pressure regions will actually restrict the flow in the positive direction. Thus the k-epsilon plot seems to be giving a close to actual consdition plot.
For the velocity contours, the SST k-omega all y+ wall treatment gives very poor resolution at the shear layer and the recirculation zone. However, the k-omega model resolves the flow in the free stream more accurately than the k-epsilon model. Thus, neither model gives the accurate results. As a compensation between accurate resolution of the near wall as well as the free stream, a simulation for SST k-omega (low y+ wall treatment) was done which gave fairly accurate results for both conditions. It will be discussed subsequently.
2. Residual Plots:
The residuals for the k-epsilon model rose almost linearly wheareas for the k-omega model, the residuals were almost constant with small spikes indicating sudden variation of variables. For the k-epsilon model, the residuals increase with progress of time as the values of variables keep on increasing leading to higher errors. For the k-omega, the fluctuations can be attributed to the constant switch between the low y+ and high y+ wall treatment. This can be concluded based on the fact that the spikes occur majorly in the Tke (Total KE) and Sdr (Specific Dissipation rate). This can also be verified with the low y+ case.
3. Surface Average Plots:
Surface average plots give us the plot of average value of a parameter over the entire selected face with iterations (or time). For both the models, the average velocities at the outlet and along the cut plane section stabilize after about 250 iterations. The pressure variation for both the models is different. This can be due to the different approaches in calculating the turbulent viscosity values.
Results for SST k-omega model (low y+ wall treatment)-
Pressure Contour
Velocity Contour
Residuals Plot
Surface Average Report for Pressure
Surface Average Report for Velocity
Observations:
1. Contour Plots:
The contour plots with low y+ wall treatment give the most accurate results for both pressure and temperature. The velocity contour perfectly captures the shear layer and recirculation zone as opposed to the all y+ wall treatment k-omega model.
2. Residuals Plot:
The residuals are quite similar to the all y+ wall treatment k-omega model. The only difference being the smooth curves for Tke and Sdr. As stated in the previous case, these are smoothened out due to the use of a single wall treatment (low y+) instead of fluctuating between low y+ and high y+.
3. Surface Average Plots:
Both the pressure and velocity plots have given values which are between those of the k-epsilon and all y+ wall treatment k-omega models. This can be due to the fact that the k-epsilon model is quite unreliable when it comes to calculating the damping functions and probably under-estimates the damping. The all y+ SST k-omega on the other hand switches between the k-epsilon model at the boundary and the k-omega at the free stream. The fluctuations going from low y+ to high y+. In the low y+ condition, this constant transition is avoided giving the dissipation and KE values in a specific range.
CONCLUSION:
Google Drive link for simulation files:
https://drive.google.com/drive/folders/1RJn2Qe_ACouqKPqWG7tKkpR7ho3dWKr-?usp=sharing
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Boundary Conditions for External Aerodynamics Simulations
This project was done as a part of the course - External Aerodynamics Simulations using STARCCM+ 1. BCs used in External Aerodynamics: Boundary Conditions are the set of constraints to boundary value problems in computational fluid dynamics. These boundary conditions include inlet boundary conditions, outlet boundary…
14 Jan 2021 07:00 PM IST
Turbulence Modeling in STARCCM+
Aim: In this project, we aim to study the turbulence modelling by simulating a flow over a backward step with varying Reynolds numbers in STARCCM+. The concept of Y+ was also studied. Calculations: The simulation was done for air at a temperature of 25 degree Celcius. Reynolds Number (Re) is given as: Re = (ρ…
14 Jan 2021 06:54 PM IST
Volume Meshing in STARCCM+
This project was done as a part of the course- External Aerodynamics using STARCCM+ A mesh is a representation of a larger geometric domain by smaller discrete cells. In CFD, meshes are used to compute solutions of partial differential equations. A mesh partitions space into elements over which the equations…
14 Jan 2021 06:52 PM IST
Symmetry vs Wedge vs HP equation
This project is a part of the course- Introduction to CFD using MATLAB and OpenFOAM This is a continuation of the previous theoretical project where we studied the Hagen-Poiseuille's equation, simulated laminar flow of an incompressible fluid through wedge-shaped pipe section and compared the analytical and observed…
14 Jan 2021 06:49 PM IST
Related Courses
0 Hours of Content
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.