CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   BCs for parallel ggi (http://www.cfd-online.com/Forums/openfoam/73710-bcs-parallel-ggi.html)

NickG March 15, 2010 08:32

BCs for parallel ggi
 
Hi

Help! Could someone please tell me what BCs for U & p do I have to set in order for parallel ggi to make the flow cross the interface. It works fine on one processor but I don't know what I have to change for parallel.

object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
In
{
type fixedValue;
value uniform (1.62 0 0);
}
InterT
{
type ggi;
value uniform (0 0 0);
}
Out
{
type zeroGradient;
}
SymT
{
type symmetryPlane;
}
WallT
{
type slip;
}
Blade
{
type movingWallVelocity;
value uniform (0 0 0);
}
InterR
{
type ggi;
value uniform (0 0 0);
}
SymB
{
type symmetryPlane;
}
}

---------------------
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
In
{
type zeroGradient;
}
InterT
{
type ggi;
value uniform 0;
}
Out
{
type fixedValue;
value uniform 0;
}
SymT
{
type symmetryPlane;
}
WallT
{
type zeroGradient;
}
Blade
{
type zeroGradient;
}
InterR
{
type ggi;
value uniform 0;
}
SymB
{
type symmetryPlane;
}

-------------------------------------------------------

I'm using a kOmegaSST turbulence model so can add those if needs be.

I'm only trying to run it on two cores and Metis splits it between the inner rotating mesh and the outer static one.

Hope you can help

Nick

NickG March 15, 2010 12:12

Doh! - found the answer myself...
put:
globalFaceZones ( insideZone outsideZone );
into decomposeParDict.


All times are GMT -4. The time now is 06:43.