Week 8 - Simulation of a backward facing step in OpenFOAM
Firstly, the copy of the cavity case as cavity_test is created.


blockMeshdict is opened

The vertices are defined then the blocks and after that face types are defined.



after that controldict (inside system) is opened & simulation time along with delta T is defined , taking Courant criterion in account.

Similarly in 0 folder initial conditions are defined of pressure and velocity

Mesh is created using blockMesh command

The quality of mesh is checked using checkMesh command.

The icofoam solver is used to solve the problem

After solving a folder is created for each time step, containing pressure & velocity data

Then after solving, ParaView is opened for post-processing by writing paraFoam command.

The velocity is displayed taking cross-section at 0.085m

This is the actual pressure variation

This is the actual velocity distribution

Now the case for grading factor is introduced (G.F =0 .2)

This is how mesh will look like with G.F =0.2.

This is the pressure distribution with G.F = 0.2.

This is the velocity distribution with G.F = 0.2.
