
Learn to create a 2D CAD sketch in FreeCAD 0.21.2 using the part design workbench, with polyline construction, dimensional constraints, and exporting a step file for Salomé mesh generation.
Import a step CAD into Salome, define inlet, outlet, and wall boundaries, create a 2d mesh with Net Gen, then extrude to 3d for Openfoam.
Import a 2D mesh into OpenFOAM by navigating the Ubuntu terminal, then set boundary types in the constant/polymesh boundary file and visualize in Paraview.
Set transport properties with kinematic viscosity 1.4e-5, apply the k-epsilon turbulence model, and define boundary conditions in the zero folder (zero gradient, no-slip, default faces).
Create a 2D hexahedral mesh in Salome from CAD, then extrude to a 3D mesh for multiphase OpenFOAM. Export as unv, import, and set inlet, outlet, and boundary conditions.
Set up a fluid domain around a lion STL by adjusting blockMesh dict and using snappyHexMesh to subtract the CAD, following the motorbike tutorial for a steady case.
Edit the blockMeshDict to define eight vertices and bounds, set inlet, outlet and wall boundaries, then generate and refine a snappy hex mesh near the STL, visualizing in paraview.
Note - CFD results always need to be validated with experimental data before blindly relying on them.
This course will take you through all the basics required in order to simulate simple CFD problems using OpenFOAM.
Geometry preparation will be covered using FreeCAD and Salome.
Meshing will be covered using Salome and snappyHexMesh.
Solving will be covered using OpenFOAM solvers.
Post-processing of results will be covered using Paraview.
All these software are available for free without any license costs.
CFD helps to reduce the cost of products by saving time and money in prototype testing phase. Rapid prototype testings can be done by using CFD technology to predict the future behavior of the product. It enables us to foresee any shortcomings in the product and rectify them before the actual manufacturing phase of the product. This is a young technology and can grow substantially in near future.
You will be able to draw CAD models using the dimensions of any given geometry. Then you will understand how to draw CAD model in FreeCAD and mesh the geometry in Salome to get appropriate results. You will also learn to setup snappyHexMesh. Mesh size plays an important role in deciding the accuracy of your results. Assumption of boundary conditions is another important aspect in any CFD simulation. Replication of real-life conditions must be correctly implemented in the CFD boundary conditions. Finally good post-processing of the results helps you to deliver your results successfully to the non-technical.