CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Problems fluentMeshToFoam (http://www.cfd-online.com/Forums/openfoam/77630-problems-fluentmeshtofoam.html)

raw_recruit June 29, 2010 09:08

Problems fluentMeshToFoam
 
Hello everyone,

i am new to cfd and openFoam.

I tried to use the fluentMeshToFoam command to convert a Fluent-Meshfile into a openFoam format, it didnt work! :eek:

Message:
--------------------------------------------------------------------
wrong token type - expectet int found on line 0 the punktion token ')'
file: IStringStream.sourceFile at line0.
From function operator>>(Istream&, int&)
in file primitives/ints/int/intIO.C at line 69
FOAM exicting
--------------------------------------------------------------------
I read that this only works with an ascii-File.

How can i find out if my file is ascii or binary? :confused:
Is there a possibility to convert a binary in an assci-file? :confused:
Can anyone tell me what went wrong by interpretting the error-message?

Thanks for your help

raw_recruit

Marta August 30, 2010 05:22

Hi Fabian! I saw that this post is quite old, so maybe you have already found out.
Anyway, that happened to me too. It's because of your file format. You should convert it from binary to ASCII. There is an appropriate command for this in Fluent, i think (when you do the export mesh).

Hope this helps

Marta

raw_recruit August 30, 2010 05:48

Hello Marta,

i already solved that problem. But thanks a lot for your help.


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