|
[Sponsors] |
October 7, 2019, 01:04 |
Urgent
|
#1 |
New Member
Join Date: Oct 2019
Posts: 13
Rep Power: 6 |
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; // ************************************************** *********************** // |
|
October 7, 2019, 04:33 |
|
#2 |
Senior Member
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 7 |
Are you running snappyHexMesh -overwrite?
snappyHexMesh creates different mesh in idfferent timestep (folder), 0 (castelled), 1 (snap), 2 (boundary layer). You have to open in paraview e move with the timestep. Otherwise, you can run snappyHexMesh -overwrite and snappy will create the mesh in the normal folder |
|
October 7, 2019, 04:38 |
|
#3 | |
New Member
Join Date: Oct 2019
Posts: 13
Rep Power: 6 |
Quote:
Thanks for your prompt reply. I did not use snappyHexMesh -overwrite, I would use it and see . Thank you so much. |
||
October 9, 2019, 08:09 |
|
#4 |
New Member
Join Date: Oct 2019
Posts: 13
Rep Power: 6 |
Carlo_P,
Using snappyHexMesh -overwrite worked. Thank you |
|
October 9, 2019, 08:26 |
|
#5 |
Senior Member
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 7 |
Great!
If you want to add a reputation point, I will appreciate |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |