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

Solution time for p equation vs. U equations

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2020, 12:09
Default Solution time for p equation vs. U equations
  #1
New Member
 
Marc
Join Date: Oct 2017
Posts: 11
Rep Power: 9
mcgoldba is on a distinguished road
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?
mcgoldba is offline   Reply With Quote

Old   July 19, 2020, 06:41
Default
  #2
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
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
sbaffini is offline   Reply With Quote

Reply

Tags
pde type, simple algorithm, solve pressure


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
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


All times are GMT -4. The time now is 15:42.