CFD Analysis of Flow Over a Truck
CAD Design
Data Provided
Truck Geometry Model is provided.
Geometry
Load the ANSYS workbench. It will look like the above picture.
Step 1
Step 1: Drag the Fluid Flow (Fluent with Fluent Meshing) into the project schematic.
Step 2
Step 3
Step 4
Step 2: Click the File icon at the top of the screen and select Save as.
Step 3: Browse to the location you want to save and give the filename Flow Over a Truck.
Step 4: Click Save.
Step 5
Step 6
Step 5: Right-click the Geometry.
Step 6: Click on the New SpaceClaim Geometry.
After Loading the SpaceClaim, It will look like the above picture.
Step 7
Step 8
Step 10 Step 9
Step 11
Step 7: Click the file in the top corner.
Step 8: Click Open.
Step 9: Browse to the location where the provided geometry is
saved and Change SpaceClaim to All Supported Files.
Step 10: Enter the filename or Select the File.
Step 11: Click Open.
After Loading the Provided Geometry, It will look like the above picture.
Step 12
Step 13
Step 12: Click the Sketch Mode in the Design tab.
Step 13: Select the YZ Plane by clicking the normal direction(X-Axis) to the YZ plane.
After the XY plane is Selected, It will look like the above picture.
Step 14
Step 15
Step 16
Step 14: Click the Rectangle Icon on the sketch toolbar.
Step 15: Click the Origin and drag somewhere on the design screen.
Step 16: Place it on the Axis Line.
Step 18
Step 19
Step 17
Step 17: Click the file and Click SpaceClaim Options.
Step 18: Click Units.
Step 20
Step 19: Change Millimeters to Meters.
Step 20: Click OK.
Step 21
Step 22
Step 21: Click the Dimension Icon and give the dimension shown in the image.
Step 22: Click return to 3d mode icon.
After Returning to 3d mode, Our domain surface will look like the above picture.
Step 23
Step 24
Step 25
Step 23: Select the Pull Icon on the Design Toolbar.
Step 24: Select the surface on the Structure.
Step 25: Select the no merge.
Step 26
Step 26: Drag the arrow to add material and enter the value as shown in the image.
After material is added, the CFD domain will look like the picture above.
Step 27
Step 27: Hide the Remaining Components except solid.
Step 29
Step 28
Step 28:Click the surface shown in image.
Step 29:Click Pull icon to add material.
Step 30
Step 30: Drag the arrow to add material and enter the value as shown in the image.
Step 31
Step 31: Right-click the Solid and rename it to the domain.
Step 32
Step 33
Step 32: Click the Combine Icon.
Step 33: Select the domain by selecting the body icon( ).
Step 34
Step 34: After selecting the domain, cut the Component 1 using the cutter icon ( ).
Step 36
Step 35: After the domain is subtracted, remove the solid using the eraser icon ( ).
Step 36: Repeat it for Remaining components. Select domain Cut Component Remove Solid.
Step 37
Step 38
Step 37: Select all the Components Except Domain.
Step 38: Right-click and delete it.
CFD domain after Deleting components.
Step 41
Step 42
Step 39
Step 40
Step 39: Open the groups tab.
Step 40: Click the surface in the negative X-direction.
Step 41: Click Create NS.
Step 42: Type the name Inlet.
Step 43 Outlet. Wall.
Step 43
Step 43
Ground.
Step 43: Name the surface as shown in the Image
outlet, Ground and wall.
Step 44: Select the Four surfaces and Hide them.
Note: Truck Parts names are shown in the Slide. Step 44
Truck. Wheel.
Step 46
Step 45
Step 45: After naming, Click File and Save Project.
Step 46: Close the SpaceClaim.
Meshing
Step 1
Step 2
Step 3
Step 4
Step 1: Double-click the Mesh. It Opens the Fluent Launcher.
Step 2: Click Double Precision.
Step 3: Enter the number of Processors according to system availability.
Step 4: Click Start.
Fluent meshing will look like the above picture after loading.
Step 5
Step 6
Step 5: Select Import Geometry.
Step 6: Click Import Geometry.
After Importing the Geometry, the Meshing tab will look like the above picture.
Step 7
Step 8
Step 9
Step 10
Step 11
Step 7: Select Add local sizing. Step 10: Select the Wheel.
Step 8: Choose Yes. Step 11: Click add local sizing.
Step 9: Enter target mesh size 0.05.
Step 12
After adding local sizing.
Step 12: Click the generate the Surface mesh.
Step 13: Give the minimum size as 0.05.
Step 14: Enter the maximum size as 7.
Step 13 Step 15: Change the scope Proximity to faces and edges.
Step 16: Click Generate the surface mesh.
Step 14
Step 15
Step 16
After Surface Mesh, Mesh will look like the above picture.
Step 17: Select only fluid regions with no voids.
Note: Remaining selected by default.
Step 18: Click Describe geometry.
Step 17
Step 18
Step 19: Leave it as default and click Update Boundaries.
Note: Fluent will automatically detect boundaries.
Step 19
Step 20: Choose the domain as fluid and change the remaining as dead.
Step 21: Click Update regions.
In the next slide, the Domain region is displayed.
Step 20
Step 21
Domain Region.
Step 22: Choose no.
Step 23: Click Update.
Step 22
Step 23
Step 24: Choose Polyhexcore.
Step 25: Enter Min Size as 0.005 and Max Size as 5.12.
Step 26: Click Generate the volume mesh.
Step 24
Step 25
Step 26
After Volume Mesh, Mesh will look like the above picture.
Mesh Count.
Minimum Orthogonal Quality.
Check for Quality and Mesh Count By Clicking the console page.
Ignore that stair stepping warning.
Step 27
Step 29
Step 28
To View the mesh on the Truck, Use Cut Plane View of Volume Mesh, follow the steps.
Step 27: Click Insert Clipping Plane.
Step 28: Click limit in X to View Section View of X-Plane.
Step 29: Use the Slide bar to move the Cut plane view.
Y Cut Plane View
X Cut Plane View.
Z Cut Plane View.
Step 30
Step 30: After Mesh, Click Switch to Solution.
After opening the Fluent Tab, it will look like the above picture.
Setup and Solution
Step 1.1
Step 1.2
Step 1.1: Check Scale.
Step 1.2: Click Close.
Step 2.1
Minimum Orthogonal Quality.
Step 2.2
Step 2.1: Click Report Quality.
Step 2.2: Click Console.
Step 3.1
Step 3.2
Step 3.3
Step 3.4
View the mesh on the Truck parts by these Following steps.
Step 3.1: Click Display.
Step 3.2: Choose Edges and Faces.
Step 3.3: Select the Truck Parts.
Step 3.4: Click Display.
Step 4
Step 5 Step 4: Choose Pressure-Based.
Step 5: Choose Steady Method.
Step 6.3
Step 6.1 Step 6.2
Step 6.1: Double-click the model.
Step 6.2: Double-click the Viscous.
Step 6.3: Select SST k-omega.
Step 7.2
Step 7.1
Step 7.4
Step 7.5
Step 7.3
Step 7.1 to 7.5: Double-click the Boundary Conditions Click Inlet Edit Velocity – 20m/s Apply and close.
Step 8.1 Step 8.3
Step 8.2 Step 8.4
Step 8.1 to 8.4: Click Wall Edit Choose Shear Apply and close.
Step 10
Step 9: Double-click the Reference Value.
Step 9 Step 10: Choose Compute From Inlet.
Step 12
Step 11: Double-click the Methods.
Step 12: Choose Simple.
Step 11
Step 14
Step 13: Double-click the Initialization.
Step 14: Choose Compute from Inlet.
Step 15: Click Initialize.
Step 13
Step 15
Step 17
Step 16: Double-click the Run Calculation.
Step 17: Enter Number of Iterations - 1000.
Step 18: Click Calculate.
Step 18
Step 16
After Calculation Complete.
The Residuals are shown in above image.
After Fluent is Closed, Workbench Will look like the above picture.
Before checking the results, save the project. Click File and Save.
Results
Step 1
Step 1: Double-click the results.
CFD Post will look like the above picture after Opening.
Step 2
Step 2: Turn Off the Wireframe.
Step 3
Step 3: Double-click the Legend View.
Step 4: Choose Variable.
Step 4 Step 5 Step 5: Click Appearance.
Step 6: Enter Precision as 2.
Step 7: Change Scientific to Fixed.
Step 6 Step 8: Click Apply.
Step 7
Step 8
Step 9 Step 13
Step 10
Step 09: Click Location.
Step 10: Click Plane.
Step 11: Choose XY Plane.
Step 11
Step 12: Click Apply.
Step 13: Turn Off the Plane.
Step 12
Step 14
Step 15
Step 16
Step 14: Click Contour Icon.
Step 17
Step 15: Name Velocity Magnitude and Click OK.
Step 16: Choose Locations Plane 1.
Step 18 Step 17: Choose Variable Velocity.
Step 18: Enter Contours 100.
Step 19: Click Apply.
Step 19
Once applied, it will look like the picture above.
Step 20
Step 22
Step 21
Step 23
Step 24
Step 20: Click File.
Step 21: Click Save Picture.
Step 22: Select the location where you want to save the file.
Step 23: Use Scale 300% for Better Quality.
Step 24: Click Save.
Velocity Magnitude Contour.
Saved Picture.
Step 25 Step 32
Step 26
Step 29
Step 27
Step 25: Click Contour Icon.
Step 28
Step 26: Name Velocity Magnitude and Click OK.
Step 27: Choose Locations Plane 1.
Step 28: Choose Variable Pressure.
Step 29: Click Render.
Step 30: Click User Specified and choose the color
Step 30
Black.
Step 31: Click Apply.
Step 32: Turn off the Velocity Magnitude Contour.
Step 33: Save the Picture(Reference in 76).
Step 31
Pressure Contour.
Saved Picture.
Step 34
Step 35
Step 37
Step 36
Step 38
Step 34: Click Location.
Step 35: Click Line.
Step 39
Step 36: Name Vertical and Click ok.
Step 37: Enter Coordinates.
Step 38: Enter Samples 25.
Step 39: Click Apply.
Step 40
Step 44
Step 41
Step 47
Step 42 Step 45
Step 48
Step 43
Step 40: Click Streamline Icon.
Step 46 Step 41: Click Ok.
Step 42: Choose Start From Vertical.
Step 43: Enter Max Points as 25.
Step 44: Click Symbol.
Step 45: Enter Line Width as 3.
Step 46: Click Apply.
Step 47: Turn On the Truck parts.
Step 48: Turn Off the Vertical.
Step 49
Step 51
Step 50 Step 51
Step 53
Step 52
Step 49: Double Click the truck.
Step 50: Click dot Icon.
Step 51: Choose White and Adjust the bar.
Step 52: Click Ok.
Step 53: Click Apply.
Step 54: Repeat the steps for remaining truck parts and for wheel use Black Color.
After that, The Screen looks like the above picture.
Zoom near the Truck for a better view and Save the Picture.
Streamline Contour.
Step 55: Close the CFD Post.
Step 56: Save project and close it.
THANK YOU