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

Strange-behaviour of runge kutta schemes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2022, 19:27
Lightbulb Strange-behaviour of runge kutta schemes
  #1
New Member
 
Nico
Join Date: Feb 2018
Location: Turin
Posts: 8
Rep Power: 8
Nico994396 is on a distinguished road
Dear all,
i'm developing a solver for the Compressible Euler Equations by using explicit Runge-kutta 4 scheme.


In particular, i've followed the approach of the following paper:
"On the implementation of low-dissipative Runge–Kutta projection
methods for time dependent flows using OpenFOAM" by V. Vuorinen a, ⇑ , J.-P. Keskinen a , C. Duwig b , B.J. Boersma.


Even tough i write the code ( sorry if it seems that it is not compact, but it was a test ), it seems that the method is not stable:
Indeed, i tested the solver with an atmosphere in equilibrum ( i used the potential temperature to initialize the field ), and even tough i use very small time steps, during the time evolution waves are created ( if the solver is balanced the atmosphere should remain at rest ).
You can find an image of what happens during the simulation ( the image shows that pressure-waves are created) and you'll find my solver.
If someone can give an explanation about that i will be greatfull.
Thank you.


Strange-wave-behabviour.png

EulerRK4Foam.C

correctBoundaryRho.H
Nico994396 is offline   Reply With Quote

Reply

Tags
euler equation, openfoam, runge kutta method, solver development


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
Implicit Runge Kutta Schemes for Stiff Systems backscatter OpenFOAM Programming & Development 0 April 24, 2019 01:34
rhoCentralFoam Runge Kutta Henning86 OpenFOAM Running, Solving & CFD 24 December 13, 2016 11:12
Strange behaviour when using compressibleInterFoam with constantAlphaContactAngle TobM OpenFOAM Running, Solving & CFD 2 May 11, 2016 07:34
TVD Runge Kutta 3rd order Schemes Prixy11 Main CFD Forum 0 April 20, 2015 10:17
Strange residuals behaviour xxxx Main CFD Forum 1 July 13, 2013 15:40


All times are GMT -4. The time now is 10:58.