CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] Cylinder mesh - need for suggestions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2019, 13:45
Smile Cylinder mesh - need for suggestions
  #1
New Member
 
Maveryck Andres
Join Date: Mar 2019
Posts: 6
Rep Power: 7
Maveryck is on a distinguished road
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
Maveryck is offline   Reply With Quote

Old   October 23, 2019, 02:47
Default
  #2
Member
 
Damian Berghof
Join Date: May 2019
Posts: 41
Rep Power: 11
virengos will become famous soon enough
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
virengos is offline   Reply With Quote

Old   October 23, 2019, 05:46
Default
  #3
Senior Member
 
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8
Carlo_P is on a distinguished road
Hey Maverick,
take a look here:
https://sites.google.com/site/snappy.../cylinder-case
Carlo_P is offline   Reply With Quote

Old   October 23, 2019, 12:14
Default
  #4
New Member
 
Maveryck Andres
Join Date: Mar 2019
Posts: 6
Rep Power: 7
Maveryck is on a distinguished road
Quote:
Originally Posted by virengos View Post
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
    {
     type     zeroGradient;
          
    }
}
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);
}
Maveryck is offline   Reply With Quote

Reply

Tags
blockmesh, cylinder domain, mesh


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
[blockMesh] 3-D Mesh in a cylinder Nikunj.R OpenFOAM Meshing & Mesh Conversion 32 July 9, 2023 14:22
[blockMesh] Cylinder mesh using blockMesh with m4 macro Lewis Liang OpenFOAM Meshing & Mesh Conversion 2 November 21, 2017 03:28
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
rotating cylinder using sliding mesh Tim Daly FLUENT 1 November 10, 2008 00:02


All times are GMT -4. The time now is 14:08.