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

[snappyHexMesh] Error "keyword meshQualityControls is undefined" while meshing with snappyHexMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By JeanDidier

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2016, 07:05
Default Error "keyword meshQualityControls is undefined" while meshing with snappyHexMesh
  #1
New Member
 
Alexandre
Join Date: Nov 2016
Posts: 5
Rep Power: 10
JeanDidier is on a distinguished road
Hi,

I'm quite new on the OpenFOAM software and I'm using it for a project during my internship.
I'm actually working on OpenFOAM 2.1.1 and I wanted to mesh a part like the one in the propeller tutorial but a simpler one in order to try it by myself. The thing is that after doing "blockMesh" and "surfaceFeatureExtract" when I start to mesh, the following error occurs :

[1] --> FOAM FATAL IO ERROR:
[1] keyword meshQualityControls is undefined in dictionary "/home/berrichon/OpenFOAM/Test_AMI_2/processor1/system/snappyHexMeshDict"
[1]
[1] file: /home/berrichon/OpenFOAM/Test_AMI_2/processor1/system/snappyHexMeshDict from line 0 to line 0.
[1]
[1] From function dictionary::subDict(const word& keyword)
[1] in file db/dictionary/dictionary.C at line 479.
[1]
FOAM parallel run exiting

I've already searched for some similar errors in the forum and on google but it didn't help me.
I know what the error says but in my snappyHexMesh file there is the meshQualityControls with all the keywords. I checked on the user guide every keyword that should be define there and they are all here. I tried to change some values but without any success. I attached the snappyHexMesh file if you want to check it.
Maybe the error comes from my geometry / .stl files ? Or should I use .obj files ?

Thank You
Regards
Attached Files
File Type: gz snappyHexMeshDict.tar.gz (4.0 KB, 11 views)
JeanDidier is offline   Reply With Quote

Old   November 22, 2016, 04:10
Default
  #2
New Member
 
Alexandre
Join Date: Nov 2016
Posts: 5
Rep Power: 10
JeanDidier is on a distinguished road
I found my mistake yesterday, so just to be helpful for other people, my typo mistake wasn't in the meshQualityControls but in the castelledMeshControls and there was one much bracket. That's why I didn't understand the error after checking so many time my meshQualityControls, so just check carefully the entire snappyHexMesh text when this error occurs.
itu likes this.
JeanDidier is offline   Reply With Quote

Old   February 9, 2018, 15:48
Default
  #3
New Member
 
Daniel Norton
Join Date: Feb 2015
Posts: 17
Rep Power: 11
Dano62 is on a distinguished road
I found a similar but slightly different issue from my error. I had previously run snappyhexmesh without using -overwrite, and I believe it was referencing the most recent version instead of the newest one. I just had to delete the other folders and everything worked fine.
Dano62 is offline   Reply With Quote

Reply


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
[snappyHexMesh] Problems with scaling meshes when meshing with SnappyHexmesh Bnitter OpenFOAM Meshing & Mesh Conversion 1 November 15, 2018 09:26
LiencubiclowRemodel nzy102 OpenFOAM Bugs 14 January 10, 2012 09:53
OpenFoam-1.7.x on Suse 11.2 (64bit) does not compile val46 OpenFOAM Installation 4 August 27, 2010 04:43
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 01:34
Building OpenFoAm on SGI Altix 64bits anne OpenFOAM Installation 8 June 15, 2006 10:27


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