CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   MshToFoam (http://www.cfd-online.com/Forums/openfoam-bugs/62457-mshtofoam.html)

hariya03 July 7, 2008 03:37

I have copied the .msh file co
 
I have copied the .msh file converted from adventure on windows to the folder smartvalve in simplefoam

The smartvalve is a new case I created by right clicking on the case browser and by using create case command.

The mesh file is placed in the smartvalve case folder. I have not did any proceedings in system and constant directories. First I started the mshToFoam command directly.

The mshToFoam command exits as like this


*---------------------------------------------------------------------------*\

| ========= |
|

| \ / F ield | OpenFOAM: The Open Source CFD Toolbox
|

| \ / O peration | Version: 1.4.1
|

| \ / A nd | Web: http://www.openfoam.org
|

| \/ M anipulation |
|

\*---------------------------------------------------------------------------*/



Exec : mshToFoam OpenFOAM/harikr-1.4.1/run/tutorials/simpleFoam
smartvalve CFD

Date : Jul 04 2008

Time : 18:21:20

Host : D6

PID : 22462

Root : OpenFOAM/harikr-1.4.1/run/tutorials/simpleFoam

Case : smartvalve

Nprocs : 1

Create time







--> FOAM FATAL IO ERROR : Attempt to get back from bad stream



file: CFD at line 1.



From function void Istream::getBack(token& t)

in file db/IOstreams/IOstreams/Istream.C at line 44.



FOAM exiting


Could advice me where I had make mistake?


All times are GMT -4. The time now is 18:06.