- **Main CFD Forum**
(*http://www.cfd-online.com/Forums/main/*)

- - **shock detection in the Riemann problems(specially in the stationary contact problems)**
(*http://www.cfd-online.com/Forums/main/78013-shock-detection-riemann-problems-specially-stationary-contact-problems.html*)

shock detection in the Riemann problemsHello!
i am not able to detect the shock correctly in the Riemann problems and getting large oscillations due to this reason. thanks |

shock detection in the Riemann problems(specially in the stationary contact problems)Hello!
i am not able to detect the shock correctly in the Riemann problems and getting large oscillations due to this reason. pliz let me know what conditions should be put to eliminate the oscillations. thanks |

Are you using a commercial code or your own code ?
Also can you describe the initial settings for your problem: 1d/2d T,p,v ... at t=0. Do |

shock detectionHi DoHander!
i am using own code. actually i m working on Riemann Problem, conditions are domain length=1.0, interface x=0.8,RHO_L=1.0,U_L=-19.59745,P_L=1000and RHO_R=1.0,U_R=-19.59745,P_R=0.01. L stands for left and R stands for right. |

First you should have an analytical solution for your problem if you don't have one (you can compare this with the numerical one):
J.D. Anderson - Modern compressible flow. Second - if your numerical solutions oscillates you probably have an implementation problem: maybe with your boundary conditions or maybe with the order of the numerical scheme you use. For a second order scheme (and high orders) you must use limiters functions in order to remove the oscillations (or you can try with a very fine mesh). Do |

All times are GMT -4. The time now is 17:40. |