|
[Sponsors] |
May 30, 2013, 11:08 |
1D solution of shock tube
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
Hi
shock tube is a basic CFD problem for testing systems with discontinuities. its valuable that provide a analytic program for 1D inviscid shock tube that gives flow properties at each sections whenever the user wants,in any form like a Matlab program or what form that anyone interested thinks its good is worthy.
__________________
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. |
|
June 18, 2013, 07:24 |
reducing CFL no.
|
#2 |
New Member
Kaushik Roy
Join Date: Jun 2013
Posts: 2
Rep Power: 0 |
I have run the shock tube problem for various schemes and I found that when the CFL number is reduced, the error increases...can you explain why??
BTW the analytical solution of shock tube is attached here |
|
June 18, 2013, 07:36 |
|
#3 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
thats a valuable work.could you add some explanations in different parts?
you compare error with what?
__________________
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. |
|
June 18, 2013, 07:45 |
|
#4 |
New Member
Kaushik Roy
Join Date: Jun 2013
Posts: 2
Rep Power: 0 |
I have found the error in pressure and density by evaluating the diiference between the numerical solution and the exact solution and I have carried out the process for two values of CFL no, 0.5 and 0.1. The errors associated with CFL 0.1 are larger than CFL 0.5 and I would like to know why....
|
|
June 18, 2013, 07:57 |
|
#5 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
why this error occurs?
Code:
ehsan@Ehsan-com:~/Desktop$ gcc analytical_WR.c -o WR analytical_WR.c:4:18: fatal error: conio.h: No such file or directory compilation terminated.
__________________
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. |
|
June 27, 2013, 10:01 |
ShockTube program execution error
|
#6 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
what does errors mean?and how to resolve?
can anyone help?
__________________
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. |
|
June 27, 2013, 10:47 |
|
#7 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
Added the stdlib.h header and compiled it correctly with
Code:
gcc -o output ShockTube.CPP -lm Code:
./output |
|
June 27, 2013, 12:25 |
|
#8 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
Thanks and whats the problem with this file?could you have a look into it?
__________________
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. |
|
June 27, 2013, 13:25 |
|
#9 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
Did you try to Google the error?
Code:
gcc -o output shockTube2.CPP -lm shockTube2.CPP:4:18: fatal error: conio.h: No such file or directory compilation terminated. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Two solutions of Sod's shock tube problem | orxan.shibli | Main CFD Forum | 15 | September 25, 2024 23:46 |
Error with rhoCentralFoam in Shock tube | himanshu28 | OpenFOAM | 16 | February 23, 2018 01:20 |
Shock tube post #1000 | Belgio | ANSYS Meshing & Geometry | 2 | November 2, 2009 19:51 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Shock tube problem | AB | Siemens | 1 | November 9, 2004 01:25 |