CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Problems with simpleFoam with flow in pipe (https://www.cfd-online.com/Forums/openfoam/78355-problems-simplefoam-flow-pipe.html)

fsalvucci July 19, 2010 14:08

Problems with simpleFoam with flow in pipe
 
1 Attachment(s)
Hi everyone!! I need a little help. I'm performing a 3D simulation of laminar, incompressible flow in a straight pipe. When analizing my results, i found them a little bit confusing. The thing is, that, instead of finding that the flow is parabolic, it develops into a parabolic-like profile but "translated" from the origin, that is, a parabolic manner but that in the walls is not zero. The detalis of the results can be seen in the attached images.

As boundary conditions for U, i set a parabolic profile with max_vel = 0.46 m/s at inlet, zeroGradient at outlet, and zero for the wall.
For p, i set it to zero at the outlet. (see the o files for U and p attached)

I also attach the fvSolution and fvSchemes files.

In addition, i check the residuals, and they seem to converge nicely (see Ux residual plot attached)

The tubes dimensions are diamater = 0.003 m and lenght = 0.01 m, the cinematic viscosity (nu) is 3e-6, and turbulence is off.

Anyone may have an idea of what is happening?

fsalvucci July 19, 2010 14:11

Extra-comment: I also performed the simulations with a surfaceNomalFixedValue for inlet velocity, and happens the same, the flows develope into this "shifted" parabolic profile.

Helpppp!!! jajajaja

MartinB July 19, 2010 15:43

1 Attachment(s)
Hi Fernando,
here is a case with surfaceNormalFixedValue as boundary condition and your specifications.
My velocity profile looks ok...
Run "blockMesh" first...
Martin

fsalvucci July 19, 2010 16:24

Thanks a lot!!! Apparently, although i was setting turbulence off, in RASmodel i was setting kepsilonmodel, instead of laminar.... :D. I think that would correct my results!

Graciassssssssss

trinath2rao April 17, 2012 04:20

Quote:

Originally Posted by MartinB (Post 268072)
Hi Fernando,
here is a case with surfaceNormalFixedValue as boundary condition and your specifications.
My velocity profile looks ok...
Run "blockMesh" first...
Martin

Hi Martin :),

I am entry level Open Foam User,

When I saw in the system/fvSchemes and system/fvSolution files..I found k and epsilon equation are set to solve..
==================================================
divSchemes
{
default none;
div(phi,U) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,R) Gauss upwind;
div(R) Gauss linear;
div(phi,nuTilda) Gauss upwind;
div((nuEff*dev(grad(U).T()))) Gauss linear;
}

laplacianSchemes
{
default none;
laplacian(nuEff,U) Gauss linear corrected;
laplacian((1|A(U)),p) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
laplacian(DREff,R) Gauss linear corrected;
laplacian(DnuTildaEff,nuTilda) Gauss linear corrected;
}
===========================================


Since the problem is laminar, why are you solving for k and e equation..?

can you help me ???

MartinB April 17, 2012 04:25

Hi,

these settings are ignored if simulation is set to be laminar in constant/turbulenceProperties or constant/RASProperties.

Martin

trinath2rao April 17, 2012 08:31

Dear Martin,

Thank You for quick reply...:):)


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