CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Laminar flow in a 3D Pipe (http://www.cfd-online.com/Forums/openfoam-solving/75342-laminar-flow-3d-pipe.html)

alquimista April 22, 2010 10:56

Laminar flow in a 3D Pipe
 
Hi.

I'm trying to test a laminar case. It's a 60║ pipe. It has Inlet, Outlet, Wall, and two symmetry planes.

Geometry of the pipe is: Lenght: 3 m, Radius: 0.026 m

So my files are defined as follows:

0/U:

internalField uniform (0 0 0.01);

boundaryField
{
Default_Boundary_Region
{
type fixedValue;
value uniform (0 0 0);
}

inle_1
{

type fixedValue;
value uniform (0 0 0.01);
}

pres_2
{
type zeroGradient;
}

symplane_3
{
type symmetryPlane;
}

symplane_4
{
type symmetryPlane;
}
}



/0/p

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

internalField uniform 0;

boundaryField
{
Default_Boundary_Region
{
type zeroGradient;
}

inle_1
{
type zeroGradient;
}

pres_2
{
type fixedValue;
value uniform 0;
}

symplane_3
{
type symmetryPlane;
}

symplane_4
{
type symmetryPlane;
}

}

constant/transportProperties

nu nu [ 0 2 -1 0 0 0 0 ] 1e-06;

system/fvSolution

solvers
{
p
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
};

U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
}

PISO
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;
}


And tipical schemes for this case.



When I solve it by icoFoam and I run paraFoam I can see the results are bad, the ux and uy velocities has high positive and negative values. I don't know why....
I tried with different inlet velocities too.

http://www.imaxenes.com/mini/ux1oo58vq.jpeg
http://www.imaxenes.com/mini/uy1xx14tw.jpeg
http://www.imaxenes.com/mini/uz1ij83k5.jpeg


Thanks in advancedí

alquimista April 24, 2010 11:50

I just have solved it. It seems to be that there was a problem with paraView.

After I added in the paraFoam script the line export LC_ALL=C I saw the results ok.

Reference post:
http://www.cfd-online.com/Forums/ope...-paraview.html


All times are GMT -4. The time now is 18:42.