Hi, I'm trying to use starToFo
Hi, I'm trying to use starToFoam but I can't understand how. Let's say I've 3 files (test.bnd,test.cel,test.vrt), I put these files in a directory called "star", and a root directory called "Star" then I type:
starToFoam $HOME_RUN/tutorials/Star star test
--> FOAM FATAL IO ERROR : cannot open file
file: /tutorials/Star/star/system/controlDict at line 0.
Sorry but I tried in such a different way to do that but the results wasn't good...I also put the "test-files" in a polyMesh directory of a case instead of the other files to create the mesh, but nothing!
you have to put your Star file
you have to put your Star files into a existing FOAM case. As you see in the error message FOAM complains about a missing controlDict file!
Thanx...I did it and another e
Thanx...I did it and another error appears:
--> FOAM FATAL ERROR : Cannot read file "test.vrt"
From function starMesh::readPoints()
in file readPoints.C at line 110.
The .vrt file doesn't seem to have any problem
The structure is as requires like
PointsNumber xcoord ycoord zcoor
with the right spaces
Thanx a lot!
this problem is mentioned in t
this problem is mentioned in the userguide (chapter mesh conversion). You have to use foamCorrectVrt but there is no util like this in the recent versions!
I think your using a Star veriosn < 3.2.x because the problem do not show up with newer version of Star.
I understand; I thought that t
I understand; I thought that the user guide talked about foamCorrectVrt only for spacing numbers in scientific notation...
Sorry stefan, 1 more question:
Sorry stefan, 1 more question: can you tell me if you know how correctly to write a .vrt file (spacing, form,...) ? So maybe I try to write a simple conversion program
yes that's right this util is
yes that's right this util is to fix the spacing problems!
Sorry I don't read your posting carefully enough.
If you like you email me your Star files and I will have a look at it.
Put the StarCD files under the
Put the StarCD files under the Star directory and try again.
Joern, I try to put the 3 star
Joern, I try to put the 3 starCD files everywhere but the message "--> FOAM FATAL ERROR : Cannot read file "test.vrt" " is still there...Probably as stefan said it's a spacing problem.
Has anyone a .vrt file that is known to work ? So I can fix the structure of the file...
the structure of the vrt-file
the structure of the vrt-file is like this:
1 0.000000000 0.000000000 -0.560000020E-02
but your problem is not the incorrect structure of the vrt file because the error message is "Cannot read file ...". What FOAM version do you use?
Actually the structure it's th
Actually the structure it's the same...I use OpenFoam 1.3
It has probably been mentioned
It has probably been mentioned before, but I strongly suggest that anyone who wants to convert a star mesh to OF format use the ccm24ToFoam converter.
Of course, you have to save the case in ccm format first, but the process is generally less prone to errors since ccm is a polyhedral mesh format as well.
I finally solved this problem
I finally solved this problem (using OF 1.3), the .vrt files need 12 spaces before the number of the point and 1 space between the coordinates.
Now I've another problem;
After run starToFoam the output:
Number of points = 100
Number of cells = 100
Hi, i am having problem whe
i am having problem when i run startofoam. I believe there is a bug in my data structure can anyone help me in creating a small test case with 10 by 10 cells so I can compare the .vrt .bnd and .cell data structures files with my files. Or an dany one rovide a model I can convert successfully so that I can validate..
Hi, can anyone help me in thi
can anyone help me in this,
while converting mesh from StarToFoam i am getting following error,
i am unable to detect the cause for the error....
user@zeus10:~/OpenFOAM/Vishal/run/Star/Test_1> starToFoam test
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.5 |
| \ / A nd | Web: http://www.OpenFOAM.org |
| \/ M anipulation | |
Exec : starToFoam test
Date : Oct 12 2008
Time : 17:40:27
Host : zeus10
PID : 15372
Case : /home/user/OpenFOAM/Vishal/run/Star/Test_1
nProcs : 1
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Number of points = 73
Attempt to get back from bad stream
file: test.cel at line 53.
From function void Istream::getBack(token& t)
in file db/IOstreams/IOstreams/Istream.C at line 44.
Can anyone please help me in this respect....
Hi Fomers, Can anyone pleas
Can anyone please tell me how to make finer mesh for a mesh which is importe from Ster-CD...?
I have successfully execute the star4ToFoam utelity
Now my concer is to convert the model to finer mesh as the mesh i imported from Star-CD is very course.
There is no blockmesh file created.
Hi star-cd does not have a
star-cd does not have a great mesh generator. It has been difficult to export meshes from star-cd with right boundary conditions. Boundary conditions often do not match in star-cd and openfoam. As a result I found it very difficult to switch between two codes. If you find a way please let me know.
Hi Steven, i have tried to
i have tried to convert Star-cd mesh to open foam and gor it done sucessfully for some simple test model and i alsi got it for the model i was interested in ...
but the issue i am facing is it does not creates blockmesh directory so i am finding difficulty to make it finer as the mesh i got is very course.....
Vishal, The topological inf
The topological information contained in the blockMesh dictionary cannot be obtained from a polyMesh - except for trivial cases. NONE of the mesh converters (fluent,starcd,ccm,etc) can generate a blockMesh dictionary either.
I haven't used it myself, but perhaps the 'refineMesh' utility is what you are looking for.
Hi, Thanks mark for ur repl
Thanks mark for ur reply.
yes, i have tried "refineMesh" option with the mesh i generated in OpenFoam and i got the Refined mesh also ....can you please tell me how can i find the feaction by which it has refined the mesh.....can we select the refinement....factor by oue own...
i am using OpenFoam 1.5 version acn u please tell me anything about how to use
|All times are GMT -4. The time now is 19:14.|