CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Bugs

Incorrect labelList initialization in autoRefineMesh

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

LinkBack Thread Tools Display Modes
Old   August 7, 2008, 20:56
Default Description: I got a crash w
Super Moderator
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 13
7islands is on a distinguished road
I got a crash with autoRefineMesh:

Size of exposedFaceLabels 84 differs from size of exposedPatchIDs 0#0 Foam::error::printStack(Foam:stream&) in "/home/ohshima/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/"
#1 Foam::error::abort() in "/home/ohshima/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/"
#2 Foam::removeCells::setRefinement(Foam::List<int> const&, Foam::List<int> const&, Foam::List<int> const&, Foam::polyTopoChange&) const in "/home/ohshima/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/"
#3 subsetMesh(Foam::polyMesh&, int, int, Foam::HashSet<int,> >const&, Foam::cellSet&, Foam::IOList<int>&) in "/home/ohshima/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/autoRefine Mesh"
#4 main in "/home/ohshima/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/autoRefine Mesh"
#5 __libc_start_main in "/lib64/"
#6 Foam::regIOobject::readIfModified() in "/home/ohshima/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/autoRefine Mesh"


Source file:

OpenFOAM 1.5

Modifying line 523 of autoRefineMesh.C from
labelList(patchI, exposedFaces.size()),
labelList(exposedFaces.size(), patchI),
fixed the crash for my case.

7islands is offline   Reply With Quote

Old   August 8, 2008, 03:48
Default Nice bugreport! Thanks.
Super Moderator
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 18
mattijs is on a distinguished road
Nice bugreport! Thanks.
mattijs is offline   Reply With Quote


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
Incorrect area integration. Mr Matti Karvonen FloEFD, FloWorks & FloTHERM 3 September 15, 2008 23:13
Eq 27 of the User Guide seems incorrect 7islands OpenFOAM Bugs 2 June 9, 2008 13:32
incorrect Cp plots Shane FLUENT 0 June 11, 2007 16:00
AutoRefineMesh bastil OpenFOAM Mesh Utilities 6 May 1, 2007 16:14
AutoRefineMesh utility pbo OpenFOAM Mesh Utilities 8 March 18, 2007 02:08

All times are GMT -4. The time now is 01:34.