|
[Sponsors] |
Is simpleFOAM suppose to be faster than pimpleFOAM or pisoFOAM? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 19, 2020, 02:38 |
Is simpleFOAM suppose to be faster than pimpleFOAM or pisoFOAM?
|
#1 |
Senior Member
Sultan Islam
Join Date: Dec 2015
Location: Canada
Posts: 141
Rep Power: 10 |
Hey everyone,
So bare with me as I am new and learning openfoam. I have been doing a few tutorials and validation cases and I notice that with my 6 core laptop, simpleFOAM solves way faster than the other two solvers (even for the same geometry). Im not complaining but I am wondering if i am doing something wrong xD |
|
August 19, 2020, 05:34 |
|
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 736
Rep Power: 14 |
Nope - that's totally as expected, for most steady state problems.
|
|
August 21, 2020, 18:27 |
|
#3 |
Senior Member
joegi
Join Date: Nov 2009
Location: genoa
Posts: 104
Rep Power: 17 |
Well, your question is a little bit vague. That depends on what you want to do.
If you want to reach an steady behavior (like flat time series of forces), steady solvers might be faster (but not necessary). I can show you a gazillion cases where unsteady solvers are faster, but those cases are the exception rather than the rule. Generally speaking, steady solver are faster (if you use the optimal under relaxation factors). However, they are not as accurate as unsteady solvers. Rule of thumb: Use steady solvers if you are sure that you are expecting a steady behavior; otherwise, use unsteady solvers or local time stepping (pseudo transient). |
|
August 23, 2020, 05:22 |
So it depends Case to Case?
|
#4 | |
Senior Member
Sultan Islam
Join Date: Dec 2015
Location: Canada
Posts: 141
Rep Power: 10 |
Quote:
|
||
August 29, 2020, 14:56 |
|
#5 |
Senior Member
Join Date: Sep 2013
Posts: 353
Rep Power: 21 |
In CFD you have to solve for pressure p and velocity U but can't do so easily within one big matrix (nonlinear system and two variables). SIMPLE/PISO/PIMPLE are segregated solution techniques for such PDEs. Hence you split the system into two equation systems in a segregated solver. You need to solve this set of two systems in a loop to get an accurate solution of the intial system.
Solve A -> solution into B -> solve B -> solution into A --> ... --> until A and B fulfill the original system.... This is the PISO loop.
As already mentioned this does not always equate to one being faster than the other but it usually does. Relaxation means limiting the change in your solution. Hence your solution does not blow up as easily. It caps the change that is possible. This means many many solution cycles until you reach the steady state. But they are easier to solve for. For some problems this relaxation means immensely slowing the solution down, since the change itself might already be small. One example are diffusion heavy low Reynolds number flows. Here a steady state forms nearly instantaneously in real time. Hence PISO can do just fine, since the increased time step due to relaxation looses its benefit. |
|
|
|
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 10:14 |
pisoFoam and pimpleFoam are unstable in foam-extend 4.0/4.1 (misunderstanding ?) | Kombinator | OpenFOAM Running, Solving & CFD | 4 | January 14, 2021 05:10 |
icoUncoupledKinematicParcelFoam - simpleFoam pisoFoam | saidc. | OpenFOAM Running, Solving & CFD | 0 | March 29, 2020 15:27 |
pisoFoam, pimpleFoam - Fluent user's questions | RodriguezFatz | OpenFOAM Running, Solving & CFD | 0 | September 4, 2013 05:26 |
Differences simpleFoam vs. pimpleFoam / RASModel.H vs turbulenceModel.H | uli | OpenFOAM Programming & Development | 7 | January 26, 2013 16:01 |