CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Error during Postprocessing in OF15dev (http://www.cfd-online.com/Forums/openfoam-bugs/62352-error-during-postprocessing-of15dev.html)

hannes January 7, 2009 05:47

Hello, I have noticed an is
 
Hello,

I have noticed an issue when using OpenFOAM-1.5-dev (the version from 5. January):

If the case contains patches of type "cyclic" (for example the channelOodles-testcase) the following error appears when using paraFoam or including some sample-functionObject. The solver without functionObjects runs without errors.

Attempt to cast type cyclic to type lduInterface
#0 Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 Foam::PointPatchField<foam::pointpatchfield,>::add PointPatchConstructorToTable<f oam::cyclicpointpatchfield<foam::pointpatchfield,> >::New(Foam::pointPatch const&, Foam::DimensionedField<double,> const&) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libOpenFOAM.so"
#3 Foam::PointPatchField<foam::pointpatchfield,>::New (Foam::word const&, Foam::pointPatch const&, Foam::DimensionedField<double,> const&) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libfiniteVolume.so"
#4 Foam::GeometricField<double,>::GeometricBoundaryFi eld::GeometricBoundaryField(Fo am::pointBoundaryMesh const&, Foam::DimensionedField<double,> const&, Foam::word const&) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libfiniteVolume.so"
#5 Foam::GeometricField<double,>::GeometricField(Foam ::IOobject const&, Foam::pointMesh const&, Foam::dimensioned<double> const&, Foam::word const&) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libfiniteVolume.so"
#6 Foam::pointPatchInterpolation::makePatchPatchWeigh ts() in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libfiniteVolume.so"
#7 Foam::pointPatchInterpolation::pointPatchInterpola tion(Foam::fvMesh const&, Foam::pointMesh const&) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libfiniteVolume.so"
#8 Foam::volPointInterpolation::volPointInterpolation (Foam::fvMesh const&, Foam::pointMesh const&) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libfiniteVolume.so"
#9 Foam::autoPtr<foam::interpolation<double> > Foam::sampledSurfaces::setInterpolator<double>(Foa m::GeometricField<double,> const&) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libsampling.so"
#10 void Foam::sampledSurfaces::sampleAndWrite<double>(Foam ::GeometricField<double,> const&, Foam::surfaceWriter<double> const&) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libsampling.so"
#11 void Foam::sampledSurfaces::sampleAndWrite<double>(Foam ::sampledSurfaces::fieldGroup< double>&) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libsampling.so"
#12 Foam::sampledSurfaces::write() in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libsampling.so"
#13 Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifutputFilterFunctionObject<foam::sampledsurfaces>:: execute() in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libsampling.so"
#14 Foam::functionObjectList::execute() in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libOpenFOAM.so"
#15 Foam::Time::operator++() in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libOpenFOAM.so"
#16 main in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/channel Oodles"
#17 __libc_start_main in "/lib/libc.so.6"
#18 Foam::regIOobject::readIfModified() in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/channel Oodles"


From function refCast<to>(From&)
in file lnInclude/typeInfo.H at line 106.

FOAM aborting (FOAM_ABORT set)

Best regards, Hannes

hannes January 8, 2009 09:06

Hi again, another issue wit
 
Hi again,

another issue with the same OF1.5-dev version. When the case contains symmetryPlane-patches, the following error appears, e.g. after executing foamToVTK on the tutorial barotropicCavitatingFoam/nozzle:

#0 Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 ?? in "/lib/libc.so.6"
#3 Foam::tmp<foam::field<foam::vector<double> > > Foam::fvPatch::patchInternalField<foam::vector<dou ble> >(Foam::UList<foam::vector<double> > const&) const in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/foamToV TK"
#4 Foam::fvPatchField<foam::vector<double> >::patchInternalField() const in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/foamToV TK"
#5 Foam::basicSymmetryFvPatchField<foam::vector<doubl e> >::evaluate(Foam::Pstream::commsTypes) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libfiniteVolume.so"
#6 Foam::SlicedGeometricField<foam::vector<double>, Foam::fvPatchField, Foam::slicedFvPatchField, Foam::volMesh>::slicedBoundaryField(Foam::fvMesh const&, Foam::Field<foam::vector<double> > const&, bool) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libfiniteVolume.so"
#7 Foam::SlicedGeometricField<foam::vector<double>, Foam::fvPatchField, Foam::slicedFvPatchField, Foam::volMesh>::SlicedGeometricField(Foam::IOobjec t const&, Foam::fvMesh const&, Foam::dimensionSet const&, Foam::Field<foam::vector<double> > const&, Foam::Field<foam::vector<double> > const&, bool) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libfiniteVolume.so"
#8 Foam::fvMesh::makeC() const in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libfiniteVolume.so"
#9 Foam::fvMesh::C() const in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libfiniteVolume.so"
#10 Foam::pointPatchInterpolation::makePatchPatchWeigh ts() in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libfiniteVolume.so"
#11 Foam::pointPatchInterpolation::pointPatchInterpola tion(Foam::fvMesh const&, Foam::pointMesh const&) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libfiniteVolume.so"
#12 Foam::volPointInterpolation::volPointInterpolation (Foam::fvMesh const&, Foam::pointMesh const&) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libfiniteVolume.so"
#13 main in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/foamToV TK"
#14 __libc_start_main in "/lib/libc.so.6"
#15 Foam::fvMesh::updateMesh(Foam::mapPolyMesh const&) in "/home/hannes/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/foamToV TK"

Regards, Hannes


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