|
[Sponsors] |
November 30, 2009, 14:28 |
|
#21 |
New Member
raul
Join Date: Nov 2009
Posts: 13
Rep Power: 17 |
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:rintStack(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 |
|
December 1, 2009, 03:40 |
|
#22 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
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. |
||
December 1, 2009, 14:35 |
|
#23 |
New Member
raul
Join Date: Nov 2009
Posts: 13
Rep Power: 17 |
Thanks Olesen,it works now and I successfully converted the mesh to opnfoam form...Thanks a lot...
|
|
December 7, 2009, 06:45 |
|
#24 |
New Member
raul
Join Date: Nov 2009
Posts: 13
Rep Power: 17 |
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. |
|
December 7, 2009, 07:48 |
|
#25 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
This doesn't look like anything to do with starcd conversion, but a vtk/paraview issue. You should not be posting on this thread.
|
|
December 7, 2009, 10:05 |
|
#26 |
New Member
raul
Join Date: Nov 2009
Posts: 13
Rep Power: 17 |
ohh,i m sorry,from next time onwards i ll keep it in mind...
thanks, rudy |
|
January 28, 2010, 06:54 |
starToFoam problems
|
#27 |
New Member
Arton Kosumi
Join Date: Jan 2010
Location: Stuttgart
Posts: 2
Rep Power: 0 |
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:rintStack(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>:perator=(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 |
|
June 17, 2010, 21:35 |
|
#28 |
Member
Join Date: Jun 2010
Posts: 33
Rep Power: 16 |
(This post has been deleted)
Last edited by trex930; June 18, 2010 at 00:00. |
|
December 12, 2011, 06:13 |
|
#29 |
Member
Avdeev Evgeniy
Join Date: Jan 2011
Location: Togliatty, Russia
Posts: 69
Blog Entries: 1
Rep Power: 21 |
I'm trying import Star-CD mesh..
Code:
$ star4ToFoam aero_OF_volume.ccm /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.0.1 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.0.1-51f1de99a4bc Exec : star4ToFoam aero_OF_volume.ccm Date : Dec 12 2011 Time : 05:07:57 Host : debian PID : 11590 Case : /mnt/sda6/openfoam/2116aeroII nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // no constant/boundaryRegion information available no constant/cellTable information available Number of points = 1103981 Number of fluids = 0 Number of baffles = 0 Ignored solids = 0 Ignored shells = 0 --> FOAM FATAL ERROR: no cells in file "aero_OF_volume.cel" From function meshReaders::STARCD::readCells() in file meshReader/starcd/STARCDMeshReader.C at line 369. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::error::abort() in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 Foam::meshReaders::STARCD::readCells(Foam::fileName const&) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libconversion.so" #3 Foam::meshReaders::STARCD::readGeometry(double) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libconversion.so" #4 Foam::meshReader::mesh(Foam::objectRegistry const&) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libconversion.so" #5 in "/opt/openfoam201/platforms/linux64GccDPOpt/bin/star4ToFoam" #6 __libc_start_main in "/lib/libc.so.6" #7 in "/opt/openfoam201/platforms/linux64GccDPOpt/bin/star4ToFoam" Aborted Code:
PROSTAR_CELL 1 1 324 333716 330138 0 0 0 0 4 4 2 330138 333716 499158 495580 0 0 0 0 4 4 3 495580 499158 663961 660383 0 0 0 0 4 4 4 330138 330147 1134 1 0 0 0 0 4 4 5 495580 495589 330147 330138 0 0 0 0 4 4 ... ... |
|
September 20, 2012, 12:52 |
|
#30 |
Member
Join Date: Sep 2012
Posts: 30
Rep Power: 14 |
Hey all!
j-avdeev, did you get any solution on your particular problem? I have a similar problem ;-) |
|
September 26, 2012, 04:11 |
|
#31 |
Member
Avdeev Evgeniy
Join Date: Jan 2011
Location: Togliatty, Russia
Posts: 69
Blog Entries: 1
Rep Power: 21 |
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. |
|
September 26, 2012, 04:20 |
|
#32 | |
Senior Member
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21 |
Quote:
instead of Fluent format? |
||
September 26, 2012, 05:04 |
|
#34 |
Member
Join Date: Sep 2012
Posts: 30
Rep Power: 14 |
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 ;-) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running starToFoam creates read vrt error in 0F 14 | shaun | OpenFOAM Pre-Processing | 2 | March 14, 2013 00:41 |
[Other] StarToFoam error | Kart | OpenFOAM Meshing & Mesh Conversion | 1 | February 4, 2010 05:38 |
[Commercial meshers] StarToFoam checkMesh problems | sylvain91 | OpenFOAM Meshing & Mesh Conversion | 1 | June 15, 2006 05:36 |