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

PolyDualMesh crash caused by functions in contralDict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 26, 2008, 06:28
Default when try to convert mesh with
  #1
Member
 
Maxim Loginov
Join Date: Mar 2009
Posts: 33
Rep Power: 17
zeliboba is on a distinguished road
when try to convert mesh with polyDualMesh it crashed with message:

Attempt to cast type polyMesh to type fvMesh#0 Foam::error::printStack(Foam:stream&) in "/home/navier01d/loginov/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.s o"
#1 Foam::error::abort() in "/home/navier01d/loginov/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.s o"
#2 Foam::sampledSurfaces::sampledSurfaces(Foam::word const&, Foam::objectRegistry const&, Foam::dictionary const&, bool) in "/home/navier01d/loginov/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libsampling.s o"
#3 Foam:utputFilterFunctionObject<foam::sampledsurfaces>:: start() in "/home/navier01d/loginov/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libsampling.s o"
#4 Foam::functionObjectList::start() in "/home/navier01d/loginov/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.s o"
#5 Foam::Time::operator++() in "/home/navier01d/loginov/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.s o"
#6 main in "/home/navier01d/loginov/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/ polyDualMesh"
#7 __libc_start_main in "/lib64/tls/libc.so.6"
#8 __gxx_personality_v0 in "/home/navier01d/loginov/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/ polyDualMesh"


From function refCast<to>(From&)
in file /home/navier01b/kuczaj/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/typeInfo.H at line 106.

the problem disappeared when I deleted

functions
(
...
)

clause from controlDict (it left from previous simulation)
zeliboba is offline   Reply With Quote

Old   September 28, 2008, 12:06
Default Thanks, I'll disable the funct
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Thanks, I'll disable the functionObjects in polyDualMesh.

I'll push it to the 1.5.x git or you can just add an

runTime.functionObjects().off();

after the

# include "createTime.H"
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
Problems on Tetrahedra to Polyhedra using polyDualMesh on concave surface object chnrdu OpenFOAM Pre-Processing 2 July 18, 2009 13:58
waves caused by stones gamego Main CFD Forum 5 October 1, 2008 11:33
About the usage of polyDualMesh weijing OpenFOAM Running, Solving & CFD 3 June 15, 2006 08:54
Forces caused by fluids anja OpenFOAM Running, Solving & CFD 20 May 8, 2006 07:37
damping functions(wall functions) Pr Main CFD Forum 0 March 22, 2004 03:17


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