CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Fourth Order Runge Kutta time integration

Register Blogs Community New Posts Updated Threads Search

Like Tree39Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2019, 05:16
Default
  #41
Senior Member
 
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18
syavash is on a distinguished road
Quote:
Originally Posted by Hen Cruise View Post
Hi, syavash, thanks very much for your great work, and i want to know,

Is it possible to modified the 'RK4' be an convenient 'option' in fvschemes file for ddtSchemes such as 'Euler' or 'backward'? then used for most compressible or incompressible solvers?
Well, I think it would be a great idea! However, it cannot be employed as a temporal scheme in the current form. Probably some if-clause will be necessary to differentiate between incompressible and compressible conditions.

Kind Regards,
syavash
syavash is offline   Reply With Quote

Old   July 1, 2019, 20:10
Default
  #42
New Member
 
agSilverMAN
Join Date: Aug 2018
Posts: 6
Rep Power: 8
kermelosh is on a distinguished road
Hey Syavash,

It is clear from the code that solver running time highly depends on the number of times the pressure correction step is implemented. Do you think that there is a way to reduce the number of the pressure correction step while maintaining the 4th-order RK projection for the velocity field? For example, if one only evokes the pressure correction at the end only once or twice between intermediate time steps.

Thanks
kermelosh is offline   Reply With Quote

Old   July 2, 2019, 10:19
Default
  #43
Senior Member
 
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18
syavash is on a distinguished road
Quote:
Originally Posted by kermelosh View Post
Hey Syavash,

It is clear from the code that solver running time highly depends on the number of times the pressure correction step is implemented. Do you think that there is a way to reduce the number of the pressure correction step while maintaining the 4th-order RK projection for the velocity field? For example, if one only evokes the pressure correction at the end only once or twice between intermediate time steps.

Thanks
Hi,

I can only think of the 3rd-order Runge-Kutta as a reply, which is of-course 3rd-order accurate in time but demands fewer number of pressure correction steps. I have already implemented that and it was faster, but don't remember it gave a huge difference over 4th-order Runge-Kutta.

Best Regards,
Syavash
syavash is offline   Reply With Quote

Old   July 2, 2019, 10:37
Default
  #44
Senior Member
 
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18
syavash is on a distinguished road
Well, I have uploaded both solver and its test case on my Github repository. On my reposityory, one can also find a bunch of useful codes WRT incompressible LES in OpenFoam.

https://github.com/syavash20/TurbLab

Best Regards,
Syavash
aerospaceman and Lucifinil like this.
syavash is offline   Reply With Quote

Old   December 20, 2019, 20:13
Default
  #45
New Member
 
agSilverMAN
Join Date: Aug 2018
Posts: 6
Rep Power: 8
kermelosh is on a distinguished road
Hey Syavash,

In your opinion, can the RK4Foam solver be used for an FSI study? I would like to explore its application for FSI studies with LES turbulent modeling.
kermelosh is offline   Reply With Quote

Old   November 10, 2022, 03:36
Default
  #46
New Member
 
Nico
Join Date: Feb 2018
Location: Turin
Posts: 8
Rep Power: 8
Nico994396 is on a distinguished road
Hi Ville,
i tried to implement a fully explicit RK4 scheme for compressible flows (Euler Equations) , following your paper, but it seems that not work ( some waves are created near the boundaries )

Can you give me some explanation about that, thank you.
Nico994396 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
Runge Kutta 4th Order Source Code sugu Main CFD Forum 4 October 26, 2012 04:15
Runge-Kutta 4rd Order method help for 6DoF in CFD siw Main CFD Forum 0 August 29, 2008 07:08
runge kutta Shuo Main CFD Forum 0 January 7, 2008 20:29
4th and 5th Order TVD Runge-Kutta Methods saygin Main CFD Forum 2 January 30, 2006 12:45
Runge Kutta vs adams bashforth time marching vasanth Main CFD Forum 5 January 1, 2006 01:17


All times are GMT -4. The time now is 18:50.