CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Two solutions of Sod's shock tube problem

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2013, 17:52
Default Two solutions of Sod's shock tube problem
  #1
Member
 
Join Date: Aug 2011
Posts: 30
Rep Power: 14
orxan.shibli is on a distinguished road
Hi

When I was googling I found two solutions of the Sod's shock tube problem with the same initial conditions. In the given references, especially density profiles are different. My solution is the same as the second reference. Do you have any idea how there could be two solutions with the same initial conditions? The references are:

1. http://www.csun.edu/~jb715473/exampl...1d.htm#density
2. http://irfu.cea.fr/Projets/Site_hera...est_suite.html
orxan.shibli is offline   Reply With Quote

Old   January 23, 2013, 23:42
Default
  #2
Super Moderator
 
Praveen. C
Join Date: Mar 2009
Location: Bangalore
Posts: 342
Blog Entries: 6
Rep Power: 18
praveen is on a distinguished road
This is strange. I always get the first solution for this problem. This is a standard test case and you can see sample results in most books like Toro which show the first solution. Toro's book also has exact Riemann solution which you use for this problem.
praveen is offline   Reply With Quote

Old   January 25, 2013, 14:26
Default
  #3
Member
 
Join Date: Aug 2011
Posts: 30
Rep Power: 14
orxan.shibli is on a distinguished road
Interestingly I get the first result with my 1D code but I get second one with my 3D code. I cannot figure out why this happens.
orxan.shibli is offline   Reply With Quote

Old   January 30, 2013, 08:27
Default
  #4
New Member
 
Join Date: Aug 2012
Posts: 22
Rep Power: 13
AeroMike is on a distinguished road
This is very strange. I concur that the first solution is the same as the one in Toro and is the result I obtain with my code using 1D or 3D tests.

If the results differs between 1 and 3D solvers is it to do with the storage and/or order of flux splitting?

The second page is very interesting, though I'm somewhat concerned for anyone trying to replicate those results, for a 1D shock tube okay we should be able to do it, but for example the Rayleigh-Taylor case, this result is very dependent on the order of accuracy of the code (and even which implementation e.g MUSCL or WENO etc) so I think while you would reproduce the basic bubble/spike image to get the exact same detail is most unlikely. Liska and Wendroff have a good paper showing it "Comparison of several difference schemes on 1D and 2D test problems for the Euler equations".

Sorry, a bit off topic but I'm keen to hear a solution to the OP's question and reignite some interest in methods :-)

Mike
AeroMike is offline   Reply With Quote

Old   January 30, 2013, 15:32
Default
  #5
Member
 
Join Date: Aug 2011
Posts: 30
Rep Power: 14
orxan.shibli is on a distinguished road
I tried 2nd order accuracy in space and 4th order in time however that only makes the solution to look sharper and "better". Still my answer is same as the second resource.
orxan.shibli is offline   Reply With Quote

Old   January 30, 2013, 15:35
Default
  #6
New Member
 
Join Date: Aug 2012
Posts: 22
Rep Power: 13
AeroMike is on a distinguished road
Sorry Orxan, my comments weren't really directed at the solution of the Sod problem, rather the other solutions on that page. I was just worried that if the latter data was a bit misleading the former could be too.

Certainly I wouldn't expect the order of accuracy to effect the Sod solution very much (definitely not in the manner here). This second solution is a mystery to me and I am eager to find the answer!

Mike
AeroMike is offline   Reply With Quote

Old   January 30, 2013, 23:51
Default
  #7
Super Moderator
 
Praveen. C
Join Date: Mar 2009
Location: Bangalore
Posts: 342
Blog Entries: 6
Rep Power: 18
praveen is on a distinguished road
Are the 3-d simulations in cartesian or spherical coordinates ? Perhaps the 3d simulations are obtaining radial solutions which would be different from plane shock tube solutions.
praveen is offline   Reply With Quote

Old   February 2, 2013, 06:45
Default
  #8
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
are there any experimental results?
immortality is offline   Reply With Quote

Old   February 2, 2013, 08:51
Default
  #9
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
the diagrams is told that are in t=.1s but it seems too much time and at this time equilibrium is almost reached.what time should be set accurately?
immortality is offline   Reply With Quote

Old   July 7, 2013, 06:40
Default shock_tube
  #10
New Member
 
Omer
Join Date: Mar 2013
Location: turkey
Posts: 8
Rep Power: 13
bob91 is on a distinguished road
hi,
ı want to make difference of pressure to be shock but ı don how to do this, so can you help me ?
bob91 is offline   Reply With Quote

Old   February 6, 2014, 10:21
Default
  #11
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
is there any data about after reflection of shock from the wall? (pressure,density,temperature)
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   November 12, 2014, 03:48
Default Instability in solution
  #12
New Member
 
Gaurav
Join Date: Jul 2013
Location: India
Posts: 25
Rep Power: 12
gaurav11 is on a distinguished road
Hi all,

I am trying to simulate sod's shock tube with Mccormack scheme (second order). I am getting infinite values, and solution becomes unstable very soon. Anyone has any idea what is going wrong.
gaurav11 is offline   Reply With Quote

Old   May 20, 2016, 20:51
Default
  #13
New Member
 
Matt
Join Date: May 2016
Posts: 2
Rep Power: 0
matt1234 is on a distinguished road
Quote:
Originally Posted by gaurav11 View Post
Hi all,

I am trying to simulate sod's shock tube with Mccormack scheme (second order). I am getting infinite values, and solution becomes unstable very soon. Anyone has any idea what is going wrong.
Hey did you ever find the solution to this?

If so, can I see your code?
I am having the same issue and it is driving me crazy.
matt1234 is offline   Reply With Quote

Old   May 20, 2016, 21:32
Default
  #14
Member
 
LUQILIN
Join Date: May 2016
Location: Harbin, China
Posts: 35
Rep Power: 9
LUQILIN is on a distinguished road
Quote:
Originally Posted by gaurav11 View Post
Hi all,

I am trying to simulate sod's shock tube with Mccormack scheme (second order). I am getting infinite values, and solution becomes unstable very soon. Anyone has any idea what is going wrong.
Please give more details. Based on my previous experiences, maybe:
1. CFL is too large.
2. Incorrect way to compute flux.
3. inappropriate boundary condition.
4. simple mistake: for example , take "i" as “j".

If you code blows very soon, there must be some fatal errors. I suggest you deal with the simple case first. Give an artificial initial conditions, say let density be a linear function in the whole computational domain. Debug step by step, see what you can dig.
LUQILIN is offline   Reply With Quote

Old   May 20, 2016, 21:41
Default
  #15
Member
 
LUQILIN
Join Date: May 2016
Location: Harbin, China
Posts: 35
Rep Power: 9
LUQILIN is on a distinguished road
Quote:
Originally Posted by AeroMike View Post
This is very strange. I concur that the first solution is the same as the one in Toro and is the result I obtain with my code using 1D or 3D tests.

If the results differs between 1 and 3D solvers is it to do with the storage and/or order of flux splitting?

The second page is very interesting, though I'm somewhat concerned for anyone trying to replicate those results, for a 1D shock tube okay we should be able to do it, but for example the Rayleigh-Taylor case, this result is very dependent on the order of accuracy of the code (and even which implementation e.g MUSCL or WENO etc) so I think while you would reproduce the basic bubble/spike image to get the exact same detail is most unlikely. Liska and Wendroff have a good paper showing it "Comparison of several difference schemes on 1D and 2D test problems for the Euler equations".

Sorry, a bit off topic but I'm keen to hear a solution to the OP's question and reignite some interest in methods :-)

Mike
Hello, Mike
I would like to ask if you have any experiences dealing discontinuities with minmod limiters. I got some problems with my code for 1D shock nozzle. I can get a convergent solution without limiters. But Lax-Wendroff oscillations occur at the discontinuity. Unfortunately, my code blows after adding a minmod limiter.
By the way, I am trying a high-order method named Correction Procedure via Reconstruction (CPR). Finite Volume method coincides well with the exact solution.
Good luck.
LUQILIN is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
lax friedrich scheme for shock tube problem. manukamin Main CFD Forum 3 March 22, 2016 01:02
What's the boundary condition for 1D Shock Tube Problem? Accelerator Main CFD Forum 0 August 26, 2012 15:52
rhoCentralFoam not reflecting shock in Shock Tube? Astaria OpenFOAM Running, Solving & CFD 5 March 4, 2012 03:07
shock tube validation AB Siemens 0 November 21, 2004 18:43
Shock tube problem using Fluent 5/6 Ravi FLUENT 2 October 27, 2004 12:05


All times are GMT -4. The time now is 19:46.