|
[Sponsors] |
November 19, 2010, 08:25 |
Problem with file
|
#1 |
New Member
Wolfgang Strauss
Join Date: Nov 2010
Location: Germany / Bavaria / Eichstätt
Posts: 15
Rep Power: 16 |
hi foamers!
I created a flow over a circular cylinder with snappyHexMesh. The blockMesh and snapyyHexMesh works, but if i run it with simpleFoam, there following error appears. Create mesh for time = 3 Reading transportProperties Reading field p cannot open file file: .../20101118_Zylinder_snappy/3/p at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 62. FOAM exiting Yea.. there is no p file. I'm not very experienced in OpenFoam (4Weeks) or in programming. Where i can find the mistake, i do not know. If i run the same with Windows: Cannot find file "" in directory "constant/triSurface" From function Time: findInstance(const fileName&, const word&, constIOobject::readOption) in file db/Time/findInstance.C at line 148. FOAM parallel run exiting To me it seems like, it can not find the *.stl file... ?? But in Linux with paraView i can see cylinder *.stl file. Very frustrating! Hope you can help me! best regards Wolfgang |
|
November 19, 2010, 11:40 |
Try -overwrite flag
|
#2 |
New Member
Valerio Novaresio
Join Date: Mar 2009
Location: Polonghera, Cuneo, Italy
Posts: 27
Rep Power: 17 |
Hi WolfgangS,
snappyHexMesh writes the intermediates steps of the mesh generation and writes the final mesh into "3" subdirectory. In your controDict you probably have the setting "startFrom latestTime". So when you run simleFoam it tries to start from "3" subdirectory where it finds the mesh but doesn't find the data (in this case p). Delete "1", "2" and "3" folders and try to run "snappyHexMesh -overwrite". In this case snappyHexMesh writes the mesh in the standard constant directory and probably all will go fine! :-)
__________________
...The best way to acquire new knowledge is to share it... |
|
November 22, 2010, 05:52 |
|
#3 |
New Member
Wolfgang Strauss
Join Date: Nov 2010
Location: Germany / Bavaria / Eichstätt
Posts: 15
Rep Power: 16 |
hi novyno!
Thanks for your quick reply. I have found my probleme with the start.cmd. It is a little bit irritating. Regular all simulations run with 12 processors parallel. In my case (cylinder) the snappyHexMesh doesn't. I tried the snappyHexMesh with one processor and it works know. funny! best regards Wolfgang |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
tecio compilation errors in latest 1.6.x | rsamuel | OpenFOAM Bugs | 2 | June 25, 2021 09:10 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
wmake compiling Problem with OF1.5 | openTom | OpenFOAM Installation | 4 | May 3, 2009 15:44 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |