|
[Sponsors] |
August 29, 2017, 07:16 |
refinementRegions is undefined
|
#1 |
New Member
Hugo
Join Date: Jul 2017
Posts: 14
Rep Power: 9 |
Hello everyone,
I have this error when running snappyHexMesh: --> FOAM FATAL IO ERROR: keyword refinementRegions is undefined in dictionary "/home/sylvie/OpenFOAM/sylvie-v1612+/run/projetfinalsimplefoammanuel/system/snappyHexMeshDict.castellatedMeshControls" file: /home/sylvie/OpenFOAM/sylvie-v1612+/run/projetfinalsimplefoammanuel/system/snappyHexMeshDict.castellatedMeshControls from line 23 to line 118. From function const Foam::dictionary& Foam::dictionary::subDict(const Foam::word&) const in file db/dictionary/dictionary.C at line 642. FOAM exiting Here is my snappyHexMeshDict where there is a line with refinementRegions !...: FoamFile { version 2.0; format ascii; class dictionary; object snappyHexMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // #includeEtc "caseDicts/mesh/generation/snappyHexMeshDict.cfg" castellatedMesh on; snap on; addLayers off; geometry { bats.stl {type triSurfaceMesh; name bats;} relief.stl {type triSurfaceMesh; name relief;} cheminee.stl {type triSurfaceMesh; name cheminee;} fondcheminee.stl {type triSurfaceMesh; name fondcheminee;} refinementBox { type searchableBox; min ( 0 0 0); max (250 180 90); //base (250 180 90) } }; castellatedMeshControls { features ( { file "bats.eMesh"; level 1; } { file "relief.eMesh"; level 1; } { file "cheminee.eMesh"; level 1; } { file "fondcheminee.eMesh"; level 1; } ); refinementSurfaces { bats { level (3 3); //base (3 3) patchInfo { type wall; } } relief { level (3 3); //base (3 3) patchInfo { type wall; } } cheminee { level (3 3); //base (3 3) patchInfo { type wall; } fondcheminee { level (3 3); //base (3 3) patchInfo { type wall; } } } refinementRegions { refinementBox { mode inside; levels ((1E15 2)); } } locationInMesh (171 173.5 25); //au départ (1 1 1) } snapControls { explicitFeatureSnap true; implicitFeatureSnap false; } addLayersControls { layers { "CAD.*" { nSurfaceLayers 2; //base 2 } } relativeSizes true; expansionRatio 1.2; finalLayerThickness 0.5; minThickness 1e-3; } meshQualityControls { } writeFlags ( scalarLevels layerSets layerFields ); mergeTolerance 1e-6; // ************************************************** *********************** // I don't understand why... Any help ? Thanks in advance |
|
August 30, 2017, 04:20 |
|
#2 |
New Member
Hugo
Join Date: Jul 2017
Posts: 14
Rep Power: 9 |
In fact I deleted all the files and did again and now it's ok. But when I go into parafoam, when i want to select the buildings and the relief and the chimney (so meshed with snapppyHexMesh), they just disappear and only the box (so meshed with blockmesh) remains (with inlet, oulet etc...) I don't understand at all....
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Second Derivative Zero - Boundary Condition | fu-ki-pa | OpenFOAM | 11 | March 27, 2021 05:28 |
LEMOS InflowGenerator | r_gordon | OpenFOAM Running, Solving & CFD | 103 | December 18, 2018 01:58 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 13:38 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
G95 + CGNS | Bruno | Main CFD Forum | 1 | January 30, 2007 01:34 |