CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Bugs

Incorrect labelList initialization in autoRefineMesh

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

Reply
 
LinkBack Thread Tools 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: 515
Blog Entries: 1
Rep Power: 10
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
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
mattijs is on a distinguished road
Nice bugreport! Thanks.
mattijs 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
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
AutoRefineMesh bastil OpenFOAM Mesh Utilities 6 May 1, 2007 17:14
AutoRefineMesh utility pbo OpenFOAM Mesh Utilities 8 March 18, 2007 03:08


All times are GMT -4. The time now is 23:49.