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

Differences in solution method for pisoFoam and buoyantBoussinesqPisoFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree12Likes
  • 1 Post By mchurchf
  • 10 Post By alberto
  • 1 Post By alberto

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 30, 2009, 17:56
Default Differences in solution method for pisoFoam and buoyantBoussinesqPisoFoam
  #1
Member
 
Matthew J. Churchfield
Join Date: Nov 2009
Location: Boulder, Colorado, USA
Posts: 49
Rep Power: 18
mchurchf is on a distinguished road
To whom can help,

I am trying to reconcile some differences between pisoFoam and buoyantBoussinesqPisoFoam.

In the UEqn.H file of buoyantBoussinesqPisoFoam the following equation is set up to predict velocity:

UEqn
==
fvc::reconstruct((fvc::interpolate(rhok)*(g & mesh.Sf()) - fvc::snGrad(p)*mesh.magSf()))

However, in pisoFoam, this is the equation:

UEqn == -fvc::grad(p)

Aside from the inclusion of the gravity term in buoyantBoussinesqPisoFoam, why are the face values used to reconstruct the cell centered values, whereas in pisoFoam the cell center values are used directly?

The same situation occurs in setting up the pressure equation. In buoyantBoussinesqPisoFoam, the equation is:

volScalarField rUA("rUA", 1.0/UEqn.A());
surfaceScalarField rUAf("(1|A(U))", fvc::interpolate(rUA));
fvm::laplacian(rUAf, p) == fvc::div(phi)

whereas in pisoFoam, it is:

volScalarField rUA = 1.0/UEqn.A();
fvm::laplacian(rUA, p) == fvc::div(phi)

buoyantBoussinesqPisoFoam is solving for pressure on the faces, and pisoFoam is solving for cell centered pressure. Does this make a difference? Why are the two codes different in this manner?

Thank you
rajibroy likes this.
mchurchf is offline   Reply With Quote

 


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
smoothSolver diverges - solution in using PBiCG solver? makaveli_lcf OpenFOAM Running, Solving & CFD 3 September 11, 2013 12:44
Solution Method & turbulent intensity in CFX 5.5.1 hamza albazzaz CFX 7 June 29, 2011 12:39
Question about meshing / solution scheme of CFX Coriolius CFX 8 August 1, 2004 18:39
FVM,FDM AND FEM d Main CFD Forum 4 May 30, 2003 03:19
Trouble w. tri. FV method and lam. backstep flow Steve Reuss Main CFD Forum 12 December 26, 2001 11:47


All times are GMT -4. The time now is 22:04.