CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Strange oscillations in my hydrodynamics code

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 31, 2016, 10:45
Default Strange oscillations in my hydrodynamics code
  #1
Senior Member
 
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 11
selig5576 is on a distinguished road
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.
Attached Images
File Type: png DensityWendroff.png (29.3 KB, 25 views)
File Type: jpg Density.jpg (27.4 KB, 25 views)
File Type: jpg Pressure.jpg (25.6 KB, 25 views)
selig5576 is offline   Reply With Quote

Old   August 31, 2016, 23:51
Default
  #2
Senior Member
 
duri
Join Date: May 2010
Posts: 245
Rep Power: 17
duri is on a distinguished road
Is that appearing in first order scheme as well. If not, verify your limiter implementation.
duri is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 11:38.