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

[snappyHexMesh] Urgent

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Carlo_P

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 7, 2019, 01:04
Default Urgent
  #1
New Member
 
Join Date: Oct 2019
Posts: 13
Rep Power: 6
cyberpr123 is on a distinguished road
Hello all,
I am new to OpenFOAM, I am trying to generate mesh using snappyHexMesh.
I realised that castellated mesh is not working properly.
If I keep it ON or OFF; meshing are still same. Can you help me what is wrong in it?? Also, if i increase level of refinement, there is error, and the meshing aborted.

refinementSurfaces
{
hull
{
level (2 2);
}



This is my SHM code-

#includeEtc "caseDicts/mesh/generation/snappyHexMeshDict.cfg"

castellatedMesh on;
snap on;
addLayers on;

geometry
{
hull
{
type triSurfaceMesh;
file "hull.stl";

patchInfo {
type wall;
}
}
};

castellatedMeshControls
{
features
(
{ file "hull.eMesh"; level 6; }
);

refinementSurfaces
{
hull
{
level (2 2);
}
resolveFeatureAngle 60;
}

refinementRegions
{
//inside , outside , distance
CAD
{
mode inside;
levels ((1E15 5));
}
}

locationInMesh (1.5 1 0); // Offset from (0 0 0) to avoid
// coinciding with face or edge
//nCellsBetweenLevels 3;
}

snapControls
{
// explicitFeatureSnap true;
// implicitFeatureSnap false; // by default
}

addLayersControls
{
layers
{
"hull.*"
{
nSurfaceLayers 6;
}
// top
// {
// nSurfaceLayers 5;
// {
}

relativeSizes true; // false, usually with firstLayerThickness
expansionRatio 1.2;
finalLayerThickness 0.002;
minThickness 1e-4;
// firstLayerThickness 0.01;

// maxThicknessToMedialRatio 0.6;
}

meshQualityControls
{
minTetQuality -1e+30;
}

writeFlags
(
// scalarLevels
layerSets
layerFields
);

mergeTolerance 1e-6;

// ************************************************** *********************** //
cyberpr123 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
urgent!!! mesh and geometry melek FLOW-3D 0 August 26, 2013 10:10
Urgent - Polyflow - particle tracking visualization -Urgent shafaatht ANSYS 0 October 13, 2010 04:56
Urgent, Urgent, a UDF problem, PLEASE HELP!!! Max FLUENT 1 September 24, 2010 20:30
Urgent...urgent...plss!!! astronome FLUENT 0 October 16, 2009 07:17
tmerge urgent urgent jessica FLUENT 4 July 15, 2006 13:37


All times are GMT -4. The time now is 00:54.