Computational Methods - CFD Lecture 1
Computational Methods - CFD Lecture 1
by
Dr Ceri
Computational Methods -
Morris Week 6
What is CFD?
2020
What is a computational model?
Mathematical representation of a real life system, that is able to
predict, mimic, or imitate the behaviour of the system within a
set of prescribed boundary conditions
Types of Computational Models
2020
Creating Geometry
• Internal Flow
• e.g. flow in a pipe or duct
• External Flow
• e.g. flow around a vehicle or
building
Creating Geometry
• Only need the fluid not any solid parts
Internal flow
• don’t need pipe/duct
thickness
External flow
• need to subtract object of
interest from domain
Geometry Considerations
• Are there any problems with the CAD drawing?
• Gaps between surfaces or edges
• Intersecting surfaces/edges
which should be joined
• Excessive use of points, lines or
surfaces
• Inconsistent orientation
• Surface bodies which should be
volumes
• Wrong shape
Geometry Considerations
• Can the geometry be simplified?
• Small unnecessary details
• 3D/2D
• Symmetry
• Very sharp edges rounded
Geometry Considerations
• Geometry must represent fluid region
• For external flows, the geometry of the object is removed
from the flow domain
• Domain must be large enough to prevent blockage/flow
acceleration
Presented
by
Dr Ceri
Computational Methods -
Morris Week 6
2020
Meshing
• What is a mesh?
• Control volumes (cells or elements) the domain is split into to
calculate the solution
• One value of each variable for each cell
• Has cells grouped into boundary zones where boundary
conditions are applied
Range of skewness
Smoothness and aspect ratio
• Change in size should be gradual (smooth)
• The velocity changes from its value outside the boundary layer
to zero at the wall; so very large changes in ∂u/ ∂y
Solid surface
Boundary layer meshes
Road car
2D wing (aerofoil)
Aircraft body
Pipe/channel
• Body sizing
• Face sizing
• Edge sizing
o Element size / Number of divisions
o Bias
Inflation
• If global settings used, all boundaries are inflated
• If local settings, only specified boundary
• Good news! There are grid adaptation algorithms. You provide a starter mesh
and then as the run proceeds the CFD package alters the mesh by adding (or
removing) and moving cells to obtain a better result.
• Try to show that your results are independent of mesh size (grid
independence).
General points
• More cells can give higher accuracy, but increased memory/CPU time. Is it worth
it?
• Only cluster high number of cells where needed, e.g. near boundaries, in wakes..…
• When a mesh has been created, the boundaries need to be identified so boundary
conditions can later be specified. In Ansys meshing this is done by creating Named
Selections.