Thursday, July 3, 2014

3D bend pipe = Salome + OpenFOAM ( simpleFoam with temperature )

Posting this after a long break......

Simulation of a steady flow in a 3D pipe bend using Salome and OpenFOAM. Energy equation was added to the OpenFOAM solver Salome and a new solver named "simTempFoam" was developed. The geometry is a pipe with a diameter of 0.3 m and having a total length of 100 m and velocity of 1 m/s.

Pipe : Inlet, Outlet and wall boundary


The above figure Shows the geometry created in Salome v 7.2.0. The meshing was carried out in Salome itself and hexahedral mesh was used for the meshing.

Hexahedral mesh was generated using Salome with a total cell count of 60000

OpenFOAM was used for solving the flow through the bend. A steady state solver named "simTempFoam" was developed for with addition of energy equation. The solution converged in 300 iterations resulting in the following pressure, velocity and temperature contour plot.

Pressure contour

Velocity contour