CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Mesh Utilities (
-   -   MshToFoam (

hariya03 July 7, 2008 03:36

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:

| \/ 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?

jaswi July 8, 2008 02:53

Please stop spamming the forum
Please stop spamming the forum ...

It will never get you any productive replies but this.


hariya03 July 9, 2008 03:19

i could not understand.. could
i could not understand.. could you clear me any wrong I made

jaswi July 9, 2008 10:41

What I meant is that please do
What I meant is that please do not post the same problem in multiple threads. Please stick to one thread. What you did is that you posted the same problem under three categories:

OpenFOAM mesh utilities
Preprocessing Foamx
OpenFOAM bugs

And finally you found that it was a simple mistake. Please consider others who will be searching this forum and answering to your question.

The forum is free to use but it is OUR forum , and it is OUR responsibility that we use it for help when we really need it.

Please do not take my comments negatively and Excuse me if I have said anything wrong.

With Best Regards

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