CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] keyword allowFreeStandingZoneFaces is undefined in dictionary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 3, 2021, 07:26
Default keyword allowFreeStandingZoneFaces is undefined in dictionary
  #1
New Member
 
Maxime Cabrol
Join Date: Apr 2021
Posts: 1
Rep Power: 0
Maxime_Cabrol is on a distinguished road
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.
Maxime_Cabrol is offline   Reply With Quote

Reply

Tags
freestandingzonefaces, import, snappyhexmesh, stl


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 01:34


All times are GMT -4. The time now is 13:50.