|
[Sponsors] |
Strange oscillations in my hydrodynamics code |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 31, 2016, 10:45 |
Strange oscillations in my hydrodynamics code
|
#1 |
Senior Member
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 11 |
Hi all,
I have been working on a 2D hydrodynamics code. Recently I have implemented the AUSM (Advection Upwind Splitting Method) scheme for the 2D compressible Euler equations. Previously I had been using the Rusanov method as it was simple. I'm testing my code against the bechmark problem of Wendroff and Liska 2003. While my density contour plot looks +- exactly the same (I'm not expecting it to be the same as they use a different method), my pressure contour plot has some strange behavior. The paper Wendroff & Liska does not offer pressure contour plots so I am unsure if there is a numerical problem. With that said when I plot the pressure and density with the Rusanov method I do not get the oscillations (as attached), but as we know the Rusanov method is not as accurate the AUSM scheme when it comes to the accuracy of the method. I have attached some images for illustration. Comment: I am less inclined to believe my code is wrong as my density plot is more or less the same and does not display strange oscillations. It would be much appreciated if someone had some thoughts on if there is something wrong with my code or if it is just the product of the method I get those weird lines. EDIT: My code is written in Fortran 90 and I can include the code if that helps. EDIT 2: I ran the Rusanov code and I get the same lines, but no wiggles. |
|
August 31, 2016, 23:51 |
|
#2 |
Senior Member
duri
Join Date: May 2010
Posts: 245
Rep Power: 17 |
Is that appearing in first order scheme as well. If not, verify your limiter implementation.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lack of Info statement blocks the code | Phicau | OpenFOAM Programming & Development | 1 | June 1, 2015 06:51 |
The FOAM Documentation Project - SHUT-DOWN | holger_marschall | OpenFOAM | 242 | March 7, 2013 13:30 |
Open Source Vs Commercial Software | MechE | OpenFOAM | 28 | May 16, 2011 12:02 |
Small 3-D code | Zdravko Stojanovic | Main CFD Forum | 2 | July 19, 2010 11:11 |
own Code vs. commercial code | Bernhard Mueck | Main CFD Forum | 10 | February 16, 2000 11:07 |