CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Other] MshToFoam (https://www.cfd-online.com/Forums/openfoam-meshing/61616-mshtofoam.html)

hariya03 July 7, 2008 03:32

MshToFoam
 
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


ould advice me where I had make mistake?


All times are GMT -4. The time now is 11:20.