|
[Sponsors] |
December 9, 2011, 06:59 |
FOAM error during meshing
|
#1 |
New Member
prashanth
Join Date: Dec 2011
Posts: 5
Rep Power: 14 |
Pls help me out here..this is my first run of openFOAM and im unable to find the error..im just trying to make air flow thru a square pipe:
FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } converToMeters 0.01 vertices { (0 0 0) (0 5 0) (5 5 0) (5 0 0) (0 0 100) (0 5 100) (5 5 100) (5 0 100) }; blocks ( hex(0 1 2 3 4 5 6 7) (20 20 1) simpleGrading(1 1 1) ); edges ( /*define if not straight*/ ); boundary ( inlet { type patch; faces ( (2 1 0 3) ); } outlet { type patch; faces ( (6 7 4 5) ); } upperWall { type wall; faces ( (5 6 2 1) ); } lowerWall { type wall; faces ( (3 0 4 7) ); } frontAndBack { type empty; faces ( (2 3 7 6) (0 1 4 5) ); } ); mergePatchPairs ( ); output from terminal Create time Creating block mesh from "/home/prashanth/OpenFOAM/prashanth-2.0.1/run/2ndtry/constant/polyMesh/blockMeshDict" --> FOAM FATAL IO ERROR: keyword vertices is undefined in dictionary "/home/prashanth/OpenFOAM/prashanth-2.0.1/run/2ndtry/constant/polyMesh/blockMeshDict" file: /home/prashanth/OpenFOAM/prashanth-2.0.1/run/2ndtry/constant/polyMesh/blockMeshDict from line 10 to line 44. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 400. FOAM exiting Any help would be very useful |
|
December 9, 2011, 07:06 |
|
#2 |
Senior Member
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 21 |
Hi,
it must be: convertToMeters 0.01; You are missing the semicolon and there is a typo at "convert". Martin |
|
December 9, 2011, 07:08 |
|
#3 |
New Member
prashanth
Join Date: Dec 2011
Posts: 5
Rep Power: 14 |
omg i should have seen that...
thanks Martin |
|
December 9, 2011, 07:10 |
|
#4 |
Senior Member
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 15 |
Well spotted MartinB.
Also change the accolades after 'vertices' in culry braces, like so: convertToMeters 1; vertices ( (0 0 0) (4 0 0) (0 1 0) (4 1 0) (0 2 0) (4 2 0) (0 0 2) (4 0 2) (0 1 2) (4 1 2) (0 2 2) (4 2 2) ); |
|
December 9, 2011, 07:13 |
|
#5 |
New Member
prashanth
Join Date: Dec 2011
Posts: 5
Rep Power: 14 |
oh yes i did that..forgot to change it here while posting..
thanks though stevenvanharen |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 17:22 |
[Salome] Salome import "Cannot find file "points" in directory..." | mismichael | OpenFOAM Meshing & Mesh Conversion | 5 | June 22, 2019 02:56 |
[mesh manipulation] refineMesh Error | mohsen.boojari | OpenFOAM Meshing & Mesh Conversion | 3 | March 1, 2018 22:07 |
error with reactingFoam | BakedAlmonds | OpenFOAM Running, Solving & CFD | 4 | June 22, 2016 02:21 |
[OpenFOAM] Take derivative of mean velocity in paraFoam | hiuluom | ParaView | 13 | April 26, 2016 06:44 |