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

Problem with file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2010, 07:25
Default Problem with file
  #1
New Member
 
Wolfgang Strauss
Join Date: Nov 2010
Location: Germany / Bavaria / Eichstätt
Posts: 15
Rep Power: 15
WolfgangS. is on a distinguished road
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
WolfgangS. is offline   Reply With Quote

Old   November 19, 2010, 10:40
Default Try -overwrite flag
  #2
New Member
 
Valerio Novaresio
Join Date: Mar 2009
Location: Polonghera, Cuneo, Italy
Posts: 27
Rep Power: 17
novyno is on a distinguished road
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...
novyno is offline   Reply With Quote

Old   November 22, 2010, 04:52
Default
  #3
New Member
 
Wolfgang Strauss
Join Date: Nov 2010
Location: Germany / Bavaria / Eichstätt
Posts: 15
Rep Power: 15
WolfgangS. is on a distinguished road
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
WolfgangS. 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
tecio compilation errors in latest 1.6.x rsamuel OpenFOAM Bugs 2 June 25, 2021 08:10
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
wmake compiling Problem with OF1.5 openTom OpenFOAM Installation 4 May 3, 2009 14:44
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 11:46
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51


All times are GMT -4. The time now is 04:57.