Hi,
I am a new user of openfoam and I am having difficulty in mesh conversion from starcd form(.vrt) to openfoam-1.6. I generated mesh in Hexpress(Numeca) and exported it in .vrt form,but while using starToFoam command I get following error messege: Create time Number of points = 665452 Cannot read file "vfa2.cel"#0 Foam::error::printStack(Foam::Ostream&) in "/home/rahul/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so" #1 Foam::error::abort() in "/home/rahul/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so" #2 starMesh::readCells() in "/home/rahul/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/starToFoam" #3 starMesh::starMesh(Foam::fileName const&, Foam::Time const&, double) in "/home/rahul/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/starToFoam" #4 main in "/home/rahul/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/starToFoam" #5 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6" #6 _start at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/i386/elf/start.S:122 From function starMesh::readCells() in file readCells.C at line 249. FOAM aborting Aborted Hexpress doesn't export mesh in .msh form but in .grd form for which I don't know if there is any converter available yet,another from it exports is .cgns which if I want to convert to openfoam I guess I have to program my own converter which I am not very good at.If anyone have any idea about what I am doing wrong or how can I get it done,please let me know. Thanks. rudy |
Quote:
If you only have a single file, your data are incomplete. This is what the error message 'Cannot read file "vfa2.cel"' seems to be telling you. Something else you need to be aware of: there is an older STAR-CD v3 format and a newer STAR-CD v4 format. You can see the difference in the first line of the respective .vrt, .cel files: the v4 format has "PROSTAR_CELL" or "PROSTAR_VERTEX". However, since reading the vertex file apparently worked, I'd guess you have v3 format. |
Thanks Olesen,it works now and I successfully converted the mesh to opnfoam form...Thanks a lot...
|
Hi,
I have another problem now...I am using Electrostatic solver and in my solution i have got potential and charge density distribution in my domain but now I want to find gradient of the potential distribution(electric field) and I am using "gradient of unstructured dataset" function from parafoam for the purpose but while applying this function in parafoam it stops inbetween and yields the following error: Generic Warning: In /home/dm2/henry/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkMath.cxx, line 1645 Unable to factor linear system can anyone tell me what does it imply and how to solve it. Thanks, rudy. |
Quote:
|
ohh,i m sorry,from next time onwards i ll keep it in mind...
thanks, rudy |
starToFoam problems
Hello at all. I'am a new user of OpenFOAM. I'am trying to use starToFoam but I am getting the following error and I don't know that is wrong?
xxx453:~/OpenFOAM/arton-1.6/starcd/kubus> starToFoam Kubus /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.6 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 1.6-f802ff2d6c5a Exec : starToFoam Kubus Date : Jan 28 2010 Time : 11:37:34 Host : xxx453 PID : 9369 Case : /perm1/dschmidt/OpenFOAM/arton-1.6/starcd/kubus nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Number of points = 7655 Number of cells = 5682 Star region 457 with type WALL is now Foam patch 0 Star region 456 with type WALL is now Foam patch 1 Star region 405 with type ATTA is now Foam patch 2 Star region 404 with type ATTA is now Foam patch 3 Star region 458 with type WALL is now Foam patch 4 Star region 430 with type INLE is now Foam patch 5 Star region 429 with type INLE is now Foam patch 6 Star region 410 with type ATTA is now Foam patch 7 Star region 409 with type ATTA is now Foam patch 8 Star region 451 with type WALL is now Foam patch 9 Star region 427 with type INLE is now Foam patch 10 Star region 426 with type INLE is now Foam patch 11 Star region 402 with type ATTA is now Foam patch 12 Star region 401 with type ATTA is now Foam patch 13 Star region 435 with type WALL is now Foam patch 14 Star region 434 with type WALL is now Foam patch 15 Star region 407 with type ATTA is now Foam patch 16 Star region 406 with type ATTA is now Foam patch 17 Star region 432 with type WALL is now Foam patch 18 Star region 431 with type WALL is now Foam patch 19 Star region 442 with type WALL is now Foam patch 20 Star region 412 with type ATTA is now Foam patch 21 Star region 417 with type INLE is now Foam patch 22 Star region 201 with type INLE is now Foam patch 23 Star region 437 with type WALL is now Foam patch 24 Star region 422 with type INLE is now Foam patch 25 Star region 441 with type WALL is now Foam patch 26 Star region 411 with type ATTA is now Foam patch 27 Star region 416 with type INLE is now Foam patch 28 Star region 436 with type WALL is now Foam patch 29 Star region 421 with type INLE is now Foam patch 30 Star region 445 with type WALL is now Foam patch 31 Star region 415 with type ATTA is now Foam patch 32 Star region 420 with type INLE is now Foam patch 33 Star region 440 with type WALL is now Foam patch 34 Star region 425 with type INLE is now Foam patch 35 Star region 444 with type WALL is now Foam patch 36 Star region 202 with type INLE is now Foam patch 37 Star region 419 with type INLE is now Foam patch 38 Star region 414 with type ATTA is now Foam patch 39 Star region 439 with type WALL is now Foam patch 40 Star region 424 with type INLE is now Foam patch 41 Setting size of boundary to 42 #0 Foam::error::printStack(Foam::Ostream&) in "/perm1/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so" #1 Foam::sigSegv::sigSegvHandler(int) in "/perm1/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so" #2 ?? in "/lib/libc.so.6" #3 Foam::List<int>::operator=(Foam::List<int> const&) in "/perm1/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/starToFoam" #4 starMesh::readBoundary() in "/perm1/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/starToFoam" #5 starMesh::starMesh(Foam::fileName const&, Foam::Time const&, double) in "/perm1/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/starToFoam" #6 main in "/perm1/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/starToFoam" #7 __libc_start_main in "/lib/libc.so.6" #8 _start at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:116 Segmentation fault xxx453:~/OpenFOAM/arton-1.6/starcd/kubus> Can anyone help me PLEASE!! Thank you Arton |
(This post has been deleted)
|
I'm trying import Star-CD mesh..
Code:
$ star4ToFoam aero_OF_volume.ccm Code:
PROSTAR_CELL |
Hey all!
j-avdeev, did you get any solution on your particular problem? I have a similar problem ;-) |
No, still have this problem (in 2.1.1).
(Maybe we need to create bug report?) star4ToFoam import succesfull only with .cel and .vrt files, which was made by foamToStarMesh. As solution - open .ccm StarMesh file in ANSA, convert it to .msh FluentMesh and import in OpenFOAM by fluentMeshToFoam. |
Quote:
instead of Fluent format? |
Quote:
|
Yep, I haven't got star4ToFoam to work, even if it worked also for me when I tested with a mesh generated with blockMesh, then foamToStarMesh and try to read that worked fine.
My solution was to use ccm26ToFoam, which you can read more about here: http://www.cfd-online.com/Forums/ope...tml#post316994 Check out post #29 ;-) |
All times are GMT -4. The time now is 07:19. |