1D solution of shock tube
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. |
reducing CFL no.
1 Attachment(s)
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 |
thats a valuable work.could you add some explanations in different parts?
you compare error with what? |
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....
|
why this error occurs?
Code:
ehsan@Ehsan-com:~/Desktop$ gcc analytical_WR.c -o WR |
ShockTube program execution error
1 Attachment(s)
what does errors mean?and how to resolve?
can anyone help? |
1 Attachment(s)
Added the stdlib.h header and compiled it correctly with
Code:
gcc -o output ShockTube.CPP -lm Code:
./output |
1 Attachment(s)
Thanks and whats the problem with this file?could you have a look into it?
|
Did you try to Google the error?
Code:
gcc -o output shockTube2.CPP -lm |
All times are GMT -4. The time now is 18:45. |