All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
AIM - Simulation of Flow over a backward facing step using converge. OBJECTIVE - To run a simulation for a flow over a backward facing step. To run cases for 3 different base meshes with sizing 2e-3 m, 1.5e-3 m, 1e-3 m. and show the mesh generated in each case. To show the pressure and velocity contours.…
Amol Patel
updated on 07 Jan 2022
AIM - Simulation of Flow over a backward facing step using converge.
OBJECTIVE -
PRE_PROCESSING -
Geometry -
First the stl geometry if the backward facing step is imported in converge.
the normal for the front and back side are aligned to the z axis.
also the normals are within the domain.
Now naming the boundaries for the respective faces.
It is clear form the above images that the boundaries are being flagged properly and now the case can be setup.
Case Setup -
Select the application type as Time-based.
Select gas simulation from the material section, select air as the predefined mixtures and turn on the species.
keep the setting in the gas simulation as it is.
also the global transport parameters are same.
add N2 and O2 in the gas tab to add gas species.
Simulation Parameters:
To setup the run parameters select the solver type as steady-state solver with simulation mode as full hydrodynamic and gas flow solver as compressible. now from the Misc. tab turn on the steady-state moniter and turn off the use shared memory option.
here two steady state moniter we setup at the outlet boundary one for total pressure and another for average velocity. the minimun number of cycles to be exectutes for the steady state solver we kept 5000 and moniter start delay was set as 5000 cycles and smaple size was 1000 cycles.
The simulation time parameters have end time as 15000 cycles inital time step as 1e-6 s also the minimum timestep is 1e-6 s and the maximum time step is 1 s.
The maximum convection CFL limit is set to 1.
Solver parameters are steup up as shown below. Select the pressure based solver and from the equaiton change the preconditioner for pressure to none and from the steady state solver control set the maximum convection CFL limit as 1.0
To set the flow region go to regions and initialization and add a region with any user defined region name then for the initialization keep the pressure and temperature the same for the species add air and then the O2 and N2 combination can be see in the table below species.
Boundary Conditions:
Inlet : for the inlet the boundary type is selected as inflow the pressure is set to 110325 Pa. the temp is 300 K and species is air
Oultet : the outlet is set to boundary type as outflow with pressure 101325 Pa and temp 300 and species is air.
front and back : The the simulation performed is 2 Dimensional so the front and back boundary are set to two_D .
Top and wall Boundary: the top and wall surface are both considered as wall so the boundary type is set as wall and no slip condition is applied to the stationary wall.
Physical Model:
RANS RNG K-epsilon turbulence model is selected while keeping the turbulence modelling turned on from the physical models.
Grid Control:
Select the fixed embedding option to add embedding in the grid.
Base Grid has a size of 2e-3 m in x,y,z directions
Add new embedding as Embedding 1 , select the entity type as boundary and giving boundary ID for the top and wall boundary with permanent mode. the embedding has a scale factor of 1 and number of embed layer is also 1.
Output and post files :
For the post variable selection keep the default variables.
For the output files go to the writing time intervals tab and set the time interval for writing 3D output data files and writing restarting output as 100.0 and keep the maximum number of restart files saved as 3.
Now the setup is complete and the input files for the simulation can be exported by going to files>>export>>export_input_files and saving them at the desired location.
PROCESSING -
Now open the cygwin terminal with run as administrator and go to the folder where the input files are exported.
Run the simulation using the following command to run the simulation
mpiexec.exe -n 4 converge-intelmpi.exe restricted </dev/null> logfile &
the mpiexec.exe is used to run the simulaition command converge-intelmpi.exe in parallel using 4 processors.
This will run the simulation in the background and also write the logfile rather than printing everything on the termiinal.
Using the follwong command the status of the simualtion can be checked .
tail -n 20 logfile
Once the simualtion is complete move to the output folder generated in the same location and here the output file can be seen but this files are not compatible for the paraview software so they are converted to the paraview vtk binary format by performing the following command.
mpiexec.exe -n 4 post_convert_30_msmpi_64.exe
The post_convert_30_msmpi_64.exe is used to convert the format of the output files. while running the above command it will ask for the name for the file by which they are to be saved and also the format of the output files so give the number for the paraview vtk binary format. Give "all" for the variable to be printed and the output timestep files.
POST-PROCESSING -
here the 3 base mesh sizes used are given in the following table along with the cell count
Case Number | Base Mesh Size (m) | Cell Count | Pressure(MPa) | Avg_VEL At outlet(m/s) |
1 | 2.0e-03 | 1943 | 0.100725 | 41.835 |
2 | 1.5e-03 | 2994 | 0.100262 | 44.700 |
3 | 1.0e-03 | 5516 | 0.100393 | 44.045 |
Mesh for each case shown below
Case1-
Case2-
Case3-
Pressure Contours:
Case1-
Case2-
Case3-
Velocity Contours:
Case1-
Case2-
Case3-
Velocity Vectors:
Case1-
Case2-
Case3-
Velocity Plots:
Case1-
Case2-
Case3-
Pressure Plots:
Case1-
Case2-
Case3-
Mass Flow Rate Plots:
Case1-
Case2-
Case3-
Cell Count Plots:
Case1-
Case2-
Case3-
Flow Animations
Case1-
Case2-
Case3-
Why and Where the seperation is taking place?
The Flow seperation is due to the dettachment of the boundary at the sharp edge of the backward facing step. The static pressure at this region reduces and this leads to the formation of recirculation downstream of the step and may also trigger formation of vortices.
CONCLUSION-
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...
Week 6: Conjugate Heat Transfer Simulation
AIM- To simulate a Conjugate Heat Transfer flow through a pipe, while the inlet Reynolds number should be 7000. To run the grid independance test on 3 grids and show that the outlet temperature converges to a particular value To observe the effect of various supercycle stage interval on the total simulation time.…
09 Nov 2022 06:55 AM IST
Week 7: Shock tube simulation project
AIM - To set up a transient shock tube simulation Plot the pressure and temperature history in the entire domain Plot the cell count as a function of time SHOCK TUBE- The shock tube is an instrument used to replicate and direct blast waves at a sensor or a model in order to simulate actual explosions…
07 Nov 2022 09:18 PM IST
Week 5: Prandtl Meyer Shock problem
AIM - 1. To understand what is a shock wave. 2. To understand the what are the different boundary conditions used for a shock flow problems. 3. To understand the effect of SGS parameter on shock location. 4. To simulate Prandalt Meyer Shcok Wave. OBJECTIVE - Que 1. What is Shock Wave? A shock wave or shock,…
01 Nov 2022 06:36 PM IST
Week 4.2: Project - Transient simulation of flow over a throttle body
AIM - Transient simulation of flow over a throttle body. OBJECTIVE - Setup and run transient state simulation for flow over a throttle body. Post process the results and show pressure and velocity contours. Show the mesh (i.e surface with edges) Show the plots for pressure, velocity, mass flow rate and total…
12 Feb 2022 07:08 AM 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.