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

solving pressure equation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 18, 2010, 18:07
Default solving pressure equation
  #1
Member
 
Pascal
Join Date: Jun 2009
Location: Montreal
Posts: 65
Rep Power: 16
Pascal_doran is on a distinguished road
Hi all,

I am simulating wake vortices in ground effect and I'm using the icoFOAM application. I would like to know why it solve twice for p at each time step. I have no error message or warning just the following output when I'm solving.

Code:
Courant Number mean: 0.0258412 max: 0.99935
deltaT = 0.000909091
Time = 0.000909091

DILUPBiCG:  Solving for Ux, Initial residual = 0.00117738, Final residual = 8.40907e-08, No Iterations 4
DILUPBiCG:  Solving for Uy, Initial residual = 0.00100752, Final residual = 6.02822e-07, No Iterations 3
DICPCG:  Solving for p, Initial residual = 0.360239, Final residual = 9.95302e-07, No Iterations 982
time step continuity errors : sum local = 1.82785e-10, global = 4.3745e-21, cumulative = 4.3745e-21
DICPCG:  Solving for p, Initial residual = 0.00983221, Final residual = 9.57613e-07, No Iterations 872
time step continuity errors : sum local = 2.375e-10, global = -6.8944e-20, cumulative = -6.45695e-20
ExecutionTime = 40.92 s  ClockTime = 42 s
This increase a lot the duration of the simulation. Can anybody explain to me why it is like that.

Thank you,

Pascal
Pascal_doran is offline   Reply With Quote

Old   May 19, 2010, 02:30
Default
  #2
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi Pascal,

"Solving for p ..." shows up twice because in icoFoam's standard setting the number of pressure corrections in the PISO loop is set to two. If you wish, you can change this at the bottom of the system/fvSolution file where it reads

Code:
PISO
{
    nCorrectors     2;
    nNonOrthogonalCorrectors 0;
    pRefCell        0;
    pRefValue       0;
}
But I would leave it at 2, or even increase it for less orthogonal meshes ...
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   May 19, 2010, 03:33
Default
  #3
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
While your at it, you should do some reading on how PISO works in Ferziger/Peric or the original paper by Issa and Olivera...
akidess is offline   Reply With Quote

Old   May 19, 2010, 18:48
Default
  #4
Member
 
Pascal
Join Date: Jun 2009
Location: Montreal
Posts: 65
Rep Power: 16
Pascal_doran is on a distinguished road
Thank you for all the information

Pascal
Pascal_doran is offline   Reply With Quote

Reply

Tags
solving 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
MRFSimpleFOAM goes divergenced! renyun0511 OpenFOAM Running, Solving & CFD 0 November 19, 2009 02:11
Problems with simulating TurbFOAM barath.ezhilan OpenFOAM 13 July 16, 2009 05:55
Parallel rasInterFoam openfoam_user OpenFOAM Running, Solving & CFD 4 November 1, 2008 04:14
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Gas pressure question Dan Moskal Main CFD Forum 0 October 24, 2002 22:02


All times are GMT -4. The time now is 09:08.