Week 3: Flow over a backward facing step
Aim:
To perform Flow over a backward facing step simulation using Converge-CFD and post process the results in Paraview.
Objective:
Run a simulation for three times with different mesh size and compare the results. Three different base mesh sizes are,
- dx = 2e-3m, dy = 2e-3m, dz = 2e-3m
- dx = 1.5e-3m, dy = 1.5e-3m, dz = 1.5e-3m
- dx = 1e-3m, dy = 1e-3m, dz = 1e-3m
Procdure:
- Open Converge studio and create a geometry of a backward facig step or import the geometry file. For this go to geometry -> Create-> Shape-Box-> Specify the centre of geometry.

- Then assign the boundary flags.

- Then go to Geometry-> Options-> Slect surface normal. After seleting the Surface normal the normal pits towards outside, select any one arrow that is point outward and click on them, then the normls change their direction to inwards.


- After that diagnosis the geometry to identify the any errors/problems. If there are no error found then the geometry is correct.

- Then the case setup mustbe done. Go to case setup, give required input that needed for each option in the setup one by one to run a simuation.
Case Setup:
Application Type = Time Based

Materials:
Predefined mixture = Air

Species:

Simulation Parameters:
Run Parameters:

Steady- State Monitor:

Simulation Time Parameter:

Solver Parameters [Steady state]:



Regions:

Boundary Conditions:
Inlet:(INFLOW)

Outlet:(OUTFLOW)

Walls:(WALL)

Front &Back: (TWO_D)

Physical Models:

Grid Control:

- Change the dx, dy and dz value for different mesh size simulation.
For case-1 dx = 2e-3m, dy = 2e-3m, dz = 2e-3m
case-2 dx = 1.5e-3m, dy = 1.5e-3m, dz = 1.5e-3m
case-3 dx = 1e-3m, dy = 1e-3m, dz = 1e-3m
Fixed Embedding:

Post Processing:

Output files:

- After setting up the case export all the input files for futher procedure.

- Then open Cygwin and navigate to the location where the input files are exported earlier.
- After navigate to the respective folder, Run a simu;ation by using specific commands "mpiexec.exe -n 4 converge.exe restricted logfile &"

- It will take some time to run a simulation, once the simulation is completed it will create multiple output data files.

- Those output files need to be converts in the format that can access in Paraview, so convert all output files in the format of paraview VTK in-line binary format.

- After that open Paraviem and import the converted files in Paraview interface. And then slice the geometry to get 2D plots then run the simulation in paraview.

- Plots can be generated by using line plotting option, hence required plots, contours and animation can obtained in paraview.
- And we can generate the plots in Converge Studio also.
- Repeat the same procedure for different mesh size simulation.
Results:
case-1
Mesh size - dx = 2e-3m, dy = 2e-3m, dz = 2e-3m

Velocity Contour:

Velocity Vector:

Pressure Contour:

Velocity Plot:

Pressure Plot:

Mass Flow Rate Plot:

Total Cell Counts:

Animation:
Velocity:
Pressure:
Case-2
Mesh size - dx = 1.5e-3m, dy = 1.5e-3m, dz = 1.5e-3m

Velocity Contour:

Velocity Vector:

Pressure Contour:

Velocity Plot:

Pressure Plot:

Mass Flow Rate Plot:

Total Cell Counts:

Animation:
Velocity:
Pressure:
case-3
Mesh size - dx = 1e-3m, dy = 1e-3m, dz = 1e-3m

Velocity Contour:

Velocity Vector:

Pressure Contour:

Velocity Plot:

Pressure Plot:

Mass Flow Rate Plot:

Total Cell Counts:

Animation:
Velocity:
Pressure:
Observation:
- The results shws that the number of total cell counts for mesh size 2e-3m, 1.5e-3m and 1e-3m are 1900,3000 and 5500 respectively. Hence as the mesh becomes more finer and finer the total cell count increases, as the cell count increases the computational time also increases.
- Mass Flow Rate at the outlets for the refined cases are almost same.When both inlets and outlets are compared we can observe a positive flow and a negative flow.
- Hence when the mesh becomes fines the results obtaied are more accurate.
- From velocity vector contours we can observe detailed turbulence as the mesh size is getting decreased.
Conclusion:
The Flow over a backward facing step simulation using Converge CFD is performed with different mesh sizes.