CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

Incorrect labelList initialization in autoRefineMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2008, 21:56
Default Description: I got a crash w
  #1
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Description:
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/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/ohshima/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#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/libdynamicMesh.so"
#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/libc.so.6"
#6 Foam::regIOobject::readIfModified() in "/home/ohshima/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/autoRefine Mesh"

Solver/Application:
autoRefineMesh

Source file:
autoRefineMesh.C

Version:
OpenFOAM 1.5

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

Regards,
Takuya
7islands is offline   Reply With Quote

Old   August 8, 2008, 04:48
Default Nice bugreport! Thanks.
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Nice bugreport! Thanks.
mattijs is offline   Reply With Quote

Reply


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


All times are GMT -4. The time now is 21:12.