Mec208: Tutorial 6 – Cfd Compressible Flow
Essay Preview: Mec208: Tutorial 6 – Cfd Compressible Flow
Report this essay
MEC208: Tutorial 6 – CFD Compressible flow[pic 1]Learning Outcomes:Practice operating the Ansys software and workbench interfaces (Instructions for ANSYS 18.2) Create geometries from a coordinates fileImplement a mapped mesh with defined sizingUse a density-based solver, suitable for compressible flow. Change fluid properties to use an ideal gas, required if the fluids required to compress.Utilize a standard initialisation schemeExtract relevant data to compare with theoretical calculations.ContentsTask overview        10. Theory        21. Workbench        22. Geometry        33. Mesh        54. Solver (FLUENT) Setup        65. Solver (FLUENT) Solution        96. Results        97. Stretch Goals        11Appendix 1 – Creating a geometry coordinates file.        12Task overviewYou will simulate the flow of air in a convergent divergent nozzle using Ansys FLUENT, and extract Mach number data.A 2D, axisymmetric, inviscid flow will be assumed to reduce computational time.0. TheoryA convergent divergent (CD) or de Laval nozzle is one in which the area changes along its length, at first contracting to a minimum (called the throat) and then expanding out. These types of nozzles are very useful because when dealing with compressible flows (i.e. Mach number, M > 0.3) reducing the cross-sectional area to increase flow velocity is only valid in subsonic (M < 1) regime. Once the flow is supersonic (M > 1) then the cross-sectional area needs to increase to increase the velocity. In this tutorial you will simulate the flow through a CD nozzle whose cross-sectional area changes according to the following equation: [pic 2][pic 3]Figure 1: Schematic of a convergent-divergent nozzleThe stagnation pressure, P0 at the inlet is 101325 Pa (1 atm) and the stagnation temperature, T0 is 300K. The static pressure at the outlet Poutlet is 3738.9 Pa. For this case consider the nozzle to be choked i.e. the flow at the throat is sonic (M=1). From the Little Book of Thermofluids we can determine that the pressure ratio P0/Pinlet = 1.02019 so that the static pressure at the inlet is 99348 PaGiven that the Reynolds number for a high-speed flow like this one is quite large, then the viscous forces will be confined to a small region close to the wall. Hence, it is reasonable to assume the fluid to be inviscid.1. WorkbenchThe Ansys Workbench interface serves as a bookkeeping interface which will keep track of the individual components needed to setup and run the simulation i.e. the geometry, the mesh, the solver and postprocessor. Given that the case being run in this tutorial is a simple one, we will use a fluid flow analysis system rather than a linked set of component systems to run this analysis.

Launch Workbench by typing “workbench” on the search bar next to the windows start button. At this point save the project to a relevant location that you have write access.Drag an instance of Fluid Flow (Fluent) from the Analysis Systems Toolbox to the Project Schematic Window. (A dashed green box should appear in the top left corner of the window, drag the fluid flow system here). Right click on the Geometry component (row 2) and select Properties. The same can be achieved by going to the View menu and enabling Properties and then selecting the Geometry component.Change the Analysis Type from 3D to 2DAgain, right click on the Geometry component (row 2) and click on New DesignModeler Geometry…Refer to figure 2 for the locations of each step on the Project Schematic Window.         [pic 4]Figure 2: Workbench project window2. GeometryIn this section you will create the geometry of the nozzle by importing a set of coordinates from a file. Since the geometry has rotational symmetry, we can create a geometry only for the top half of the pie in 2D and then apply an axisymmetric condition in the solver. For this tutorial the coordinate file, NozzleWallCoords.txt, has been provided. For reference, there are detailed instructions on how these coordinate files need to be formatted for proper importing into DesignModeler in Appendix 1.Ensure that you have downloaded the file NozzleWallCoords.txt and saved it in the same location you saved the entire project.Go to the Units menu at the top of the window and select MeterGo to the Concept menu and select 3D CurveOn the Details View change Definition to From Coordinates FileFor Coordinates File browse to where you saved the NozzleWallCoords.txt file and click Open.Click Generate. Click Zoom to fit.  [pic 5]You should now have four line bodies imported into DesignModeler as shown in figure 3.Create a new surface by selecting the Concept menu and then Surfaces From Edges.Select all four edges and then in the Details View for Edges click Apply. There are two ways to select the edges:Hold down the “Ctrl” key and mouse click on each edge individually.Change the Select Mode to Box Select and dragging the left mouse over all four edges.Click GenerateIn order to only carry the surface (not the lines) over to the Mesher, right click each Line Body (under 5 parts, 5 bodies) and select Suppress Body.Your geometry should now be as shown in figure 4. If so, save your work, close down DesignModeler and return to workbench for the next stage of the process: Meshing.[pic 6]Figure 3: DesignModeler with the geometry imported[pic 7]Figure 4: DesignModeler with the surface generated and the line edges suppressed3. MeshBack in the Project Schematic Window in Workbench the Geometry component (row 2) should now have a green tick next to it.

Get Your Essay

Cite this page

Compressible Flow And Select Mode. (April 18, 2021). Retrieved from https://www.freeessays.education/compressible-flow-and-select-mode-essay/