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

pFinal for pisoFoam solver

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 3 Post By morard
  • 2 Post By stawrogin

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2011, 17:13
Default pFinal for pisoFoam solver
  #1
New Member
 
Join Date: Feb 2011
Posts: 20
Rep Power: 15
L1011 is on a distinguished road
Hey foamers!

Could somebody explain to me what is the pFinal variable that has to be defined in fvSolution when using pisoFoam?

Thanks in advance!

L1011
L1011 is offline   Reply With Quote

Old   March 16, 2011, 05:30
Default
  #2
Member
 
Dejan Morar
Join Date: Nov 2010
Posts: 78
Rep Power: 17
morard is on a distinguished road
Hi L101,

That is the same like p, but pFinal you use in the final iteration for pressure solving

if (corr == nCorr-1 && nonOrth == nNonOrthCorr) // this is final iteration

{
pEqn.solve(mesh.solver(p.name() + "Final"));
}

Hope this helps,

Dejan
ilhado, Gang Wang and CFDTeufel like this.
morard is offline   Reply With Quote

Old   March 16, 2011, 05:57
Default
  #3
Member
 
Join Date: Nov 2009
Posts: 36
Rep Power: 17
stawrogin is on a distinguished road
Hi L101,

I think the basic idea behind pFinal is to have an accurate solution at the end of time step without spending to much time in solving the pressure field for the iterations before. So you can tighter your tolerance for the pressure solver in the pFinal solver settings. This will result in more iterations for the last pressure iteration but in a more accurate solution at the end of time step (which is finally the important result).

Best regards

Stawrogin
vishwakarma and Gang Wang like this.
stawrogin is offline   Reply With Quote

Old   March 16, 2011, 12:59
Default
  #4
New Member
 
Join Date: Feb 2011
Posts: 20
Rep Power: 15
L1011 is on a distinguished road
Thank you guys for your answers!
L1011 is offline   Reply With Quote

Reply


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
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 10:52
Quarter Burner mesh with periosic condition SamCanuck FLUENT 2 August 31, 2011 12:34
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
Getting too many iterations by velocity solving (aborting). Changing U - Solver? suitup OpenFOAM Running, Solving & CFD 0 January 20, 2010 08:45
compressible two phase flow in CFX4.4 youngan CFX 0 July 2, 2003 00:32


All times are GMT -4. The time now is 00:24.