CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

flow turbulent in a pipe

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2022, 16:02
Default turbulent flow in a pipe
  #1
New Member
 
simona
Join Date: Apr 2021
Posts: 21
Rep Power: 5
carolee is on a distinguished road
Hello, I am simulating a turbulent flow in a cylindrical tube using simpleFoam using the k-omega turbulence model, the inlet velocity is fixed at 0.455 m/s, I put below the initial conditions, my fvSolution and fvSchemes file, the solution converges but the maximum velocity I get is equal to 0.605 m/s but it must be 2*0.455 m/s, I tried with a longer tube but it remains the same velocity, can someone tell me the cause of this problem please???

Quote:
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //



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

internalField uniform 0.00094;

boundaryField
{


inlet
{
type fixedValue;
value 0.00094;
}

outlet
{
type zeroGradient;
}

wall
{
type kqRWallFunction;
value uniform 0.00094;
}


}
Quote:
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform 0;

boundaryField
{


inlet
{
type calculated;
value uniform 0;
}

outlet
{
type calculated;
value uniform 0;
}

wall
{
type nutkWallFunction;
value uniform 0;
}

}
Quote:
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object omega;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


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

internalField uniform 72.89;

boundaryField
{

inlet
{
type fixedValue;
value 72.89;
}

outlet
{
type zeroGradient;
}

wall
{
type omegaWallFunction;
value uniform 72.89;
}

}
Quote:
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform (0 0 0);

boundaryField
{
inlet
{
type fixedValue;
value uniform (0 0 0.455);
}

outlet
{
type zeroGradient;
}

wall
{
type noSlip;
}

}
Quote:
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform 0;

boundaryField
{
inlet
{
type zeroGradient;
}

outlet
{
type fixedValue;
value uniform 0;
}

wall
{
type zeroGradient;
}

}
Quote:
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
p
{
solver GAMG;
tolerance 1e-06;
relTol 0.01;
smoother GaussSeidel;
}


"(U|k|epsilon|omega|f|v2)"
{
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-06;
relTol 0.1;
}
}

SIMPLE
{
nNonOrthogonalCorrectors 0;
consistent yes;

residualControl
{
p 1e-6;
U 1e-6;
"(k|epsilon|omega|f|v2)" 1e-3;
}
}

relaxationFactors
{
equations
{
U 0.95; // 0.9 is more stable but 0.95 more convergent
".*" 0.95; // 0.9 is more stable but 0.95 more convergent
}
}
Quote:
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

ddtSchemes
{
default steadyState;
}

gradSchemes
{
default Gauss linear;
}

divSchemes
{
default none;
div(phi,U) bounded Gauss linearUpwind grad(U);
div(phi,k) bounded Gauss limitedLinear 1;
div(phi,epsilon) bounded Gauss limitedLinear 1;
div(phi,omega) bounded Gauss limitedLinear 1;
div(phi,v2) bounded Gauss limitedLinear 1;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
div(nonlinearStress) Gauss linear;
}

laplacianSchemes
{
default Gauss linear corrected;
}

interpolationSchemes
{
default linear;
}

snGradSchemes
{
default corrected;
}

wallDist
{
method meshWave;
}

Last edited by carolee; February 10, 2022 at 04:14. Reason: wrong title
carolee 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
turbulent pipe flow result validation preetam69 FLUENT 1 February 22, 2018 21:53
LES of turbulent flow in annular pipe fgarita OpenFOAM 1 October 7, 2016 09:10
3D pipe flow - Using UDF's to define fully developed turbulent flow on the inlet Taz-CFD ANSYS 0 February 19, 2016 07:49
Appropriate model for turbulent, steady state pipe elbow flow milos OpenFOAM Running, Solving & CFD 4 July 9, 2009 02:24
Turbulent pipe flow fudhail Main CFD Forum 0 April 14, 2009 05:23


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