CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Commercial meshers] Star4ToFoam error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2009, 10:17
Default Star4ToFoam error
  #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, 02:28
Default Anybody have any ideas on how
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,684
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
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, 06: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, 06:25
Default 1. clone from the repo.or.cz l
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,684
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 06:35
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 00:40.