CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [snappyHexMesh] snappy not using all refinementRegions and refinementSurfaces (https://www.cfd-online.com/Forums/openfoam-meshing/172785-snappy-not-using-all-refinementregions-refinementsurfaces.html)

suryansh June 6, 2016 06:20

snappy not using all refinementRegions and refinementSurfaces
 
Hi

I am an absolute beginner to OpenFOAM. I am trying to load a geometry made of multiple STL files into snappy.

surfaceFeatureExtract has detected sharp edges and eMesh files have been generated.

But when I run snappyHexMesh, I get the following errors

+++++++++++++++++++++++++++++++++++++++++

Reading refinement surfaces.
--> FOAM Warning :
From function refinementSurfaces::refinementSurfaces(..)
in file autoHexMesh/refinementSurfaces/refinementSurfaces.C at line 226
Reading "/..../system/snappyHexMeshDict.castellatedMeshControls.refineme ntSurfaces" from line 151 to line 204
Not all entries in refinementSurfaces dictionary were used. The following entries were not used :
6
(
list of stl files/ patchnames
)

Reading refinement shells.
--> FOAM Warning :
From function shellSurfaces::shellSurfaces(..)
in file autoHexMesh/shellSurfaces/shellSurfaces.C at line 420
Reading "/../system/snappyHexMeshDict.castellatedMeshControls.refineme ntRegions" from line 218 to line 219
Not all entries in refinementRegions dictionary were used. The following entries were not used : 1
(name of stl)
Read refinement shells in = 0 s

++++++++++++++++++++++++++++++++++++++++++++

Because of this, snappy crashes

[1] --> FOAM FATAL IO ERROR:
[1] Expected a '(' while reading Tuple2, found on line 0 the doubleScalar 0
[1]
[1] file: IOstream.castellatedMeshControls.features.levels at line 0.
[1]
[1] From function Istream::readBegin(const char*)
[1] in file db/IOstreams/IOstreams/Istream.C at line 94.
[1]
FOAM parallel run exiting
[1]

The mesh generated by blockMesh is pretty huge and all STL files are well inside it.

Please help. Thanks in advance :)


All times are GMT -4. The time now is 20:24.