CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   1D Euler Equation (https://www.cfd-online.com/Forums/main/14475-1d-euler-equation.html)

prapanj December 4, 2007 18:36

1D Euler Equation
 
hi me and my friends are using different methods to solve 1 d euler equation- the reimann problem. but al we get is a nan. since we had peer reviewed each, we just believe the problem is with the initial assumptions we made. we have taken the pressure and density to left of discontinuity to be 10 and to the right as 1. gamma is 1.4. dt is very small like 10-6 so we wouldnt have to worry about CFL requirement. Could some one tell me the major errors people make when first trying to solve Euler 1D and is the assumption I made ok? thanking you

prapanj

Harish December 4, 2007 22:55

Re: 1D Euler Equation
 
What numerical method do you use for solvering the problem and after how many time units does it become nan.

prapanj December 5, 2007 13:54

Re: 1D Euler Equation
 
i used Mac Cormack scheme. It becomes NaN after about 1000 steps i think.. the dt was taken very low 10^-6

thank u.


All times are GMT -4. The time now is 15:44.