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/)
-   -   [Commercial meshers] Ascii Fluent msh OF Fatal IO Error regIOobjectReadC at line 66 (https://www.cfd-online.com/Forums/openfoam-meshing/61682-ascii-fluent-msh-fatal-io-error-regioobjectreadc-line-66-a.html)

sponiar August 9, 2007 06:22

Ascii Fluent msh OF Fatal IO Error regIOobjectReadC at line 66
 
Hello everybody,
system: Suse 10.0, x86_64, opteron.
installation: successfull
foamInstallationTest: no critical error, no warnings.

When I try to convert tutorial fluent mesh file (.../tutorials/icoFoam/elbow/), I've got this message:
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : fluentMeshToFoam r c elbow.msh
Date : Aug 09 2007
Time : 12:07:03
Host : opteron1
PID : 9818
Root : r
Case : c
Nprocs : 1
Create time



--> FOAM FATAL IO ERROR : cannot open file

file: r/c/system/controlDict at line 0.

From function regIOobject::readStream(const word&)
in file db/regIOobject/regIOobjectRead.C at line 66.

FOAM exiting

Same error message get, when I try to convert simple mesh file from gambit and Tgrid. Mesh file does not contain any MRF, interface/internal BC, periodicy atc.

Thanks a lot for your response

hjasak August 9, 2007 06:27

And where is the case director
 
And where is the case directory that you are trying to make the mesh for? From the directory where you are trying to run, do:

ls l r/c/system/controlDict

and take it from there.

Hrv

sponiar August 9, 2007 07:19

Thank you for fast response. T
 
Thank you for fast response. Truth is, I didn't understand quite well to marking place <root> <case>. Well. I am just in tutorial directors tree:
.../tutorials/icoFoam>

Type to shell:
fluentMeshToFoam ./ elbow elbow.msh

And get this message:
--> FOAM FATAL ERROR : fluentMeshToFoam: file "elbow.msh" not found

From function fluentToFoam::main(int argc, char *argv[])
in file fluentMeshToFoam.L at line 894.

FOAM exiting

It is still looking like my understanding to <root> and <case> is not quite bright. Could you tell me, what should I type after fluentMeshToFoam?
<root> ./ ... place, when I am just now
<case> ... director, which content mesh file
and finally filename of mesh file. Is it correct?

Sponiar D.

sponiar August 9, 2007 07:51

After all, I break it. I find
 
After all, I break it.
I find correct syntax for converting mesh file.

fluentMeshToFoam . msh_dir msh_dir/mesh_file.msh
Eureka! http://www.cfd-online.com/OpenFOAM_D...part/happy.gif

It is my first step with OpenFOAM, so I am deeply sorry for primitive questions.
Thanks for patience.
David S.

roger December 12, 2008 18:42

Hi David! I have the same p
 
Hi David!

I have the same problems as you had, but I don't know what to write after fluentMeshToFoam. My new case is in simpleFoam (it is called Malla), and my .msh file is called MALLA.msh. Sorry, I'm quite new in it. Thanks in advanced


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