CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...

Star4ToFoam error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 5, 2009, 11:17
Default Hi I'm having problems usi
  #1
ksk
New Member
 
Kasper Skriver
Join Date: Mar 2009
Posts: 2
Rep Power: 0
ksk is on a distinguished road
Hi

I'm having problems using star4ToFoam tool to import .cel and .vrt file to OpenFOAM format. Please see below terminal output. Anybody have any ideas on how to solve this?

Best regards Kasper Skriver

ksk@ksk-laptop:~/OpenFOAM/ksk-1.5/hex/hex_flow$ star4ToFoam hex
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.5 |
| \ / A nd | Web: http://www.OpenFOAM.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/
Exec : star4ToFoam hex
Date : Mar 05 2009
Time : 11:15:01
Host : ksk-laptop
PID : 6761
Case : /home/ksk/OpenFOAM/ksk-1.5/hex/hex_flow
nProcs : 1

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
no constant/boundaryRegion information available
no constant/cellTable information available
Number of points = 1999543
Number of fluids = 478208
Number of baffles = 0
Ignored solids = 0
Ignored shells = 0
Number of patches = 5 (including extra for missing)
patch 0 (region 1: inle) type: 'patch' name: inle_1
patch 1 (region 2: inle) type: 'patch' name: inle_2
patch 2 (region 3: inle) type: 'patch' name: inle_3
patch 3 (region 4: outl) type: 'patch' name: outl_4
patch 4 (region 0: none) type: 'patch' name: Default_Boundary_Region
Creating a polyMesh
Maximum possible number of faces in mesh: 5350893
Number of internal faces: 2646535

There are 57823 faces to be patched and 6419 specified - collect missed boundaries to final patch
Missing faces added to patch after face 2652954:
cell 0 face 8 (original cell 1) face: 6(1483044 1323496 890368 890252 890250 1392776)
cell 1 face 7 (original cell 2) face: 5(948366 948363 948359 948358 948362)
cell 2 face 7 (original cell 3) face: 6(1230242 1078451 1078449 948392 948363 948366)
cell 3 face 7 (original cell 4) face: 6(1230241 1004383 1004386 1078441 1078451 1230242)
...

Added 51404 unmatched faces
Number of boundary faces: 6419
Total number of faces: 2704358
Number of interfaces: 0

Default patch type set to empty
cellZone 0 (size: 226350) name: #0 Foam::error::printStack(Foam:stream&) in "/home/ksk/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/home/ksk/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Uninterpreted: [0xb7fdf420]
#3 Foam:Sstream::write(Foam::word const&) in "/home/ksk/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so"
#4 Foam::operator<<(Foam:stream&, Foam::word const&) in "/home/ksk/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so"
#5 Foam::cellTable::addCellZones(Foam::polyMesh&, Foam::List<int> const&) const in "/home/ksk/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libconversion.so"
#6 Foam::meshReader::addCellZones(Foam::polyMesh&) const in "/home/ksk/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libconversion.so"
#7 Foam::meshReader::mesh(Foam::objectRegistry const&) in "/home/ksk/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libconversion.so"
#8 main in "/home/ksk/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/star4ToFoam"
#9 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#10 __gxx_personality_v0 in "/home/ksk/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/star4ToFoam"
Segmentation fault
ksk@ksk-laptop:~/OpenFOAM/ksk-1.5/hex/hex_flow$
ksk is offline   Reply With Quote

Old   March 6, 2009, 03:28
Default Anybody have any ideas on how
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
Quote:
Anybody have any ideas on how to solve this?
Strangely enough this appears have been patched about 1/2-year ago. There might indeed be a reason to use the OpenFOAM-1.5.x bugfix repository, or is that patched version not working for you either?

commit d6b201bbb5a495b5b2d8507727071c2215519e61
Author: andy <andy>
Date: Wed Sep 24 15:50:43 2008 +0100
meshTables: bugfix and cleanup

- fixed segfault due to missing ++ in namesList()
- use more of the new dictionary functionality
olesen is offline   Reply With Quote

Old   March 6, 2009, 07:08
Default Hi Mark, thanks for answer
  #3
ksk
New Member
 
Kasper Skriver
Join Date: Mar 2009
Posts: 2
Rep Power: 0
ksk is on a distinguished road
Hi Mark,

thanks for answering and helping out. I am not familiar with the bugfix repository. How do I use this info you give me?

I am finding this page http://www.opencfd.co.uk/openfoam/download.html but can't get access to git://

I suppose that I should execute this: git clone git://repo.or.cz/OpenFOAM-1.5.x.git in a terminal and locate the commit specified. But what then?

BR Kasper Skriver
ksk is offline   Reply With Quote

Old   March 6, 2009, 07:25
Default 1. clone from the repo.or.cz l
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
1. clone from the repo.or.cz location (I believe http transport works too). This gets you the latest version with all of the bugfixes. This is what you should be using.

2. I would recommend making your own local branch (eg, 'kasper') based on the remote repository (origin/master). This lets you make local modifications, but still benefit from the bugfixes.

3. Remake as usual (Allwmake) and go grab lunch.

Later on, you can do a periodic 'git fetch' to update your tracked version of the repo.or.cz repository and use 'git merge' and recompile via Allwmake at your own leisure.


BTW: the learning curve with git is a bit steep (more especially if you haven't used an scm before), but there are a few git video tutorials kicking about that help. The Randal Schwartz google tech talk is really good for a bit of information of what is going on behind the scenes. The time invested there will help.
olesen is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
strange fluent error: Primitive Error at Node 0 Jean-Baptiste FLUENT 6 September 20, 2012 16:07
Star4ToFoam import boundaries in polyhedral mesh cosimobianchini OpenFOAM Running, Solving & CFD 2 April 5, 2007 04:48
Fatal error error writing to tmp No space left on device maka OpenFOAM Installation 2 April 3, 2006 08:48
Error: Floating point error: invalid number Bob FLUENT 3 June 3, 2005 18:11
Gambit 2.0 - Error Message (ACIS ERROR 1200) James FLUENT 1 May 14, 2003 08:13


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