Documente Academic
Documente Profesional
Documente Cultură
In this problem we will describe how to pre-process, run and post-process a case involving
isothermal, incompressible flow in a two-dimensional square domain. The geometry is shown
in Figure 1.1 in which all the boundaries of the square are walls. The top wall moves in the -
direction at a speed of 1 m/s while the other 3 are stationary. Initially, the flow will be assumed
laminar and will be solved on a uniform mesh using the icoFoam solver for laminar,
isothermal, incompressible flow. In this problem, the effect of increased mesh resolution and
mesh grading towards the walls will be investigated. Finally, the flow Reynolds number will
be increased.
• Pre-processing
A case being simulated involves data for mesh, fields, properties, control parameters, etc.
• Mesh generation
OpenFOAM always operates in a 3 dimensional Cartesian coordinate system and
all geometries are generated in 3 dimensions. OpenFOAM solves the case in 3
dimensions by default but can be instructed to solve in 2 dimensions by
specifying a ‘special’ empty boundary condition on boundaries normal to the
(3rd) dimension for which no solution is required.
• Running an application
Figure 1.4: Pressures in the cavity case.
• Post-processing
• Contours
• Vector plots
Figure 1.5: Velocities in the cavity case.
Figure 1.6: Velocity contour in the cavity case.
• Streamline plots
Figure 1.7: Streamlines in the cavity case.
Fig (2.2). Comparison between Ghia and open foam present analysis
From this analysis if we consider the higher Reynolds number the open foam solution is not
feasible by using icoFoam solver that is clearly understand from above pictorial representation.
Re = 3200
Fig (2.5) Velocity Contour for Reynolds number at 3200
Fig (2.6) Comparison of results from ghia’s and present analysis at Reynolds number 3200 of Y
vs U- velocity
Fig (2.7) Comparison of results from ghia’s and present analysis at Reynolds number 3200 of Y
vs U- velocity
Re =10000
Fig (2.8) Comparison of results from ghia’s and present analysis at Reynolds number 10000 of
Y vs U- velocity
Fig (2.9) Comparison of results from ghia’s and present analysis at Reynolds number 10000 of
X vs V- velocity
Fig (2.10) Stream line patterns for Reynolds number at 10000