All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
Aim: Prandtl Meyer Shock problem Objective: 1. Shock flow boundary conditions Do a literature search on what BC's are typically used for shock flow problems 2. What is a shock wave? In your own words, describe the physics behind shock waves 3. Effect of SGS parameter on shock location In the Prandtl Meyer shock…
Faizan Akhtar
updated on 16 Jul 2021
Aim: Prandtl Meyer Shock problem
Objective:
1. Shock flow boundary conditions
Do a literature search on what BC's are typically used for shock flow problems
2. What is a shock wave?
In your own words, describe the physics behind shock waves
3. Effect of SGS parameter on shock location
In the Prandtl Meyer shock problem, look at the effect of SGS temperature value on cell count and the shock location
It is expected to show the mesh generation using ParaView.
Also, create animation and upload it on Youtube and provide the Youtube link for animation in your report.
Introduction and Theory
A centered, Prandtl Meyer expansion wave is illustrated below. The type of flow highlighted in the below figure is inviscid, supersonic flow moving over the surface. A supersonic flow (M>1) is expanded around the expansion corner which creates an infinite number of weak. The leading edge makes an angle μ1 with respect to the upstream flow direction. The trailing edge makes an angle μ2 with respect to the downstream flow direction. μ1 and μ2 are Mach angles which are defined by
Equation 1
μ1=sin-1(1M1)
Equation 2
μ2=sin-1(1M2)
M1 and M2 are upstream and the downstream Mach number.
As observed from the figure the Mach number increases after the expansion corner whereas temperature, pressure, density decreases after the expansion corner.
The flow around the expansion corner is assumed to be isentropic in nature. The flow in front of the expansion corner is uniform and parallel to the wall with Mach number M1 and the flow behind the expansion corner is uniform and parallel to the wall with Mach number M2. The only exception to the flow is at the corner where the flow is discontinuous in nature. For the calorically perfect gas, there is an exact, analytical solution behind the expansion corner which is given by
Equation 3
f2=f1+θ
where f is the Prandtl Meyer function and θ is the flow deflection angle. For a calorically perfect gas, the Prandtl Meyer function depends on M and γ which is given by
Equation 4
f=√γ+1γ-1tan-1√γ-1γ+1(M2-1)-tan-1√(M2-1)
The inlet Mach number (M1) is known, now from Equation 4 f1 can be calculated. The value of θ is already known, therefore f2 can be calculated by Equation 3. Now using f2, M2 can be calculated by Equation 4. Thus by using the values of M1, and M2 the pressure, temperature, density can be calculated behind the expansion corner.
Equation 5
p2=p1{1+[γ-12]M211+[γ-12]M22}γγ-1
Equation 6
T2=T1{1+[γ-12]M211+[γ-12]M22}
Equation 7
ρ2=p2RT2
Therefore the exact or analytical solution behind the expansion corner is determined by using these equations.
Shock wave
Shock waves are very thin regions in the gas flow field typically on the order of a few molecular mean free paths where flow properties are discontinuous across its thickness. A shock is a traveling wave, i.e. it moves relative to the fluid faster than the local speed of the sound.
Normal shock wave
One special type of shock is the normal shock where the shock wavefront is perpendicular to the free stream flow and is observed in some internal and external supersonic flow applications.
Oblique shock
An oblique shock wave is a shock wave that unlike a normal shock is inclined with respect to the incident upstream flow direction. It will occur when a supersonic flow encounters a corner that effectively turns the flow into itself and compresses.
Let us now Mathematically describe the flow through an oblique shock wave. Consider an oblique shock wave oriented at an angle β to the incoming supersonic flow which is at a Mach number of M1, the equivalent velocity V1. This velocity can be represented as a superposition of two components, a velocity component that is normal to the shock u1 and the velocity component parallel to the shock Vt1. The relationship between V1 and the velocity component is shown below
V1=√u21+Vt21
The two velocity components are related to the oblique shock wave angle β which is given by
β=tan-1(u1Vt1)
Applying continuity equation
ρ1u1=ρ2u2
The tangential component of the momentum equation with a steady flow and nobody force assumption
(-ρ1u1)Vt1+(ρ2u2)Vt2=0
which gives,
Vt1=Vt2
Therefore the shock oblique parallel component is the same upstream and downstream of an oblique shock.
The normal momentum equation is given by
p1+ρ1u21=p2+ρ2u22
The energy equation is given as
h1+u212=h2+u222
It can be concluded that the governing equation of a flow-through an oblique shock wave is dependent on the shock normal velocity u1 and u2
For an oblique shock, the variation of the flow properties is given by the following relationship
T2T1=a22a21=1+2(γ-1)(γM21sin2β+1)(γ+1)2(M21sin2β)(M21sin2β-1)
p2-p1p1=2γ(M21sin2β-1)γ+1
ρ2ρ1=(γ+1)M21sin2β(γ-1)M21sin2β+2
If β=π2 the exact normal shock wave relation will be recovered. This indicates that the normal shock waves are just the unique case of oblique shock waves.
The Mach number downstream M12 is given by the following equations
M22sin2(β-θ)=1+γ-12M21sin2βγM21sin2β-γ-12
From the velocity triangle upstream and downstream of the shock
tanβ=u1Vt
tan(β-θ)=u2Vt
Therefore combining this equation with the continuity equation and the density ratio the following relationships can be obtained
θ-β-Mach Number Relationship as
tanθ=2cotβM21sin2β-1M21(γ+cos2β)+2
Literature review on the Boundary Conditions
Boundary conditions: Boundary conditions are the necessary constraints that are useful for solving ordinary and partial differential equations. The wrong selection of boundary conditions may lead to divergence or convergence to a wrong solution. The types of BC are listed below
Dirichlet BC: The Dirichlet BC specifies the value that the unknown functions need to take along the boundary of the domain.
Example: If u(x,t) represents the displacements of the vibrating string and its ends are fixed at x=0 and x=h such that u(0,t)=0 and u(h,t)=0, the condition is known as Dirichlet BC.
Neumann BC: The Neumann BC specifies the value of the derivative that the unknown function is going to take along the direction normal to the boundary which is written as δuδn which is defined as,
δuδn=(δuδx1,δuδx2,...).n
Example: If u(x,t) represents the temperature distribution in a rod of length L. Assuming that the rods are perfectly insulated at x=0, x=L, the heat flux at these points are zero, so it follows that the appropriate BC as per Fourier Law of Heat Conduction is
δu(0,t)δx=0 and δu(L,t)δx=0 is the Neumann BC.
Robin BC: The Robin BC is a weighted combination of Dirichlet BC and the Neumann BC which is expressed below
(αu+βδuδn)δD=f(x)δD
where α and β represent weights.
Example: If u(x,t) represents the temperature distribution in a rod of length L. The rods are poorly insulated at their end therefore the BC is given by
u(0,t)+δu(0,t)δx=0
u(L,t)+δu(L,t)δx=u0
Mixed BC: Mixed BC refers to the condition where Dirichlet is prescribed in some parts of the boundary and Neumann is prescribed in some parts of the boundary.
Example: If u(x,t) represents the temperature distribution in a rod of length L. The one end of the rod is immersed in a water bath with constant temperature and the other end of the rod is connected to the heater with a constant heat transfer rate then Mixed BC takes the form of
u(0,t)=A
δu(L,t)δx=B
Outlet BC is Neumann
Explanation
In the present challenge the specified value of temperature, pressure, and velocity is unknown only the value of the normal gradient is known which is zero. Therefore, at the outlet Neumann BC is specified.
Case-setup
The 2d_supersonic_flow. STL file is loaded into the Converge-CFD set-up.
The diagnosis dock is selected from the "View" option and the "Find" option is selected. It is found that there are no ("Intersections(0)","Nonmanifold Problems(0)","Open Edges(0)", "Overlapping Tris(0)","Normal Orientation(0)","Isolated tris (0)".
The "Normal Toggle" is selected from the ribbon, upon selecting the normal toggle it was observed that the normal is pointing outside the volume, technically the normal should point inside the volume where the fluid is flowing. Therefore in the geometry dock, the "Transform" option is clicked. The "Normal" tab is selected from the geometry dock and one of the triangles containing the normal pointing outward is selected. The "Apply" option is selected for removing the normals.
The normal direction of 2D boundaries must be aligned in Z-direction otherwise during post-processing, it will give an error "the Normal direction of TWO_D boundaries must be aligned in Z-direction".
The "Case Setup Dock" is selected from the "View" and "Begin Case Setup" is executed.
The "Time" based "Application" type is selected. The "Material" is selected and the predefined mixture is selected as air. The "Reactant mechanism" is checked off because it is not a combustion problem. The species is selected and the "Apply" is clicked. Under "Gas simulation" the Equation of state is selected as "Redlich Kwong", the critical temperature is 133K and the critical pressure is 3770000Pa. The Turbulent Prandtl number is 0.9 and the Turbulent Schmidt number is 0.78 under Global Transport parameters. The O2 and the N2 are selected as species. Under "Run parameters" the "Steady-state solver" is selected. The "Temporal type" is locked for the steady-state. The "simulation mode" is selected as "Full Hydrodynamic" because the geometry is simple so while creating the mesh inside the geometry it solves the NS equation as well, but if the geometry is complex "No hydrodynamic solver" is selected as such if there is an error it will point out immediately while creating the mesh, otherwise if the hydrodynamic solver is selected then it will be very tedious to identify the error in the simulation case set up.
Under "Simulation time parameters" end time is chosen as 25000 cycles (steady-state). The initial and minimum time step is 1e-09 s. The maximum time step is 1s, and the maximum convection CFL limit is 1 and the rest are default values.
The "Pressure" "Equation" is selected under the "Solver parameter" and the "Preconditioner" is selected to "None". The "Maximum convection CFL limit (final stage)" is set to 0.5. The "Density-based solver" is selected it is suitable for even low Mach numbers to avoid extrapolating temperature calculations and the PISO coupling scheme is selected.
Base-grid
Adaptive Mesh Refinement
Adaptive mesh refinement is a technique that is used to refine the grids automatically based on fluctuating and moving conditions such as temperature or velocity. The feature is used to refine the grid in the flow region of interest such as flame propagation or high velocity without slowing down the simulation with a globally refined grid. There are two types of AMR, mainly sub-grid scale-based and value-based. The AMR type and criteria are chosen in such a way that the embedding is added where the flow field is most unresolved in this case being expansion corner.
The curvature in temperature is monitored, the curvature means δ2Tδx2, in AMR dialogue box subgrid criterion is set to 0.05, 0.04, 0.03. Whenever δ2Tδx2 is > than 0.05, 0.04, 0.03 K, the AMR is going to refine the mesh near the shock region.
Boundary selection
The boundary conditions for the different named selections are tabulated below
Results
Case-1
Inlet velocity 678m/sec
Mach number = 1.994
Type of flow: Supersonic
Grid size: 0.8m
Subgrid scale: 0.05K
Mesh
Contour plots
Velocity
Temperature
Pressure
Density
Animation file
Velocity
Temperature
Pressure
Density
Line plots
Velocity
Temperature
Mach number
Pressure
Density
Total cell count
Subgrid scale: 0.04K
Contour plots
Velocity
Temperature
Pressure
Density
Animation file
Velocity
Temperature
Pressure
Density
Line plots
Velocity
Temperature
Mach number
Pressure
Density
Total cell count
Subgrid scale: 0.03K
Contour plots
Velocity
Temperature
Pressure
Density
Animation file
Velocity
Temperature
Pressure
Density
Line plots
Velocity
Temperature
Mach number
Pressure
Density
Total cell count
Case-2
Inlet velocity 100m/sec
Mach number = 0.294
Type of flow: Subsonic
Grid size: 0.8m
Subgrid scale: 0.05K
Contour plots
Velocity
Temperature
Pressure
Density
Animation file
Velocity
Temperature
Pressure
Density
Line plots
Velocity
Temperature
Mach number
Pressure
Density
Total cells
Subgrid scale: 0.04K
Contour plots
Velocity
Temperature
Pressure
Density
Animation file
Velocity
Temperature
Pressure
Density
Line plots
Velocity
Temperature
Mach number
Pressure
Density
Total cell count
Subgrid scale: 0.03K
Contour plots
Velocity
Temperature
Pressure
Density
Animation file
Velocity
Temperature
Pressure
Density
Line plots
Velocity
Temperature
Mach number
Pressure
Density
Total cell count
Summary of all cases
Conclusion
References
Computational Fluid Dynamics-THE BASICS WITH APPLICATIONS BY JOHN D. ANDERSON, JR
Oblique Shock Wave: [https://www.youtube.com/watch?v=QCMwo4pAVGM&t=13s]
Adaptive Mesh Refinement: Converge_3.0_Manual.PDF
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Week-4 : Basic Calibration of Single cylinder CI-Engine
Aim: Basic Calibration of Single cylinder CI-Engine Objective : Explore Tutorial No 1- CI final 1.Compare SI vs CI and list down differences (assignment no 2-SI) 2. Comments on the following parameters BSFC Exhaust Temperature A/F ratios 3.Change MFB 50 and observe impact on performance Introduction Difference…
11 Nov 2021 05:26 AM IST
Week 2 : Basic Calibration of Single cylinder SI-Engine
Aim: Basic Calibration of Single-cylinder SI-Engine Objective: 1. Run the case at 1800 rpm and list down important parameters (20 Marks) air flow rate BMEP BSFC In-cylinder pressure 2. Increase the power output at 3600 rpm by 10% (30 Marks) Introduction A spark-ignition engine (SI engine) is…
22 Oct 2021 07:11 AM IST
Week 1 : Exploring the GUI of GT-POWER
Aim: Exploring the GUI of GT-suite GT-suite can be used in a wide range of applications. There are several industries that are using GT-suite for various applications On-highway and off-highway vehicle Marine and rail Industrial machinery Aerospace Power generation Multiphysics platform GT-Suite has a versatile multiphysics…
12 Oct 2021 02:52 PM IST
Week 8: Literature review - RANS derivation and analysis
Aim: Literature review - RANS derivation and analysis Objective: Apply Reynolds decomposition to the NS equations and come up with the expression for Reynolds stress. Explain your understanding of the terms Reynolds stress What is turbulent viscosity? How is it different from molecular viscosity? Introduction…
01 Sep 2021 07:52 AM IST
Related Courses
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.