CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   PolyDualMesh crash caused by functions in contralDict (http://www.cfd-online.com/Forums/openfoam-bugs/62413-polydualmesh-crash-caused-functions-contraldict.html)

zeliboba September 26, 2008 05:28

when try to convert mesh with
 
when try to convert mesh with polyDualMesh it crashed with message:

Attempt to cast type polyMesh to type fvMesh#0 Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&) 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:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifutputFilterFunctionObject<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)

mattijs September 28, 2008 11:06

Thanks, I'll disable the funct
 
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"


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