|
[Sponsors] |
[snappyHexMesh] keyword nGrow undefined in "...snappyHexMeshDict.addLayersControls" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 11, 2013, 09:36 |
keyword nGrow undefined in "...snappyHexMeshDict.addLayersControls"
|
#1 |
New Member
Damiano Natali
Join Date: Mar 2013
Location: Genova, Italy
Posts: 17
Rep Power: 13 |
Hi all OpenFOAMers,
I'm using snappyHexMesh (OF v.2.2). Unfortunately the process breaks down with the following error: Code:
--> FOAM FATAL IO ERROR: keyword nGrow is undefined in dictionary "/home/damiano/openfoamcourse/spillway/system/snappyHexMeshDict.addLayersControls" file: /home/damiano/openfoamcourse/spillway/system/snappyHexMeshDict.addLayersControls from line 201 to line 271. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 402. FOAM exiting Code:
// Settings for the layer addition. addLayersControls { // Are the thickness parameters below relative to the undistorted // size of the refined cell outside layer (true) or absolute sizes (false). relativeSizes true; // Per final patch (so not geometry!) the layer information layers { "(bottomWall|dam).*" { nSurfaceLayers 2; } } // Expansion factor for layer mesh expansionRatio 1.3; //1.0; // Wanted thickness of final added cell layer. If multiple layers // is the thickness of the layer furthest away from the wall. // Relative to undistorted size of cell outside layer. // is the thickness of the layer furthest away from the wall. // See relativeSizes parameter. finalLayerThickness 0.7; //0.3; // Minimum thickness of cell layer. If for any reason layer // cannot be above minThickness do not add layer. // Relative to undistorted size of cell outside layer. // See relativeSizes parameter. minThickness 0.25 //0.1; // If points get not extruded do nGrow layers of connected faces that are // also not grown. This helps convergence of the layer addition process // close to features. // Note: changed(corrected) w.r.t 17x! (didn't do anything in 17x) nGrow 1; // Advanced settings // When not to extrude surface. 0 is flat surface, 90 is when two faces // are perpendicular featureAngle 60; // Maximum number of snapping relaxation iterations. Should stop // before upon reaching a correct mesh. nRelaxIter 5; // Number of smoothing iterations of surface normals nSmoothSurfaceNormals 1; // Number of smoothing iterations of interior mesh movement direction nSmoothNormals 3; // Smooth layer thickness over surface patches nSmoothThickness 10; // Stop layer growth on highly warped cells maxFaceThicknessRatio 0.5; // Reduce layer growth where ratio thickness to medial // distance is large maxThicknessToMedialRatio 0.3; // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 16x! 90 degrees corresponds to 130 in 16x. minMedianAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; // Overall max number of layer addition iterations. The mesher will exit // if it reaches this number of iterations; possibly with an illegal // mesh. nLayerIter 50; } Any ideas?! Thanks for your attention, Damiano Last edited by rama13; April 11, 2013 at 09:50. Reason: upoladed attachment |
|
April 15, 2013, 08:26 |
|
#2 |
New Member
Håkon Bartnes Line
Join Date: Mar 2013
Posts: 27
Rep Power: 14 |
Errors like this are usually due to there being brackets out of place in the dictionary. In this case there seems to be one on line 54 that shouldn't be there. Try removing it, and run snappyHexMesh again.
|
|
April 16, 2013, 10:06 |
|
#3 |
New Member
Damiano Natali
Join Date: Mar 2013
Location: Genova, Italy
Posts: 17
Rep Power: 13 |
Hi Håkon
first of all I would like to thank you. Then I was able to solve the problem by deleting the file and modifying another one from scratch...so probably you were right, it was just a matter of misplaced brackets or smth like that! All the bests Damiano |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Second Derivative Zero - Boundary Condition | fu-ki-pa | OpenFOAM | 11 | March 27, 2021 04:28 |
LEMOS InflowGenerator | r_gordon | OpenFOAM Running, Solving & CFD | 103 | December 18, 2018 00:58 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 12:38 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
G95 + CGNS | Bruno | Main CFD Forum | 1 | January 30, 2007 00:34 |