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] FOAM FATAL ERROR Cannot open file itape17 (https://www.cfd-online.com/Forums/openfoam-meshing/61979-foam-fatal-error-cannot-open-file-itape17.html)

Ervin Adorean (Adorean) February 24, 2005 07:36

FOAM FATAL ERROR Cannot open file itape17
 
Hi,
I try to use kivaToFoam mesh utility and get the following error:
Can anybody please help me? Thanks

Ervin

Exec : kivaToFoam /home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/engineFoam kivaTest -file itape17 -version kiva3v
Date : Feb 24 2005
Time : 13:27:08
Host : isi014.mot.upv.es
PID : 5636
Root : /home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/engineFoam
Case : kivaTest
Nprocs : 1
Create database


--> FOAM FATAL ERROR : Cannot open file "itape17"

Function: kivaToFoam
in file: readKivaGrid.H at line: 5.

Hrvoje Jasak (Hjasak) February 24, 2005 12:37

In the directory where you ar
 
In the directory where you are trying to run the kivaToFoam command, there should be a file called "itape17". The code says it is not there.

Hrv

Ervin Adorean (Adorean) February 24, 2005 13:38

The file "itape17" is in the
 
The file "itape17" is in the directory: /home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/engineFoam/kivaTest.
Should it be elsewhere?

Ervin

Hrvoje Jasak (Hjasak) February 24, 2005 18:02

Not that hard: 1) cd /home
 
Not that hard:

1) cd /home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/engineFoam/kivaTest

2) kivaToFoam /home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/engineFoam kivaTest -file itape17 -version kiva3v

What does it say now?

Hrv

Eugene de Villiers (Eugene) February 24, 2005 18:06

Unless your version of OpenFO
 
Unless your version of OpenFOAM-1.0.2 is different from mine, there is no "itape17" file in the specified tutorial directory. There is however an "otape17" file.

Hrvoje Jasak (Hjasak) February 24, 2005 18:09

Sorry, my bad: should be otap
 
Sorry, my bad: should be otape17

Thanks Eugene,

Hrv

Ervin Adorean (Adorean) February 25, 2005 04:18

Thank you, both. 1) With c
 
Thank you, both.

1) With changing the root from a terminal, to kivaTest directory, it works. The "otape17" file is actually in this directory.

2) The file itape17 was there because I have put it there. (my mistake)

3) I didn't find a way of changing the root to kivaTest directory from the FoamX GUI, though.

Ervin

atsushi July 25, 2006 02:24

Hi. I'm a beginner of OPENF
 
Hi.

I'm a beginner of OPENFOAM,
and now try to use tutorials/engineFoam.

Please tell me what is written in "otape17" file.
What is the meaning of numbers written in it?

Please help me.

Atsushi

chris1980 July 25, 2006 02:29

otape17 is a arbitrary file na
 
otape17 is a arbitrary file name for the Kiva-3V which will be imported into the OF case.

fra76 July 25, 2006 02:37

The file itape17 is the mesh i
 
The file itape17 is the mesh in Kiva format.
It is made of:
1 line of description
1 line with ncells nverts nregions

<nverts> lines with coordinates and something else:
vertex_index (i4), x, y, z, vertex_flag (fv), idface

<nverts> lines with connettivity and something else:
i1tab, i3tab, i4, i8tab, f, bcl, bcf, bcb, idreg

a line with "mtables", a switch whose value is 0 or 1. If 0, Kiva builds the vectors imtab, jmtab and kmtab. If 1, then follow <nverts> lines with:
i4, imtab, jmtab, kmtab

and nothing more, I think.
Refer to a Kiva manual if you want more details!

Francesco

atsushi July 25, 2006 02:45

Thank you, both. Thank you!
 
Thank you, both.

Thank you!!

Atsushi


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