CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   MergeMeshes with version OF14 (http://www.cfd-online.com/Forums/openfoam-bugs/62332-mergemeshes-version-of14.html)

jens_klostermann August 23, 2007 15:35

Description: Problem in OF-1.
 
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:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&) in "/home/klosterm/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#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
)


wikstrom January 28, 2009 05:28

This problem seems to remain i
 
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

wes1204 November 7, 2014 17:27

thanks
 
really thank to you

I struggle with same problem for 3 days.

the problem was solved with deleting function in controldict.


All times are GMT -4. The time now is 06:44.