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

PEqnflux in compressible and incompressible PISO loop

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2008, 11:58
Default Hi, all: I have a question
  #1
Member
 
roy fokker
Join Date: Mar 2009
Posts: 44
Rep Power: 17
dbxmcf is on a distinguished road
Hi, all:

I have a question about the pEqn.flux() in the PISO loop, for the incompressible(icoFoam) case, after solving the pressure correction equation:

phi -= pEqn.flux();

while in the compressible case (sonicFoam),

phi = pEqn.flux();

My understanding is the incompressible flow is just a special case for the compressible flow (rho=const), no matter the pressure correction equation looks like. Can anyone explain the difference for the two cases?

Thanks a lot!
dbxmcf is offline   Reply With Quote

Old   July 11, 2015, 16:21
Default
  #2
New Member
 
België/Belgique
Join Date: Jul 2015
Posts: 3
Rep Power: 11
David1 is on a distinguished road
Hi Roy,

Did you eventually found your answer? Because I have the same question you have/had.

Thank you!
David1 is offline   Reply With Quote

Old   September 27, 2019, 02:14
Default
  #3
Senior Member
 
Ashwani
Join Date: Sep 2013
Location: Hyderabad
Posts: 154
Rep Power: 13
AshwaniAssam is on a distinguished road
Did it get resolved? Because I do not see anywhere else in OpenFOAM except in the sonicFOAM this term

phi = pEqn.flux();

without any addition or subtraction.

Is it right?

Last edited by AshwaniAssam; September 27, 2019 at 02:15. Reason: Typos correction
AshwaniAssam is offline   Reply With Quote

Old   September 27, 2019, 07:13
Default
  #4
Senior Member
 
Ashwani
Join Date: Sep 2013
Location: Hyderabad
Posts: 154
Rep Power: 13
AshwaniAssam is on a distinguished road
I found the answer here: PISO Details

In sonicFoam
the ".flux()" function returns the influence of all implicit terms on the flux. In this case everything is implicit, so you can assign it like that
phi = pEqn.flux();



So, what I understand is that .flux() operator gives the flux terms of the equation which are handled implicitly.
AshwaniAssam 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
Incompressible boussiesq flow pressure BC piso and continuity problems tehache OpenFOAM Running, Solving & CFD 4 November 6, 2008 04:08
PISO loop 21kalee OpenFOAM Running, Solving & CFD 2 January 15, 2008 06:31
Compressible -> incompressible. Jinwon Main CFD Forum 6 November 23, 2007 22:07
Dimensions of laplacian in PISO loop kumar2 OpenFOAM Running, Solving & CFD 2 July 3, 2006 15:34
Mistake in PISO loop for interFoam solver kumar2 OpenFOAM Running, Solving & CFD 3 June 30, 2006 19:26


All times are GMT -4. The time now is 16:46.