May 3, 2021, 06:26
|
keyword allowFreeStandingZoneFaces is undefined in dictionary
|
#1
|
New Member
Maxime Cabrol
Join Date: Apr 2021
Posts: 1
Rep Power: 0
|
Hi everyone, when I try to use snappyHexMesh on my imported STL file it seems to work well :
Code:
Overall mesh bounding box : (-1 0 -1) (1 1 1)
Relative tolerance : 1e-06
Absolute matching distance : 3e-06
Reading refinement surfaces.
Read refinement surfaces in = 0.01 s
Reading refinement shells.
Refinement level 2 for all cells inside cylinder.stl
Read refinement shells in = 0.01 s
Setting refinement level of surface to be consistent with shells.
Checked shell refinement in = 0 s
Reading features.
Read edgeMesh cylinder.eMesh
points : 880
edges : 880
boundingBox : (-20 -19.9938 -50) (51 19.9938 50)
Refinement level according to distance to "cylinder.eMesh" (880 points, 880 edges).
level 1 for all cells within 0 metre.
Read features in = 0 s
Determining initial surface intersections
-----------------------------------------
Edge intersection testing:
Number of edges : 192500
Number of edges to retest : 192500
Number of intersected edges : 0
Calculated surface intersections in = 1.12 s
Initial mesh : cells:62500 faces:192500 points:67626
Cells per refinement level:
0 62500
Adding patches for surface regions
----------------------------------
Patch Type Region
----- ---- ------
cylinder:
4 wall cylinder
Added patches in = 0.01 s
Selecting decompositionMethod none
But then I receive this error message :
Code:
FOAM FATAL IO ERROR:
keyword allowFreeStandingZoneFaces is undefined in dictionary "/home/maxime/postGeo/system/snappyHexMeshDict.castellatedMeshControls"
file: /home/maxime/postGeo/system/snappyHexMeshDict.castellatedMeshControls from line 52 to line 148.
From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
in file db/dictionary/dictionary.C at line 566.
I previously successfully applied blockMesh and surfaceFeatureExtract that gave me :
Code:
FOAM FATAL IO ERROR:
keyword allowFreeStandingZoneFaces is undefined in dictionary "/home/maxime/postGeo/system/snappyHexMeshDict.castellatedMeshControls"
file: /home/maxime/postGeo/system/snappyHexMeshDict.castellatedMeshControls from line 52 to line 148.
From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
in file db/dictionary/dictionary.C at line 566.
The blockMeshDict I'm using is :
Code:
convertToMeters 1; //This gives you the scale: 0.001 would mean all units in this file are [mm]
vertices //list of vertices defining the geometry
(
(-1 0 -1) //This is point 0. Not 1!
(1 0 -1) //This is point 1
(1 1 -1) //point 2
(-1 1 -1) //point 3
(-1 0 1) //point 4
(1 0 1) //point 5
(1 1 1) //point 6
(-1 1 1) //point 7
/* . .. . . . . . . . . . . . . . . . . . . . . On ajoute une surface au centre du cube servant de "inlet" */
(-1 -1 0.1) // i1 point 8
(-1 -1 0.2) // i2 .. 9
(-1 -0.9 0.2) // i3 .. 10
(-1 -0.9 0.1) // i4 .. 11
/* . . . . . . . . . . . . . . . . . . . . .
Sortie du fluide
. . . . . . . .. .. . . . . . . . . . . . . */
(1 0 0.99) // s5 point 12
(1 1 0.99) // s6 .. 13
);
blocks //defining the block which the geometry is made out of
(
hex (0 1 2 3 4 5 6 7) (50 25 50) simpleGrading (1 1 1)
);
boundary
(
walls //choose a name for the boundary
{
type wall; //define the type of the boundary
faces
(
(0 4 5 1) // face 1 haut
(3 7 6 2) // face 2 bas
);
}
inlet
{
type patch;
faces
(
(0 4 7 3) // face 3 gauche
);
}
outlet
{
type patch;
faces
(
(2 1 5 6) // face 4 droite
);
}
frontAndBack
{
type wall;
faces
(
(1 2 3 0) // face 5 avant
(7 6 5 4) // face 6 arriθre
);
}
);
Thanks in advance.
|
|
|