Thermal shock wave question from my hydrodynamics simulation

Click For Summary

Discussion Overview

The discussion revolves around a fluid dynamics simulation involving thermal shock waves in an ideal gas setup. Participants explore the generation of shock waves due to temperature differences between two connected areas, one at 100 degrees Celsius and the other at 0 degrees Celsius. The conversation touches on aspects of heat transfer, convection, and the behavior of gases in the simulation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant describes the setup of the simulation and questions the early generation of a shock wave.
  • Several participants debate the terminology used, with some suggesting "fluid dynamics" is more appropriate than "hydrodynamic" for a gas-filled simulation.
  • There is discussion about whether the opening allows gas to pass through or only facilitates heat transfer, with some noting that both convection and conduction are involved.
  • Concerns are raised about the lack of noticeable bulk convection in the simulation, with observations that temperature variations appear circular and radially outward.
  • Participants discuss the impact of hole size on convection and diffusion behaviors, suggesting that different gas types could affect heat flow and mixing.
  • Questions are posed about the initial pressures in the simulation and whether they are identical, with suggestions to check the speed of the wave against sound speed.
  • One participant notes that the simulation should be checked for velocity fields and considers running a simpler 1D problem for comparison.
  • Another participant mentions that if initial pressures are not balanced, it could affect the behavior of isotherms across the port.
  • There is a suggestion to compare results with and without convection to understand the effects better.

Areas of Agreement / Disagreement

Participants express differing views on the terminology of the simulation and the nature of heat transfer. There is no consensus on the reasons behind the early generation of the shock wave, and multiple hypotheses are presented regarding the behavior of gases and thermal energy diffusion.

Contextual Notes

Participants highlight the importance of initial conditions, such as pressure and gas types, and the setup of the simulation, which may influence the results. The discussion includes references to theoretical predictions and the complexity of modeling real gas behavior.

kjssag
Messages
8
Reaction score
7
TL;DR
I wonder why the shock wave is generated.
anigif.gif


This is a fluid dynamic simulation.
The top area has 100 degrees Celsius.
The bottom area has 0 degrees Celsius.
And both are filled with an ideal gas which is 1-atmosphere pressure.

Two areas are connected through the left small line. Another part is blocked.
So heat transfer can only happen through the left small area.

Now I understand both areas will go to about 50 degrees Celsius eventually.
But I don't know why the shock wave is generated early.

Can you explain why the shock wave is generated?
 
Last edited:
  • Like
Likes   Reactions: Delta2
Science news on Phys.org
Why do you call it a hydrodynamic simulation? You say that the two areas are filled with gas (not with water) and interact through a small opening at the left side where the shock wave starts.
Wouldn't it be more proper to call it a fluid dynamics simulation?
 
  • Like
Likes   Reactions: kjssag
Delta2 said:
Why do you call it a hydrodynamic simulation? You say that the two areas are filled with gas (not with water) and interact through a small opening at the left side where the shock wave starts.
Wouldn't it be more proper to call it a fluid dynamics simulation?
Thanks. That is my mistake. The fluid dynamic is right.
 
  • Like
Likes   Reactions: Delta2
Something else , the opening on the left, does it allow gas to pass through or it allows only heat to flow?
 
Delta2 said:
Something else , the opening on the left, does it allow gas to pass through or it allows only heat to flow?
gas can move. so there is convection and conduction. I don't consider radiation.
 
  • Like
Likes   Reactions: Delta2
kjssag said:
gas can move. so there is convection and conduction. I don't consider radiation.
Doesn't seem to be much convection since the sphere(s) of temperature variation seem quite circular and moving radially outwards.
Also, movement of the gases can depend upon the relative density and viscosity of each.
Also, the size of 'hole' can determine the action of the movement, whether it would be more on the 'diffusion' side of behavior rather than bulk convection.
A lot depends upon how you set up the simulation.

To me it just seems to be the temperature of the gases is changing radially from the hole as if the gases were modeled as solid objects.
 
  • Informative
  • Like
Likes   Reactions: kjssag and Delta2
256bits said:
Doesn't seem to be much convection since the sphere(s) of temperature variation seem quite circular and moving radially outwards.
Also, movement of the gases can depend upon the relative density and viscosity of each.
Also, the size of 'hole' can determine the action of the movement, whether it would be more on the 'diffusion' side of behavior rather than bulk convection.
A lot depends upon how you set up the simulation.

To me it just seems to be the temperature of the gases is changing radially from the hole as if the gases were modeled as solid objects.
Thank you for your answer.
I agree the simulation doesn't show the noticeable bulk convection.
So do you think that simulation doesn't look like real nature?
I hoped to model real gas which is around us.
 
  • Like
Likes   Reactions: 256bits and Delta2
kjssag said:
Thank you for your answer.
I agree the simulation doesn't show the noticeable bulk convection.
So do you think that simulation doesn't look like real nature?
I hoped to model real gas which is around us.
Depends upon the constraints that are put on the situation.
Your simulation is quite nice. I do like it,

Example.
A hole 1 mm diameter would exhibit something different than that of a hole 1 cm diameter( or more ) ( convection could become more important ).
Are the gases the same in the upper and top sections?
If different gases are in each compartment, definitely there should be a diffusion effect ( if not convection with mixing ) as the gases move from higher concentration compartment to the lower. Which is the reason I mentioned this in the first place, Unfortunately, how this affects heat flow would have to be investigated as it should be density and specific heat dependent. SEE https://en.wikipedia.org/wiki/Thermal_conductivity Theoretical prediction for gases. Due to the mixing, this can have an effect upon the actual heat flow in and expanding viscinity around the hole as time progresses.

I think one try to can get more and more accurate in modelling, and really end up with some complex formula(s) ( which real systems actually are ) , so we model with the most simplified equations that entertain the process to necessary satisfaction.

Your off to a good start.
Someone with much more experience in these sorts of things would be quite able to exact what would be important, and what not in particular cases.
 
  • Like
Likes   Reactions: kjssag
Delta2 said:
Why do you call it a hydrodynamic simulation? You say that the two areas are filled with gas (not with water) and interact through a small opening at the left side where the shock wave starts.
Wouldn't it be more proper to call it a fluid dynamics simulation?
Hydrodynamic simulation is an old term for simulations that solve the conservation of mass, momentum and energy.
 
  • Like
Likes   Reactions: Delta2 and kjssag
  • #10
What does ‘abnormal gas’ exactly mean?
 
  • #11
caz said:
What does ‘abnormal gas’ exactly mean?
Also my mistake. It is not abnormal gas. The gas in the simulation is an ideal gas.
 
  • Like
Likes   Reactions: Delta2
  • #12
kjssag said:
But I don't know why the shock wave is generated early.
As the thermal energy diffuses through the port, the isotherms that separate the different colours in the diagram move. That is why it looks like a wave radiating in both directions from the port. It looks reasonable to me.
 
  • Like
Likes   Reactions: kjssag
  • #13
Are you sure that the initial pressures are identical? Also check the speed of the wave. Is it faster than the sound speed of the undisturbed material?

Have you tried setting up a ‘1d’ problem and comparing to analytical solitions?
 
Last edited:
  • Like
Likes   Reactions: kjssag
  • #14
Is your simulation solving for the velocity field as well? If yes can you post the plot of the velocity field?
 
  • Like
Likes   Reactions: kjssag
  • #15
Baluncore said:
As the thermal energy diffuses through the port, the isotherms that separate the different colours in the diagram move. That is why it looks like a wave radiating in both directions from the port. It looks reasonable to me.
That is very helpful to understand my simulation.
Thank you and I will more think about your reply.
 
  • #16
caz said:
Are you sure that the initial pressures are identical? Also check the speed of the wave. Is it faster than the sound speed of the undisturbed material?

Have you tried setting up a ‘1d’ problem and comparing to analytical solitions?
Yes, I set all regions to have the same pressure. But I believe I should check my simulation setting again. I will check again with your suggestions such as speed or 1D problem. Thanks for your reply.
 
  • #17
Delta2 said:
Is your simulation solving for the velocity field as well? If yes can you post the plot of the velocity field?
Well, I didn't check the velocity field, but I can. So I will check and upload that later. I think maybe it will take some time.
 
  • Like
Likes   Reactions: Delta2
  • #18
caz said:
Are you sure that the initial pressures are identical?
If the pressure was not initially balanced, the isotherms across the port would immediately bulge one way or the other at the start of the simulation.

With time, the hot gas above will cool and contract, reducing the pressure above. The cold gas below will warm and expand, raising the pressure below. Then there will be some flow from the bottom chamber to the top chamber.
 
  • Like
Likes   Reactions: kjssag
  • #19
Have you tried the calculation without convection, and only conduction? How do the results compare?
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
0
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 45 ·
2
Replies
45
Views
6K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 31 ·
2
Replies
31
Views
5K