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

[snappyHexMesh] "Jagged" U at refined mesh areas

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 25, 2013, 21:51
Default "Jagged" U at refined mesh areas
  #1
New Member
 
Steven Chew
Join Date: May 2012
Posts: 12
Rep Power: 14
Steven Chew is on a distinguished road
Hi all,

Need some assistance here. I virtually copied the Motorbike case from the tutorial and tried to run using my own vehicle geometry. My case consists of an inlet uniform flow (22m/s) with pressure boundary outlet, and all 4 side walls including the stationary floor.

Running wise I got no problem, and I was able to run snappyHexMesh and simpleFoam and get some results. But when I checked the central cut plane U contour plot, this appears



At the entrance and exit area the velocity magnitude seem to be pretty smooth along the ground, but as it approaches even the first refined mesh, there is this jagged contours.

I do not really understand, and I have checked the motorbike case. The flow parameters I have used including the turbulence numbers are all the same. There are also jagged contour along the ground but it seems more controlled under a thinner layer.

I was suspecting should I increase the number of buffer layers? below is my snappyHexMeshdict file

FoamFile
{
version 2.0;
format ascii;
class dictionary;
object snappyHexMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

castellatedMesh true;
snap true;
addLayers true;

geometry
{
sunspec.stl
{
type triSurfaceMesh;
name sunspec;
}

refinementBox
{
type searchableBox;
min (-4000.0 -600.0 -1400.0);
max ( 8000.0 1000.0 1400.0);
}
};

// Settings for the castellatedMesh generation.
castellatedMeshControls
{
maxLocalCells 3000000;

maxGlobalCells 3000000;

minRefinementCells 10;

maxLoadUnbalance 0.10;

nCellsBetweenLevels 3;

features
(
);

// Surface based refinement
refinementSurfaces
{
sunspec
{
level (5 6);
}
}

// Resolve sharp angles
resolveFeatureAngle 30;

refinementRegions
{
refinementBox
{
mode inside;
levels ((1E15 4));
}
}


// Mesh selection
// ~~~~~~~~~~~~~~
locationInMesh (9700 1700 2100);

allowFreeStandingZoneFaces true;
}

// Settings for the snapping.
snapControls
{
nSmoothPatch 4;

tolerance 4.0;

nSolveIter 20;

nRelaxIter 5;
}

// Settings for the layer addition.
addLayersControls
{
relativeSizes true;

layers
{
"(walls|sunspec).*"
{
nSurfaceLayers 1;
}
}

// Expansion factor for layer mesh
expansionRatio 1.0;
finalLayerThickness 0.3;

minThickness 0.1;

nGrow 0;

featureAngle 30;

nRelaxIter 3;

nSmoothSurfaceNormals 1;

nSmoothNormals 3;

nSmoothThickness 10;

maxFaceThicknessRatio 0.5;

maxThicknessToMedialRatio 0.3;

minMedianAxisAngle 90;

nBufferCellsNoExtrude 0;

nLayerIter 50;
}

meshQualityControls
{
maxNonOrtho 65;

maxBoundarySkewness 20;
maxInternalSkewness 4;

maxConcave 80;

minVol 1e-13;

minTetQuality 1e-30;

minArea -1;

minTwist 0.02;

minDeterminant 0.001;

minFaceWeight 0.02;

minVolRatio 0.01;

minTriangleTwist -1;


// Advanced
nSmoothScale 4;
errorReduction 0.75;
}

// Advanced
debug 0;
mergeTolerance 1e-6;


// ************************************************** *********************** //
Steven Chew is offline   Reply With Quote

 


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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 08:54
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 09:03
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10


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