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

[snappyHexMesh] Meshing with snappyHexMesh of a Complex Geometry

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2017, 17:44
Default Meshing with snappyHexMesh of a Complex Geometry
  #1
New Member
 
Luis Fernando
Join Date: Nov 2013
Location: Perú
Posts: 19
Rep Power: 13
Ferdinand is on a distinguished road
Dear Foamers,

I have a lot problems with my mesh. The domains is a batrymetry of river meander, i use for development the mesh snappyHexMesh (SHM) and have problems with The refinement of the mesh.


Best regards,
Luis


__________________________________________________ ______________________
castellatedMesh true;
snap true;
addLayers false;

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

refinementBox
{
type searchableBox;
min (0 -2.0 -1.8);
max (40.00 42.00 -0.93);
}
};

castellatedMeshControls
{
maxLocalCells 200000;
maxGlobalCells 1200000;
minRefinementCells 100;
nCellsBetweenLevels 3;
refinementSurfaces
{
batimetria
{
level (5 6); //(4 4); //it was 2 2 C.Frias
}
}
resolveFeatureAngle 1;
refinementRegions
{
refinementBox
{
mode inside;
levels ((1E15 6));
}
}

locationInMesh (3.8758781 4.377407 -0.935255);

}

snapControls
{
nSmoothPatch 3;

tolerance 4.0;
nSolveIter 30;
nRelaxIter 5;
}
addLayersControls
{
relativeSizes true;
layers
{
batimetria
{
nSurfaceLayers 6;
}
}
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 130;
nBufferCellsNoExtrude 0;
nLayerIter 50;
}
meshQualityControls
{

maxNonOrtho 80;

maxBoundarySkewness 40;
maxInternalSkewness 8;

maxConcave 90; //it was 80 C.Frias


minFlatness 0.5;

minVol 1e-13;
minTetQuality 1e-30;

minArea 1e-13;

minTwist 0.02;
minDeterminant 0.001;
minFaceWeight 0.02;
minVolRatio 0.01;
minTriangleTwist -1;

nSmoothScale 4;

errorReduction 0.75;
}

debug 0;
mergeTolerance 1e-6;
Ferdinand is offline   Reply With Quote

Old   March 19, 2017, 18:28
Default
  #2
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 25
me3840 is on a distinguished road
You are going to need to give more information if you want help. Post pictures of your geometry and the meshes you have already. What are the refinement problems you're having?
me3840 is offline   Reply With Quote

Old   March 20, 2017, 00:02
Default
  #3
New Member
 
Luis Fernando
Join Date: Nov 2013
Location: Perú
Posts: 19
Rep Power: 13
Ferdinand is on a distinguished road
Quote:
Originally Posted by me3840 View Post
You are going to need to give more information if you want help. Post pictures of your geometry and the meshes you have already. What are the refinement problems you're having?
Hello,

I was trying to send my file but I can not upload it. There is some other source of how to send my file.
Thank you very much for your help.

Best regards,
Ferdinand is offline   Reply With Quote

Old   April 25, 2017, 07:53
Default
  #4
Senior Member
 
KaLium's Avatar
 
Kal-El
Join Date: Apr 2017
Location: Finland
Posts: 150
Rep Power: 9
KaLium is on a distinguished road
How complex is your geometry?

maxLocalCells 200000;
maxGlobalCells 1200000;
Seem to have very low values.
KaLium 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
[snappyHexMesh] snappyHexMesh - 3D Wing Meshing Setup & Trials denbjornen OpenFOAM Meshing & Mesh Conversion 1 May 25, 2020 12:14
[ANSYS Meshing] complex geometry meshing hansam3702 ANSYS Meshing & Geometry 0 February 19, 2018 10:54
[ICEM] Problem Meshing Asymmetrical Geometry Madhatter92 ANSYS Meshing & Geometry 1 December 23, 2017 06:56
[ICEM] Meshing complex geometry using hexa with single blocking piyupant ANSYS Meshing & Geometry 0 July 15, 2015 07:05
[GAMBIT] Trouble meshing complex VOF geometry RPJones ANSYS Meshing & Geometry 2 February 14, 2011 19:54


All times are GMT -4. The time now is 18:16.