CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Pre-Processing (
-   -   Running starToFoam creates read vrt error in 0F 14 (

shaun July 10, 2007 02:15

Hello. I was trying to run the
Hello. I was trying to run the starToFoam mesh conversion utility for the sonicTurbFoam nacaAirfoil tute by issuing the following command.

lads@PhantomWorks:~/OpenFOAM/lads-1.4/run/tutorials/sonicTurbFoam/nacaAirfoil$ starToFoam .. nacaAirfoil nacaAirfoil

The following error was reported:
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4 |
| \ / A nd | Web: |
| \/ M anipulation | |

Exec : starToFoam .. nacaAirfoil nacaAirfoil
Date : Jul 10 2007
Time : 15:42:37
Host : PhantomWorks
PID : 16387
Root : ..
Case : nacaAirfoil
Nprocs : 1
Create time

--> FOAM FATAL ERROR : Cannot read file "nacaAirfoil.vrt"#0 Foam::error::printStack(Foam:
#1 Foam::error::abort()
#2 starMesh::readPoints(double)
#3 starMesh::starMesh(Foam::fileName const&, Foam::Time const&, double)
#4 main
#5 __libc_start_main
#6 __gxx_personality_v0 at ../sysdeps/x86_64/elf/start.S:116

From function starMesh::readPoints()
in file readPoints.C at line 110.

FOAM aborting


I did not have this error initially in reading the .vrt file last time I ran this utility in OF 1.3.

I went back to my OF 1.3 installation and tried again, but to no avail. It did not work either.

I currently use GRIDGEN as my grid generator and was planning to write out grids using the star-cd format.

What am I doing wrong? The OpenFoam case file structure is complete and the command has been issued correctly I believe. The foamCorrectVrt utility does not exist either.

I also tried outputting the grid in Star CCM+ format to take advantage of the ccm26ToFoam utility. GRIDGEN outputs the grid file with the extension '.inp'. This is not the '.ccm' extension I believe is expected by the ccm26ToFoam utility.

Can anyone help with this please?



shaun October 13, 2007 00:27

Answering my own question from
Answering my own question from some time ago, I managed to get this all to work this afternoon without any hassles. I simply ran the starToFoam command after placing the prostar files in the correct location. I.e the same path as the case directory.

My appologies for my ignorance and stupidity.

Thanks for the access to this software and its continued development.



murali March 14, 2013 00:41

convert prostar mesh to openFoam mesh format
hello foamers

i have difficult to convert the prostar geometry files to openFoam mesh format in tutotrial of soniFoam,

can any one help me to convert the mesh file

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