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

error while solving motorBike with simpleFoam or icoFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2011, 05:43
Default error while solving motorBike with simpleFoam or icoFoam
  #1
New Member
 
bubuncfd
Join Date: Nov 2011
Posts: 9
Rep Power: 14
anjansir is on a distinguished road
Hello everyone.

I've been working through the tutorials and decided to attempt the motobike tutorial.

I manage to generate the mesh using blockmesh, snappyHexMesh.

I can see the wireframe model of the motorBike inside paraFoam.

It appears that this tutorial contains boundary conditions so I assumed I could run icoFoam or simpleFoam to obtain a solution. Is this correct.

In attemp to run icoFoam and simpleFoam is closes by saying the following:

Create time

Create mesh for time = 3

Reading transportProperties

Reading field p



--> FOAM FATAL IO ERROR:
cannot open file

file: /home/adam/OpenFOAM/OpenFOAM-1.6.x/tutorials/incompressible/sirdmpleFoam/motorBike/3/p at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 62.

FOAM exiting

I looked at the "3" folder which I believe is the final mesh folder and was not able to locate "p at line 0"d

Can anybody please help me in this regard ?

Thanks everyone for the help.
anjansir is offline   Reply With Quote

Old   December 12, 2011, 13:51
Default
  #2
New Member
 
Michael Ahlmann
Join Date: Feb 2010
Posts: 27
Rep Power: 16
danishdude is on a distinguished road
You have to add the -overwrite flag to snappyHexMesh. What's happening is that when snappy runs the castellation step, it outputs the results to a new time directory; when it runs the snapping process, it outputs to yet another time directory, and the same for the layer addition step. This can be useful when you are setting up a new mesh, but in your case, run the following:

snappyHexMesh -overwrite

This will overwrite the original mesh in constant/polyMesh with the newly made snappy mesh.

The other solution is to transfer the mesh from the "3" directory to constant/polyMesh.

Note the error is telling you that it can't find boundary conditions in the "3" directory. This is because snappy does not transfer boundary condition information to the new directories as it generates them.
danishdude is offline   Reply With Quote

Reply

Tags
icofoam, motorbike, simplefoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 08:21.