All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
TRANSIENT STATE SIMULATION OF FLOW VIA SHOCK TUBE USING CONVERGE CFD …
Ramkumar Venkatachalam
updated on 07 Jun 2022
TRANSIENT STATE SIMULATION OF FLOW VIA SHOCK TUBE USING CONVERGE CFD
(WEEK-7 CHALLENGE)
Our aim is to setup a transient shock tube simulation in converge, simulate it using Cygwin terminal and post process in Paraview and check the results.
Structure of CONVERGE CFD simulations
The basic steps for a simulation are as follows,
Shock Tube
Shock tube is an instrument to produce plane propagating shockwaves by rupturing a diaphragm which separates high and low pressure regions inside a tube. It is used to replicate and direct blast waves at a sensor or a model in order to simulate actual explosions and their effects, usually on a smaller scale. Shock tubes (and related impulse facilities such as shock tunnels, expansion tubes, and expansion tunnels) can also be used to study aerodynamic flow under a wide range of temperatures and pressures that are difficult to obtain in other types of testing facilities. Shock tubes are also used to investigate compressible flow phenomena and gas phase combustion reactions.
A shock wave inside a shock tube may be generated by a small explosion (blast-driven) or by the buildup of high pressures which cause diaphragm(s) to burst and a shock wave to propagate down the shock tube (compressed-gas driven).
A simple shock tube is a tube, rectangular or circular in cross-section, usually constructed of metal, in which a gas at low pressure and a gas at high pressure are separated using some form of diaphragm. The diaphragm suddenly bursts open under predetermined conditions to produce a wave propagating through the low pressure section. The shock that eventually forms increases the temperature and pressure of the test gas and induces a flow in the direction of the shock wave. Observations can be made in the flow behind the incident front or take advantage of the longer testing times and vastly enhanced pressures and temperatures behind the reflected wave.
The low-pressure gas, referred to as the driven gas, is subjected to the shock wave. The high pressure gas is known as the driver gas. The corresponding sections of the tube are likewise called the driver and driven sections. The driver gas is usually chosen to have a low molecular weight, (e.g., helium or hydrogen) for safety reasons, with high speed of sound, but may be slightly diluted to 'tailor' interface conditions across the shock. To obtain the strongest shocks the pressure of the driven gas is well below atmospheric pressure (a partial vacuum is induced in the driven section before detonation).
The test begins with the bursting of the diaphragm. There are several methods are commonly used to burst the diaphragm.
The bursting diaphragm produces a series of pressure waves, each increasing the speed of sound behind them, so that they compress into a shock propagating through the driven gas. This shock wave increases the temperature and pressure of the driven gas and induces a flow in the direction of the shock wave but at lower velocity than the lead wave. Simultaneously, a rarefaction wave, often referred to as the Prandtl-Meyer wave, travels back in to the driver gas.
The interface, across which a limited degree of mixing occurs, separates driven and driver gases is referred to as the contact surface and follows, at a lower velocity, the lead wave.
A 'Chemical Shock Tube' involves separating driver and driven gases by a pair of diaphragms designed to fail after pre-determined delays with an end 'dump tank' of greatly increased cross-section. This allows an extreme rapid reduction (quench) in temperature of the heated gases.
Problem – Shock Tube
The challenge includes transient state simulation of flow through a shock tube with Adaptive Mesh Refinement (AMR), and to check the results.
Mesh Size - dx = dy = dz = 0.002 m AMR – Species N2 based with embedding level 3
The 3D geometry file of shock tube is imported in Converge Studio as per the figure given below.
Fig: 3D Geometry – Shock Tube
Fig: Mesh at time t = 0 s Fig: Mesh at time t = 0.003 s with AMR
Fig: Boundaries of the domain grouped as regions
2. In Simulation Parameters tab, Run parameters such as Solver type, Simulation Mode and Gas flow Solver are set. In Misc. Tab uncheck the shared memory and steady state monitor.
4. Solver parameters such as the Navier stokes solver type, equations preconditions type, solver controls are set.
5. Boundary Conditions and Initial Conditions
Zone |
Boundary Type |
Initial Conditions |
Additional conditions (if any) |
High Pressure |
Slip Wall |
Pressure – 600000 Pa |
Transient Simulation Density Based |
Low Pressure |
Slip Wall |
Pressure – 101325 Pa |
Also the events are created in such a way that a diaphragm is intact between both high pressure and low pressure regions till 0.001 seconds and then the diaphragm breaks and the species are open to flow till the end.
8. Base Grid – Mesh sizes are entered as per the problem and AMR is done based on species.
9. Post Variable Selection - Select all the necessary variables and the location that needs to be checked while post processing.
10. Output Files – Output files writing time intervals, restart files are set as per the requirement.
11. After the setup is done click on “Validate all” option to check for any issues with the case setup. If everything is correct then green tick will appear for all tabs as shown in the figure below. Once the Setup is done, export the input files.
12. With input and executable files, navigate to the specific directory in Cygwin and run the simulation using "exe -n 4 converge.exe restricted </dev/null> logfile &"
13. After the run is completed Post convert the output files using “exe -n 4 post_convert.exe” into binary inline vtk format.
14. Using the vtm group files, post processing is done in ParaView in order to study the results.
Fig: Total Cell Count
Fig: Pressure Plot
Fig: Pressure Contour at t = 0.003 s
Fig: Temperature Plot
Fig: Temperature Contour at t = 0.003 s
Fig: Velocity Contour at t = 0.003 s
Fig: Mass Fraction – N2 contour at t = 0.003 s
Fig: Mass Fraction – O2 contour at t = 0.003 s
Animation Link
Mesh – https://youtu.be/wPAxlcn6fP4
Velocity – https://youtu.be/jGBZhyMhSuc
Pressure – https://youtu.be/QqRQVjhS0YA
Temperature – https://youtu.be/CCvaQImNvn8
Mass Fraction of N2 – https://youtu.be/6MviknsQcxg
6. CONCLUSION
7. REFERENCES
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...
Related Courses
127 Hours of Content
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.