# [mesh manipulation] Cylinder mesh - need for suggestions

 Register Blogs Members List Search Today's Posts Mark Forums Read

 October 22, 2019, 12:45 Cylinder mesh - need for suggestions #1 New Member   Maveryck Andres Join Date: Mar 2019 Posts: 6 Rep Power: 6 Hi everyone currently I'm working on turbulence simulation with k-epsilon model over a cylinder channel. I'm getting a wird plot for all the variables and I'm pretty sure is because of the mesh, as you can see on the attached images the wird values of variable k are exactly located over the edges of the central block so I suspect there has to be a better way to mesh. Any suggestion will be welcome k.png Mesh.jpg

 October 23, 2019, 01:47 #2 Member   Damian Berghof Join Date: May 2019 Posts: 41 Rep Power: 10 Hi Maveryck, can you provide some more details? - boundary conditions, model definition? - geometry size, dimensions and scaling ok ? best, Damian __________________ Get more support about Meshing with Salome and Visualization with ParaView in my growing groups https://bit.ly/2lFfDkQ https://bit.ly/2k2u8Pj

 October 23, 2019, 04:46 #3 Senior Member   Carlo_P Join Date: May 2019 Location: Italy Posts: 176 Rep Power: 6 Hey Maverick, take a look here: https://sites.google.com/site/snappy.../cylinder-case

October 23, 2019, 11:14
#4
New Member

Maveryck Andres
Join Date: Mar 2019
Posts: 6
Rep Power: 6
Quote:
 Originally Posted by virengos Hi Maveryck, can you provide some more details? - boundary conditions, model definition? - geometry size, dimensions and scaling ok ? best, Damian
It is a quite simple case, cyclic on the inlet and outlet with the following boundary conditions (it is worth mentioning that yPlus at the walls is 0.2 approximately):

Epsilon boundary conditions
Code:
```dimensions      [0 2 -3 0 0 0 0];

internalField   uniform 0.6;

boundaryField
{
inlet
{
type            cyclic;
}

outlet
{
type            cyclic;
}

FixedWalls
{

}
}```
k boundary conditions
Code:
```internalField   uniform 0.05;

boundaryField
{
inlet
{
type            cyclic;
}

outlet
{
type            cyclic;
}

FixedWalls
{
type     fixedValue;
value     uniform 1.0e-08;
}
}```
U boundary conditions
Code:
```internalField   uniform (0.1 0 0);

boundaryField
{
inlet
{
type            cyclic;
}

outlet
{
type            cyclic;
}

FixedWalls
{
type            noSlip;
}
}```
The domain is a pipe with diameter = 0.1m and length = 0.1m and bulk velocity is fixed to 1.9 m/s through a momentumSource:

Code:
```momentumSource
{
type            meanVelocityForce;
active          yes;

selectionMode   all;

fields          (U);
Ubar            (1.9 0 0);
}```

 Tags blockmesh, cylinder domain, mesh