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

Why we need to calculate flux at the end of PISO Loop

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2017, 10:52
Default Why we need to calculate flux at the end of PISO Loop
  #1
New Member
 
rik houthuys
Join Date: Jan 2017
Posts: 27
Rep Power: 9
Houthuys is on a distinguished road
Dear all,

To the best of my knowldege, in PISO algorithm we do several pressure correction cycles to ensure that the flux is divergence free. At the end of each cycle we calculate the corrected velocity based on the updated pressure field,

Code:
U = HbyA - rAU*fvc::grad(p);
I can see that this new velocities will be used to update H(U) operator.

But why we also calculate phi here:
Code:
phi = phiHbyA - pEqn.flux();
I have checked that the value of rAU will be constant for each time step (correct me if that's wrong). I also checked that when I removed this line the results will be the same ( I've tested cavity case for with icoFoam).

So, for which purpose we calculate the new flux at the end of each PISO loop in icoFOAM?

Best regards
Houthuys 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
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 01:27
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
particle tracking sakurabogoda CFX 7 December 4, 2013 23:12
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00


All times are GMT -4. The time now is 13:14.