PDF

Expansion Fan
Introduction
Some of the main characteristics of supersonic flows are shock waves and expansion fans. Oblique shock waves take place when a supersonic flow is turned into itself (the area is reduced; see Figure 1), decreasing its Mach number. In Figure 1, the streamlines are deflected upward so that the flow behind the shock is uniform and parallel to the surface. The shock is very thin, which leads to very large gradients of velocity and temperature inside the shock. Hence, a shock wave is a dissipative and irreversible process that generates entropy and decreases the total pressure and total density. However, total temperature is conserved and the static temperature, pressure, and density increase. Note that “total values” refer to the values that the properties of the flow would achieve when brought to stagnation, and “static values” refer to the actual values of the properties evaluated at a certain speed. A special case of oblique shocks is a normal shock, which is perpendicular to the flow direction.
An expansion fan is formed when supersonic flow is turned away from itself (the area is increased; see Figure 1). The direction of the flow changes smoothly and continuously across an expansion wave until it is uniform and parallel to the adjacent surface. Hence entropy is conserved and total conditions do not vary across the wave. The Mach number increases and the static temperature, pressure, and density decrease across the expansion wave.
Figure 1: Oblique shock wave (up) and Prandtl-Meyer expansion fan (down).
This application models an expansion fan at a 15° expansion corner. The inlet flow is supersonic with Mach number 2.5. The flow is assumed to be inviscid and the results are compared with inviscid compressible flow theory. For details about this theory and its implementation in the CFD Module, see the documentation for the model 3D Supersonic Flow in a Channel with a Bump.
Model Definition
The problem is governed by the inviscid compressible flow equations which are modeled by The High Mach Number Flow, Laminar interface in the CFD module in COMSOL Multiphysics. The geometry of the model is depicted in Figure 2.
Figure 2: Model geometry.
Because the flow is assumed to be inviscid, a slip boundary condition is applied at the walls. The inlet flow is supersonic and defined by the free-stream total conditions
The flow is assumed to be supersonic at the outlet.
The fluid is air with a specific gas constant of 287 J/(kg·K) and a ratio of specific heats of 1.4. The dynamic viscosity and the thermal conductivity are set to zero.
Analytical Solution
The forward Mach line (Figure 1) is defined by the inlet Mach angle (see Ref. 1)
(1)
The Mach number after the expansion fan can be obtained from the relation
where ν(M) is the Prandtl-Meyer function
Once M2 is known, the rearward Mach angle is obtained as
The expansion fan is an isentropic process, which produces a continuous and smooth change in the flow. Hence, the total properties are conserved.
Results and Discussion
The distributions of pressure, temperature, and Mach number are depicted in Figure 3 through Figure 5. The flow past the corner is expanded in a succession of infinitesimal waves (Mach waves), decreasing the static pressure and temperature while increasing the Mach number. The streamlines smoothly change their direction across the expansion fan until they are parallel to the surface below.
The Mach number and total properties after the fan are listed in Table 1. The Mach number obtained agrees well with inviscid flow theory, and the total properties of the flow are conserved.
Figure 3: Pressure contours and streamlines.
Figure 4: Mach number.
Figure 5: Temperature contours.
Notes About the COMSOL Implementation
In this model, convergence can be improved using simple tricks. First of all, we have rounded the corner to avoid discontinuities and sharp gradients. Moreover, the adaptive mesh refinement feature is used to refine the mesh at the expansion fan where the gradients are large; see Figure 6.
Figure 6: Adapted mesh. The mesh resolves the expansion fan more finely than the rest of the modeling domain.
Reference
1. J. D. Anderson, Jr., Modern Compressible Flow, McGraw-Hill, 2nd Edition, Singapore 1990.
Application Library path: CFD_Module/High_Mach_Number_Flow/expansion_fan
Modeling Instructions
From the File menu, choose New.
New
In the New window, click  Model Wizard.
Model Wizard
1
In the Model Wizard window, click  2D.
2
In the Select Physics tree, select Fluid Flow>High Mach Number Flow>High Mach Number Flow, Laminar (hmnf).
3
Click Add.
4
Click  Study.
5
In the Select Study tree, select General Studies>Stationary.
6
Global Definitions
Parameters 1
1
In the Model Builder window, under Global Definitions click Parameters 1.
2
In the Settings window for Parameters, locate the Parameters section.
3
Geometry 1
Polygon 1 (pol1)
1
In the Geometry toolbar, click  Polygon.
2
In the Settings window for Polygon, locate the Coordinates section.
3
From the Data source list, choose Vectors.
4
In the x text field, type 0, L_in, L_in, L_in+L_wave, L_in+L_wave, L_in+L_wave, L_in+L_wave, 0, 0, 0.
5
In the y text field, type 0, 0, 0, -L_wave*tan(theta), -L_wave*tan(theta), ht, ht, ht, ht, 0.
Fillet 1 (fil1)
1
In the Geometry toolbar, click  Fillet.
2
On the object pol1, select Point 3 only (expansion corner).
It might be easier to select the correct point by using the Selection List window. To open this window, in the Home toolbar click Windows and choose Selection List. (If you are running the cross-platform desktop, you find Windows in the main menu).
3
In the Settings window for Fillet, locate the Radius section.
4
In the Radius text field, type R_fillet.
5
Click  Build All Objects.
6
Click the  Zoom Extents button in the Graphics toolbar (see Figure 2)
Definitions
Variables 1
1
In the Model Builder window, under Component 1 (comp1) right-click Definitions and choose Variables.
2
In the Settings window for Variables, locate the Variables section.
3
The defined variables are used to compute the analytical Mach number and the static conditions at the inlet. M2 will be defined later.
High Mach Number Flow, Laminar (hmnf)
Fluid 1
1
In the Model Builder window, under Component 1 (comp1)>High Mach Number Flow, Laminar (hmnf) click Fluid 1.
2
In the Settings window for Fluid, locate the Heat Conduction section.
3
From the k list, choose User defined. In the associated text field, type 1e-8.
4
Locate the Thermodynamics section. From the Rs list, choose User defined. In the associated text field, type Rs.
5
From the Specify Cp or γ list, choose Ratio of specific heats.
6
From the γ list, choose User defined. In the associated text field, type gamma.
7
Locate the Dynamic Viscosity section. From the μ list, choose User defined. In the associated text field, type 1e-8.
The dynamic viscosity and thermal conductivity are set to small values to mimic an inviscid and nonconducting fluid.
Wall 1
1
In the Model Builder window, click Wall 1.
2
In the Settings window for Wall, locate the Boundary Condition section.
3
From the Wall condition list, choose Slip.
Slip walls are used for the inviscid case.
Initial Values 1
1
In the Model Builder window, click Initial Values 1.
2
In the Settings window for Initial Values, locate the Initial Values section.
3
Specify the u vector as
4
In the p text field, type pin_stat.
5
In the T text field, type Tin_stat.
Inlet 1
1
In the Physics toolbar, click  Boundaries and choose Inlet.
2
3
In the Settings window for Inlet, locate the Flow Condition section.
4
From the Flow condition list, choose Supersonic.
5
Locate the Flow Properties section. From the Input state list, choose Total.
6
In the p0,tot text field, type pin_tot.
7
In the T0,tot text field, type Tin_tot.
8
In the Ma0 text field, type M1.
Outlet 1
1
In the Physics toolbar, click  Boundaries and choose Outlet.
2
3
In the Settings window for Outlet, locate the Flow Condition section.
4
From the Flow condition list, choose Supersonic.
Add a global equation to find the analytical Mach number after the expansion fan.
5
Click the  Show More Options button in the Model Builder toolbar.
6
In the Show More Options dialog box, in the tree, select the check box for the node Physics>Equation-Based Contributions.
7
Global Equations 1
1
In the Physics toolbar, click  Global and choose Global Equations.
2
In the Settings window for Global Equations, locate the Global Equations section.
3
Mesh 1
In the Model Builder window, under Component 1 (comp1) right-click Mesh 1 and choose Build All.
Study 1
Step 1: Stationary
1
In the Model Builder window, under Study 1 click Step 1: Stationary.
2
In the Settings window for Stationary, click to expand the Adaptation and Error Estimates section.
3
From the Adaptation and error estimates list, choose Adaptation and error estimates.
Solution 1 (sol1)
1
In the Study toolbar, click  Show Default Solver.
2
In the Model Builder window, expand the Solution 1 (sol1) node, then click Stationary Solver 1.
3
In the Settings window for Stationary Solver, locate the General section.
4
In the Relative tolerance text field, type 1e-5.
5
Click  Compute.
Results
Velocity (hmnf)
In the Study toolbar, click  Compute.
Streamline 1
1
In the Model Builder window, right-click Mach Number (hmnf) and choose Streamline.
2
3
In the Settings window for Streamline, locate the Streamline Positioning section.
4
In the Number text field, type 10.
5
Locate the Coloring and Style section. Find the Point style subsection. From the Type list, choose Arrow.
6
From the Arrow distribution list, choose Equal time.
7
Select the Scale factor check box.
8
9
From the Color list, choose Gray.
10
In the Mach Number (hmnf) toolbar, click  Plot.
11
Click the  Zoom Extents button in the Graphics toolbar (see Figure 4)
The last step is to compute the Mach number and total values after the expansion fan.
Cut Point 2D 1
1
In the Results toolbar, click  Cut Point 2D.
2
In the Settings window for Cut Point 2D, locate the Data section.
3
From the Dataset list, choose Study 1/Adaptive Mesh Refinement Solutions 1 (sol2).
4
Locate the Point Data section. In the x text field, type L_in+L_wave.
5
In the y text field, type -L_wave*tan(theta)/2.
Mach number
1
In the Results toolbar, click  Point Evaluation.
2
In the Settings window for Point Evaluation, type Mach number in the Label text field.
3
Locate the Data section. From the Dataset list, choose Cut Point 2D 1.
4
From the Parameter selection (Refinement level) list, choose Last.
5
Locate the Expressions section. In the table, enter the following settings:
6
Click  Evaluate.
Evaluation points 2-5
Proceed to create evaluation points used to compute the total values of temperature, pressure, and density behind the expansion fan, and the analytical Mach number: