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

Laminar flow in a 3D Pipe

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 22, 2010, 10:56
Default Laminar flow in a 3D Pipe
  #1
Member
 
Join Date: Apr 2010
Posts: 61
Rep Power: 16
alquimista is on a distinguished road
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.






Thanks in advanced¡
alquimista is offline   Reply With Quote

Old   April 24, 2010, 11:50
Default
  #2
Member
 
Join Date: Apr 2010
Posts: 61
Rep Power: 16
alquimista is on a distinguished road
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
alquimista 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
Using a turbulent model when the flow is entirely laminar. mwhyte FLUENT 1 June 7, 2012 11:35
gravitational acceleration in laminar pipe flow atmcfd ANSYS 0 January 4, 2010 23:19
Flow laminar and stationary of water in a pipe manuel OpenFOAM Running, Solving & CFD 6 March 24, 2007 19:23
First steps - laminar flow in a pipe Maria Phoenics 8 November 27, 2001 12:26
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 16:00


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