|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Jens Klostermann
Join Date: Mar 2009
Posts: 117
Rep Power: 17 ![]() |
Description:
Problem in OF-1.4.1 /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.4.1 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : mergeMeshes . testcase . temp Date : Aug 23 2007 Time : 21:16:54 Host : pc076 PID : 24068 Root : Case : Nprocs : 1 Master: "." "testcase" mesh to add: "." "temp" Create Times Reading master mesh for time = 0 Create mesh Reading mesh to add for time = 0 Create mesh --> FOAM FATAL ERROR : Attempt to cast type mergePolyMesh to type fvMesh#0 Foam::error::printStack(Foam: ![]() #1 Foam::error::abort() in "/home/klosterm/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so" #2 Foam::probes::read(Foam::dictionary const&) in "/home/klosterm/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libsampling.so" #3 Foam::probes::probes(Foam::objectRegistry const&, Foam::dictionary const&) in "/home/klosterm/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libsampling.so" #4 Foam::probesFunctionObject::start() in "/home/klosterm/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libsampling.so" #5 Foam::functionObjectList::start() in "/home/klosterm/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so" #6 Foam::Time::operator++() in "/home/klosterm/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so" #7 main in "/home/klosterm/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/mergeMe shes" #8 __libc_start_main in "/lib/libc.so.6" #9 __gxx_personality_v0 at /build/buildd/glibc-2.3.6/build-tree/glibc-2.3.6/csu/../sysdeps/x86_64/elf/start .S:116 From function refCast<to>(From&) in file /home/klosterm/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/typeInfo.H at line 103. FOAM aborting Aborted (core dumped) Problem in OF-1.4 /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.4 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : mergeMeshes . testcase . temp Date : Aug 23 2007 Time : 21:18:24 Host : pc076 PID : 24463 Root : Case : Nprocs : 1 Master: "." "testcase" mesh to add: "." "temp" Create Times Selecting function probes Selecting function probes --> FOAM Warning : From function dlLibraryTable::open(const dictionary& dict, const word& libsEntry, const TablePtr tablePtr) in file lnInclude/dlLibraryTableTemplates.C at line 67 library "libsampling.so" did not introduce any new entries Reading master mesh for time = 0 Create mesh Reading mesh to add for time = 0 Create mesh --> FOAM FATAL ERROR : Attempt to cast type mergePolyMesh to type fvMesh#0 Foam::error::printStack #1 Foam::error::abort #2 Foam::probes::read #3 Foam::probes::probes #4 Foam::probesFunctionObject::start #5 Foam::functionObjectList::start #6 Foam::Time::operator++ #7 main #8 __libc_start_main #9 __gxx_personality_v0 at /build/buildd/glibc-2.3.6/build-tree/glibc-2.3.6/csu/../sysdeps/x86_64/elf/start .S:116 From function refCast<to>(From&) in file /home/klosterm/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/typeInfo.H at line 103. FOAM aborting Aborted (core dumped) Solver/Application: mergeMeshes Platform: 64bit linux (Debian), but I think it doesn't matter Version: OF-1.4 and OF-1.4.1 Notes: It always a good idea to have an old version, because it works (on the same case and platform) with the OF-1.3 Hrv version without any problems. /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.3 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : mergeMeshes . testcase . temp Date : Aug 23 2007 Time : 21:18:37 Host : pc076 PID : 24723 Root : Case : Nprocs : 1 Master: "." "testcase" mesh to add: "." "temp" Create Times Reading master mesh for time = 0 Create mesh Reading mesh to add for time = 0 Create mesh Writing combined mesh to 2e-05 patch names: 8 ( OUTLET_FACE INLET_FACE AUSLAUF_1_10 EINLAUF_1_14 SL_LINKS SL_RECHTS AUSLAUF_OHNE_FS CLOSE_AUSSEN ) patch types: 8 ( wall wall wall wall wall wall wall wall ) point zone names: 0 ( ) face zone names: 0 ( ) cell zone names: 1 ( SOLID ) |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Niklas Wikstrom
Join Date: Mar 2009
Posts: 86
Rep Power: 17 ![]() |
This problem seems to remain in version 1.5.x, BUT in my case it probably has to do with the creation of functionObjects. When these are removed from the controlDicts, it works OK.
regards Niklas |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Baek, Donghae
Join Date: Jan 2013
Location: Seoul
Posts: 24
Rep Power: 13 ![]() |
really thank to you
I struggle with same problem for 3 days. the problem was solved with deleting function in controldict. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] MergeMeshes | hsieh | OpenFOAM Meshing & Mesh Conversion | 3 | September 10, 2014 10:15 |
[mesh manipulation] MergeMeshes and stitchMesh problem | flo | OpenFOAM Meshing & Mesh Conversion | 6 | May 10, 2010 11:40 |
MergeMeshes and mesh format from 14x 15 | pitmanm | OpenFOAM Bugs | 14 | July 4, 2009 01:55 |
MergeMeshes fails on OF141 any fix | hsieh | OpenFOAM Bugs | 3 | January 29, 2008 20:31 |
PROBLEMS WITH cfdTools in OF14 | leosding | OpenFOAM Running, Solving & CFD | 1 | August 20, 2007 14:05 |