|December 12, 2011, 06:43||
error while solving motorBike with simpleFoam or icoFoam
Join Date: Nov 2011
Posts: 9Rep Power: 7
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 mesh for time = 3
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.
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.
|December 12, 2011, 14:51||
Join Date: Feb 2010
Posts: 27Rep Power: 8
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:
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.
|icofoam, motorbike, simplefoam|
|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 19:07|