castellatedMeshControls seems to be undefined
Hi Foamers,
I want to generate mesh around a propeller by snappy hex mesh . But I found this error : castellatedMeshControls seems to be undefined I would like to know about your ideas in this regard, /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.1.x-68d39c199c99 Exec : snappyHexMesh Date : Apr 29 2013 Time : 11:50:07 Host : "sub" PID : 3484 Case : /home/reza/Desktop/master_symmetric_snappy nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Read mesh in = 0.05 s --> FOAM FATAL IO ERROR: keyword castellatedMeshControls is undefined in dictionary "/home/reza/Desktop/master_symmetric_snappy/system/snappyHexMeshDict" file: /home/reza/Desktop/master_symmetric_snappy/system/snappyHexMeshDict from line 18 to line 376. From function dictionary::subDict(const word& keyword) in file db/dictionary/dictionary.C at line 479. FOAM exiting reza@sub:~/Desktop/master_symmetric_snappy$ |
Hey Reza
It's all there in the error message. Please look into it more carefully. Cheers! Ak |
Quote:
|
Can you post your snappyHexMeshDict.
Code:
Please use the [ code] [ /code] (#) text formatting to post it. |
Hi friends,
I run the propeller tutorial in ver 2.1x and it doesn’t seem that the key world is undefined |
Quote:
Would you please explain more... |
means input your snappyHex mesh content between
CODE , /CODE when you post it here ;) |
Code:
[//*--------------------------------*- C++ -*----------------------------------*\ |
Hey
Remove the semicolon ';' at the end of the 'geometry' block. Cheers! Ak |
Hej Akshay,
same error |
Quote:
|
ye Daniel ...there you go Reza! have fun! :)
|
Thanks ,I follow the error and it was made by a syntax.I fix it but now I have a error as below:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Read mesh in = 0.04 s Overall mesh bounding box : (-17.9419 -7.20311 -5.14535) (10.582 7.20311 9.23447) Relative tolerance : 1e-06 Absolute matching distance : 3.50418e-05 Reading refinement surfaces. --> FOAM Warning : From function refinementSurfaces::refinementSurfaces(..) in file autoHexMesh/refinementSurfaces/refinementSurfaces.C at line 167 Reading "/home/reza/Desktop/master_symmetric_snappy/system/snappyHexMeshDict::castellatedMeshControls::refine mentSurfaces::Smallcylinder" from line 118 to line 121 Illegal entry zoneInside inside for faceZone Smallcylinderl since surface Smallcylinder is not closed. Read refinement surfaces in = 8.1 s Reading refinement shells. --> FOAM FATAL ERROR: Shell Smallcylinder.stl does not support testing for inside Probably it is not closed. |
Hey Reza
The stl is not closed! This could be a tolerance issue. Where did you create the stl? Try reducing the tolerance when you are writing the STL. Ak |
Quote:
I created by solid edge but I had a problem when exporting as STL format .Just shaft is exported that demerited as solid and the other parts are not exported. So I used rhino and followed the recommended steps to generate stl file as binary. what do think about the tolerance values? |
I changed the tolerance to generate finner STL file there is still same error.Any idea(s)?
|
Quote:
Quote:
http://www.cfd-online.com/Forums/ope...d-surface.html where a lot of surface check tools are mentioned. Maybe you can find something helpful there. Quote:
[ quote] before the code and a [ /quote] after the code. This way, it is easier to read your output messages and code. Why is that useful? Compare: Error Message:( found at the beginning of the line Code:
Error Message:( found at the beginning of the line |
A bracket may be missing ... Please check i
A bracket may be missing ... Please check it :)
Quote:
|
A bracket ( syntax ) may be missing ... :)
|
Problem solved ...
A bracket may be missing please check it .. :)
|
All times are GMT -4. The time now is 20:26. |