Foam fatal io error:
Hi all
When I try to run my file, I keep getting this error message... though when I check the Polymesh boundary file it all looks ok to me........see below; Any Ideas to point me in the right direction? Kind regards Stephen --> FOAM Warning : From function entry::getKeyword(keyType&, Istream&) in file db/dictionary/entry/entryIO.C at line 77 Reading /home/s/OpenFoam/incompressible/simpleFoam/enterprise/constant/polyMesh/boundary found on line 62 the punctuation token ')' expected either } or EOF --> FOAM FATAL IO ERROR: Expected a ')' or a '}' while reading PtrList, found on line 66 an error file: /home/s/OpenFoam/incompressible/simpleFoam/enterprise/constant/polyMesh/boundary at line 66. From function Istream::readEndList(const char*) in file db/IOstreams/IOstreams/Istream.C at line 151. FOAM exiting boundary card ;;;; /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.7.0 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class polyBoundaryMesh; location "constant/polyMesh"; object boundary; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 8231 ( maxY { type patch; nFaces 100; startFace 1495590; } minX { type symmetryPlane; nFaces 274; startFace 1495690; } maxX { type symmetryPlane; nFaces 274; startFace 1495964; } minY { type patch; nFaces 100; startFace 1496238; } minZ { type symmetryPlane; nFaces 250; startFace 1496338; } maxZ { type symmetryPlane; nFaces 250; startFace 1496588; } stlSurface_patch8224 { type wall; nFaces 138925; startFace 1496838; } ) // ************************************************** *********************** // |
Greetings Stephen,
OK, two things:
Best regards, Bruno |
2 Attachment(s)
Hi there
most likely the numbering , I was ok with simple shapes all going well , so then I decided to see if I could get the Space Ship Enterprise to model Well you never know! I did get it to run through once but with a very course mesh , and I had missed a boundary face , , but for some reason I couldnt get it to run again , with the resulting error yes it was big but not too bad ! I try and attach a zip file I would like to see what happens ! Thanks for the Help Stephen |
Hi Stephen,
Uhm... does this mean that you have been able you use it now, or does the same error still occur? By the way, if the mesh is too coarse - as we can see in the boundary file you attached - there are a lot of patches with zero faces... And setting boundary conditions for these faces might render the simulation impossible to execute. But I don't remember never trying this, so I don't know exactly what will the outcome be. Ah, another note: you can try AdMesh to plug any holes there might be in the STL file. Best regards, Bruno |
1 Attachment(s)
tried a more simple mesh and it ran ok
I will come back to the enterprise when I have more time I have attached a screen shot of the new mesh , any tips about mesh size or how to run it ?( ps its a little nws maybe? its the only mesh I had for another Job ) I am searching now , so any help is valuable Thank you for your help so fay , most appreciated ! Stephen |
2 Attachment(s)
Quote:
i can't use it because i can't run it, would you please guide me. Thank you very much:) This is what i do, for making admesh . Code:
saeide@linux:~/good/zipfiles> tar -zxvf admesh-0.95.tar.gz |
Hi Saeideh,
Either check the links given at this page: http://openfoamwiki.net/index.php/Sn...xing_STL_files Or try running: Code:
admesh -help Bruno |
Quote:
This is what i do: Code:
saeide@linux:~/good/zipfiles/admesh-0.95> sudo apt-get install admesh |
Hi Saeideh,
For posting code, please follow the instructions given on the second link on my signature. As for using AdMesh, since you compiled it from source, you should use the version you have, namely by running from within the folder "~/good/zipfiles/admesh-0.95" like this: Code:
./admesh -help Code:
admesh Code:
export PATH=$PATH:/home/good/zipfiles/admesh-0.95 Best regards, Bruno |
All times are GMT -4. The time now is 06:37. |