|
[Sponsors] |
May 17, 2011, 10:39 |
about pEqn.H in bubbleFoam
|
#1 | |
Member
|
Hi Foamers,
The boundary condition of p in the tutorials of bubbleColumn (bubbleFoam) may be wrong. From @ 0/p Code:
boundaryField { inlet { type zeroGradient; } outlet { type fixedValue; value uniform 0; } walls { type buoyantPressure; value uniform 0; } } Code:
value ( 0 -9.81 0 ); Code:
... vertices ( (0 0 0) (0.15 0 0) (0.15 1 0) (0 1 0) (0 0 0.1) (0.15 0 0.1) (0.15 1 0.1) (0 1 0.1) ); ... patches ( patch inlet ( (1 5 4 0) ) patch outlet ( (3 7 6 2) ) wall walls ( (0 4 7 3) (2 6 5 1) ) ); Another issue comes from @pEqn.H Code:
pEqn.setReference(pRefCell, pRefValue); Code:
label pRefCell = 0; scalar pRefValue = 0.0; setRefCell(p, mesh.solutionDict().subDict("PISO"), pRefCell, pRefValue); On the other hand, if we designate 0 for pRefCell, (it is no problem with serial computation), when it comes to parallel computation, will it be problem dependent? So far i have modified the bubbleFoam solver to my case, it works well with serial computation. But in the parallel computation, it shows, Quote:
BTW i am using openfoam171. // Kai Last edited by kaifu; May 17, 2011 at 10:55. |
||
September 12, 2013, 01:16 |
|
#2 |
Senior Member
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13 |
Hallo Foamers
I have the same problem and i would like to know the meaning of "pEqn.setReference(pRefCell, pRefValue);". Could you please explain this line ? Thanks a lot for your support |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
about bounded alpha equation for bubbleFoam and twoPhaseEulerFoam | kaifu | OpenFOAM | 2 | May 6, 2011 06:33 |
using bubbleFOAM to model a sludge digester tank | Franz_J | OpenFOAM Running, Solving & CFD | 1 | September 30, 2010 23:09 |
Inputs for bubbleFoam | rans2009 | OpenFOAM | 0 | October 8, 2009 08:59 |
bubbleFoam | rans2009 | OpenFOAM | 3 | October 5, 2009 05:28 |
Lift force modeling in bubbleFoam | holger_marschall | OpenFOAM Running, Solving & CFD | 2 | December 10, 2007 16:24 |