Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0


Panel

Problem Specification
1. Pre-Analysis & Start-up
2. Geometry
3. Mesh
4. Setup (Physics)
5. Solution
6. Results
7. Verification & Validation



...

Start > All Programs > ANSYS 12.0 > Fluid Dynamics > FLUENT

Select 2D under the Dimension list and Double Precision under the Options list, and click Run.

In the double-precision solver, each floating point number is represented using 64 bits in contrast to the single-precision solver which uses 32 bits. The extra bits increase not only the precision but also the range of magnitudes that can be represented. The downside of using double precision is that it requires more memory.

...

Navigate to your working directory and select the wedge.msh file. Click OK.

Check that the displayed information is consistent with our expectations.

...

You can look at specific parts of the grid by choosing the items you wish to view under Surfaces (click to select and click again to deselect a specific boundary). Click Display again when you have selected your boundaries. Note what the surfaces farfield, wedge, etc. correspond to by selecting and plotting them in turn.

...

Since we expect an oblique shock for our problem and the density-based solver is likely to resolve the shock better, let's pick this solver.

In the Solver menu, select Density-Based.

Problem Setup > Models

Double click on Viscous - Laminar

Select Inviscid under Model.


Click OK. This means the solver will neglect the viscous terms in the governing equations.

Models > Energy

Double click on Energy - Off

In compressible flow, the energy equation is coupled to the continuity and momentum equations. So we need to solve the energy equation for our problem.

To turn on the energy equation, check the box next to Energy Equation and click OK.

Problem Setup > Materials

Make sure air is selected under Fluid. Double click air, set Density to ideal-gas and make sure Cp is constant and equal to 1006.43 j/kg-k. Also make sure the Molecular Weight is constant and equal to 28.966 kg/kgmol. Selecting the ideal gas option means that FLUENT will use the ideal-gas equation of state to relate density to the static pressure and temperature. 


Click Change/Create.
Define > Operating Conditions
To understand what the Operating Pressure is, read through the short-and-sweet section 8.14.2 in the user's guide. We see that for all flows, FLUENT uses the gauge pressure internally in order to minimize round-off errors. Any time an absolute pressure is needed, as in the ideal gas law, it is generated by adding the operating pressureto the gauge pressure:

absolute pressure = gauge pressure + operating pressure

Round-off errors occur when pressure changes Δp in the flow are much smaller than the pressure values Δp. One then gets small differences of large numbers. For our supersonic flow, we'll get significant variation in the absolute pressure so that pressure changes Δp are comparable to pressure levels p. So we can work in terms of absolute pressure without being hassled by pesky round-off errors. To have FLUENT work in terms of the absolute pressure, set the Operating Pressure to 0.


Thus, in our case, there is no difference between the gauge and absolute pressures. Click OK.

Define > Boundary Conditions

Set the boundary condition for the pressure_farfield surface (aka zone) to the boundary type pressure-far-field by clicking on the drop-down list. Select Yesin the pop-up window asking if it's "OK to change pressure_farfield's type from wall to pressure-far-field?".


Set the Gauge Pressure to 101325. Set the Mach Number to 3. Under X-Component of Flow Direction, enter a value of 1 (i.e. the farfield flow is in the X direction).
Next, click on the Thermal Tab. Change the temperature to 300K.



Click OK. The pressure-far-field boundary type effectively imposes that there is no upstream propagation of disturbances if the flow at the boundary is supersonic. See section 7.9 of the FLUENT help for more details about this boundary type.

Similarly, change the boundary condition for the symmetry surface to the symmetry boundary type. No user input is required for the  symmetry boundary type. At any boundary set to the symmetry type, FLUENT internally sets

...

The boundary type for the wedge surface is set to wall by default. There is no need to change that.

...