|
[Sponsors] |
General rules for choosing pimpleFoam vs. icoFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 27, 2018, 11:20 |
General rules for choosing pimpleFoam vs. icoFoam
|
#1 |
Senior Member
Join Date: Jul 2013
Posts: 124
Rep Power: 12 |
Hi all,
I have been a long-time user of the icoFoam solver for my transient flow problems. However, I have now run into a case which requires several million grid cells for spatial convergence, and tens of thousands of time steps using the icoFoam solver due to the time step limitation. I am wondering if I should switch to the pimpleFoam solver for my case in order to take advantage of the higher Courant numbers that can be used, but I am unclear about when exactly it makes sense to do use pimpleFoam vs. icoFoam. For example, pimpleFoam can often use tens or hundreds of additional iterations per time step, so it is not obvious to me that the overall calculation will actually proceed faster, even if you can use a 10x larger time step. Are there any general guidelines on when to pick one or the other, especially regarding accuracy and the overall speed of the simulation? Thank |
|
July 30, 2018, 05:32 |
|
#2 | |||
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11 |
TL;DR: Bold text at the end of my post.
Quote:
Quote:
Code:
PIMPLE { nOuterCorrectors 20; nCorrectors 2; } Combined with relaxationFactors from the SIMPLE algorithm, which restrict the change of a variable from one nOuterCorrectors iteration to the next, you can add a lot of stability to your simulation. And in the same time increase you CFL-number. From my experience a CLF-number of 4.0 works without problems. I tried up to CLF 20.0, but that gets a bit unstable at times. To return to you original question: Quote:
Further reading: [cfd-online] pimpleFoam vs simpleFoam vs pisoFoam vs icoFoam? [Holzmann-cfd.de] Mathematics, Numerics, Derivations and OpenFOAM - For an introduction to pimpleFoam see chapter 11.4.
__________________
If you liked my answer to your question, please consider leaving a "Like" in return |
||||
July 30, 2018, 10:52 |
|
#3 | |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
Quote:
Further reading: R. I. Issa, Solution of the Implicitly Discretized Fluid Flow Equations by Operator-Splitting, Journal of Computational Physics, 62, pp 40-65, 1985
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
||
July 31, 2018, 02:57 |
|
#4 | |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11 |
Quote:
Last edited by RobertHB; July 31, 2018 at 04:32. |
||
July 31, 2018, 04:31 |
|
#5 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
This is also done in the pisoFoam tutorials by the way.
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pimpleFoam vs simpleFoam vs pisoFoam vs icoFoam? | phsieh2005 | OpenFOAM Running, Solving & CFD | 45 | March 22, 2021 09:14 |
IcoFoam with variable time step not writing every writeInterval | wildfire230 | OpenFOAM Running, Solving & CFD | 1 | July 31, 2013 17:49 |
icoFoam vs. pimpleFoam | Tobi | OpenFOAM Running, Solving & CFD | 3 | May 21, 2013 10:34 |
Cell size and prism layer: general rules? | sarav | Main CFD Forum | 0 | February 21, 2010 04:47 |
Kubuntu uses dash breaks All scripts in tutorials | platopus | OpenFOAM Bugs | 8 | April 15, 2008 07:52 |