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

[snappyHexMesh] Supposedly missing 'maxNonOrtho' keyword' from SHMDict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2023, 13:02
Default Supposedly missing 'maxNonOrtho' keyword' from SHMDict
  #1
New Member
 
Prom
Join Date: Aug 2023
Posts: 8
Rep Power: 3
gbope7 is on a distinguished road
Hi everyone. I am using SHM and the following error continues to appear:



--> FOAM FATAL IO ERROR: (openfoam-2306)
Entry 'maxNonOrtho' not found in dictionary "/Users/prom----/OpenFOAM/ibukunOluwa/testCases/nstxuTile/testSnappy/system/snappyHexMeshDict.meshQualityControls"


file: system/snappyHexMeshDict.meshQualityControls at line 9 to 306.

From bool Foam::dictionary::readEntry(const Foam::word &, T &, enum keyType:ption, IOobjectOption::readOption) const [T = double]
in file /Volumes/OpenFOAM-v2306/src/OpenFOAM/lnInclude/dictionaryTemplates.C at line 327.

FOAM exiting


However, I do have 'maxNonOrtho' listed in the meshQualityDict subdictionary in SHM. I have no idea what the issue could be. I even restarted openFOAM but it still produced the error.



I am using openFOAM v2306. SHMDict is attached – please advise on what I need to do.
Attached Files
File Type: txt snappyHexMeshDict.txt (9.6 KB, 4 views)
gbope7 is offline   Reply With Quote

Old   August 17, 2023, 02:48
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 703
Rep Power: 13
AtoHM is on a distinguished road
It is listed in the meshQualityControls -> relaxed subdictionary, but missing inside meshQualityControls itself. Add it there as
Code:
meshQualityControls
{
    ...

    maxNonOrtho 65;
    ...

}
and you should be good.
AtoHM is offline   Reply With Quote

Old   August 17, 2023, 12:50
Default
  #3
New Member
 
Prom
Join Date: Aug 2023
Posts: 8
Rep Power: 3
gbope7 is on a distinguished road
Thanks so much, that worked! I also realized that many keyword parameters were not defined in my meshQualityDict dictionary.


Note that I included the line #include "meshQualityDict" at the top of the meshQualityControls sub-dictionary. Keywords like maxNonOrtho should be given values in meshQualityDict and be called up on in snappyHexMesh.
gbope7 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
[OpenFOAM.org] RHEL 7.8 Issues installing ParaView - Third Party install not creating OpenMPI browny OpenFOAM Installation 2 April 24, 2021 06:18
SIGN= keyword required but missing from the license certificate SKDinfinity Hardware 1 August 30, 2016 06:54
what is syntax error : missing ')' before ';' aleisia Fluent UDF and Scheme Programming 8 March 10, 2015 16:42
[OpenFOAM] Xlib: extension "GLX" missing on display goldbeard ParaView 5 March 24, 2013 14:12
errors when installing openfoam2.1 on ubuntu12.o4 hewei OpenFOAM Installation 5 May 29, 2012 08:43


All times are GMT -4. The time now is 01:31.