|
[Sponsors] |
July 15, 2020, 12:09 |
Solution time for p equation vs. U equations
|
#1 |
New Member
Marc
Join Date: Oct 2017
Posts: 11
Rep Power: 9 |
Hi All,
I have a general question about the typical time required to solve the U equations vs. the p equations in a CFD solution. I know from experience and reading some literature that it is typical for a CFD solver to spend most of the time (~80%) solving for pressure, but I am curious as to why this is the case. If more specifics are required, I am considering the segregated solvers typically implemented in OpenFOAM, e.g. SIMPLE. PIMPLE, etc. which utilize the pressure-correction methodology (where the pressure correction is obtained from the Poisson equation of the divergence of the velocity) Is this a result of the general nature (numerical properties) of elliptic PDEs (such as the Poisson equation), or is more specific to the algorithm (e.g. SIMPLE)? Can anyone point to some good references on this topic? |
|
July 19, 2020, 06:41 |
|
#2 |
Senior Member
|
You need to consider 3 apsects:
1) The two set of equations are solved multiple times, once per outer iteration, each one being around a linearization at the previous iteration. So, in general, it isn't really that useful to solve them very tightly because that problem you are solving is not the final one, but only an intermediate step. 2) The pressure equation is special in segregated solvers, because the pressure gradient is needed to satisfy the continuity equation. That is, in a way or another, the pressure gradient enters the mass fluxes used to transport all other variables. 3) Now, as conservation is one of the great advantages of FV, it turns out you don't want to throw it away during iterations. That is, even if you are solving the momentum equations only approximately, you want to do that with a mass preserving mass flux. In order to do that you need the accurate resolution of the pressure equation |
|
Tags |
pde type, simple algorithm, solve pressure |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
bash script for pseudo-parallel usage of reconstructPar | kwardle | OpenFOAM Post-Processing | 42 | May 8, 2024 00:17 |
laplacianFoam with source term | Herwig | OpenFOAM Running, Solving & CFD | 17 | November 19, 2019 14:47 |
How to export time series of variables for one point? | mary mor | OpenFOAM Post-Processing | 8 | July 19, 2017 11:54 |
simpleFoam error - "Floating point exception" | mbcx4jc2 | OpenFOAM Running, Solving & CFD | 12 | August 4, 2015 03:20 |
error message | cuteapathy | CFX | 14 | March 20, 2012 07:45 |