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

[snappyHexMesh] snappyHexMesh/Castellated Mesh not working

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2019, 09:42
Default snappyHexMesh/Castellated Mesh not working
  #1
Member
 
shima
Join Date: Feb 2018
Posts: 58
Rep Power: 8
shimakasaei is on a distinguished road
Hi
I am simulating flow in a flume with the use of olaFlow.
I used snappyHexMesh for the solid structures that I have in the flow, it runs without any error but at the end, when I open it with paraview, it doens't show me any whole in the place of my ".stl" files.

Here is my snappyHexMeshDict, I modified it according to the breakwater tutorial of olaFlow but the results are not the same. (although in breakwater example it shows a whole, in my simulation it doesn't)

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

castellatedMesh true;
snap false;
addLayers false;

geometry
{
A3b2.stl
{
type triSurfaceMesh;
name A3b2;
}
A3b1.stl
{
type triSurfaceMesh;
name A3b1;
}
A3b3.stl
{
type triSurfaceMesh;
name A3b3;
}

}

castellatedMeshControls
{
maxLocalCells 10000000;
maxGlobalCells 10000000;
minRefinementCells 10;
maxLoadUnbalance 0.10;
nCellsBetweenLevels 2;
//resolveFeatureAngle 30;

features
(
{
file "A3b2.eMesh";
level 1;
}
{
file "A3b1.eMesh";
level 1;
}
{
file "A3b3.eMesh";
level 1;
}
);

refinementSurfaces
{
A3b2
{
level (0 0);
}
A3b1
{
level (0 0);
}
A3b3
{
level (0 0);
}
}

resolveFeatureAngle 30;

refinementRegions
{

}

locationInMesh (6.6 0 0.0);
allowFreeStandingZoneFaces true;
}

snapControls
{
nSmoothPatch 3;
tolerance 4.0;
nSolveIter 30;
nRelaxIter 5;
nFeatureSnapIter 5;
}

addLayersControls
{
relativeSizes true;

layers
{
terrain_patch0
{
nSurfaceLayers 9;
}

ground
{
nSurfaceLayers 9;
}
}

expansionRatio 1.2;
finalLayerThickness 0.3;
minThickness 0.0000001;
nGrow 0;
featureAngle 180;
nRelaxIter 5;
nSmoothSurfaceNormals 1;
nSmoothNormals 3;
nSmoothThickness 10;
maxFaceThicknessRatio 0.5;
maxThicknessToMedialRatio 0.3;
minMedianAxisAngle 90;
nBufferCellsNoExtrude 0;
nLayerIter 50;
nRelaxedIter 20;
}

meshQualityControls
{
maxNonOrtho 80;
maxBoundarySkewness 20;
maxInternalSkewness 4;
maxConcave 80;
minVol 1e-13;
minTetQuality -1E30;
minArea -1;
minTwist 0.05;
minDeterminant 0.001;
minFaceWeight 0.05;
minVolRatio 0.01;
minTriangleTwist -1;
nSmoothScale 4;
errorReduction 0.75;
relaxed
{
maxNonOrtho 80;
}
}

debug 0;
mergeTolerance 1e-6;


I will appreciate for any help.
Thanks,
shima
shimakasaei 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
Dynamic gradient mesh adaption not working properly MarkelRF FLUENT 0 August 28, 2018 06:19
Gambit problems Althea FLUENT 22 January 4, 2017 04:19
Mesh interfaces and reactions in porous media - why not working? RossFS FLUENT 0 December 15, 2013 06:40
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 10:38


All times are GMT -4. The time now is 02:38.