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

Given field does not correspond to patch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2009, 17:10
Default Hi all I have a problem wit
  #1
Member
 
David Hora
Join Date: Mar 2009
Location: Zürich, Switzerland
Posts: 63
Rep Power: 17
david is on a distinguished road
Hi all

I have a problem with the MRFSimpleFOAM tutorial case mixerVessel2D. The problem occurs only with OpenFOAM-1.5.x, not with OpenFOAM-1.5 (same ThirdParty tools). When I select the front or back patches in paraFoam together with field values (U,p,k or epsilon), paraFoam crashes with the following error:

[david@localhost mixerVessel2D]$ paraFoam


given field does not correspond to patch. Patch size: 3072 field size: 0#0 Foam::error::printStack(Foam:stream&) in "/home/david/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/david/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Foam::tmp<foam::field<foam::vector<double> > > Foam::PrimitivePatchInterpolation<foam::primitivep atch<foam::face,> > const&, Foam::Vector<double> > >::faceToPointInterpolate<foam::vector<double> >(Foam::Field<foam::vector<double> > const&) const in "/home/david/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libfiniteVolume.so"
#3 void Foam::vtkPV3Foam::convertVolFields<foam::vector<do uble> >(Foam::fvMesh const&, Foam::volPointInterpolation const&, Foam::PtrList<foam::primitivepatchinterpolation<fo am::primitivepatch<foam::face, > > const&, Foam::Vector<double> > > > const&, Foam::IOobjectList const&, vtkDataArraySelection*, vtkMultiBlockDataSet*) addr2line failed
#4 Foam::vtkPV3Foam::updateVolFields(vtkMultiBlockDat aSet*) in "/home/david/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libvtkPV3Foam.so"
#5 Foam::vtkPV3Foam::Update(vtkMultiBlockDataSet*) in "/home/david/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libvtkPV3Foam.so"
#6 vtkPV3FoamReader::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in "/home/david/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libPV3FoamReader_SM.so"
#7 vtkMultiBlockDataSetAlgorithm::ProcessRequest(vtkI nformation*, vtkInformationVector**, vtkInformationVector*) addr2line failed
#8 vtkExecutive::CallAlgorithm(vtkInformation*, int, vtkInformationVector**, vtkInformationVector*) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkFi ltering.so.pv3.3"
#9 vtkDemandDrivenPipeline::ExecuteData(vtkInformatio n*, vtkInformationVector**, vtkInformationVector*) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkFi ltering.so.pv3.3"
#10 vtkCompositeDataPipeline::ExecuteData(vtkInformati on*, vtkInformationVector**, vtkInformationVector*) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkFi ltering.so.pv3.3"
#11 vtkDemandDrivenPipeline::ProcessRequest(vtkInforma tion*, vtkInformationVector**, vtkInformationVector*) addr2line failed
#12 vtkStreamingDemandDrivenPipeline::ProcessRequest(v tkInformation*, vtkInformationVector**, vtkInformationVector*) addr2line failed
#13 vtkCompositeDataPipeline::ProcessRequest(vtkInform ation*, vtkInformationVector**, vtkInformationVector*) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkFi ltering.so.pv3.3"
#14 vtkDemandDrivenPipeline::UpdateData(int) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkFi ltering.so.pv3.3"
#15 vtkStreamingDemandDrivenPipeline::Update(int) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkFi ltering.so.pv3.3"
#16 vtkExecutive::Update() addr2line failed
#17 vtkDemandDrivenPipeline::Update() in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkFi ltering.so.pv3.3"
#18 vtkStreamingDemandDrivenPipeline::Update() in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkFi ltering.so.pv3.3"
#19 vtkAlgorithm::Update() in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkFi ltering.so.pv3.3"
#20 vtkAlgorithmCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkFi lteringCS.so"
#21 vtkMultiBlockDataSetAlgorithmCommand(vtkClientServ erInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkFi lteringCS.so"
#22 vtkPV3FoamReaderCommand(vtkClientServerInterpreter *, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) in "/home/david/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libPV3FoamReader_SM.so"
#23 vtkClientServerInterpreter::ProcessCommandInvoke(v tkClientServerStream const&, int) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkCl ientServer.so"
#24 vtkClientServerInterpreter::ProcessOneMessage(vtkC lientServerStream const&, int) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkCl ientServer.so"
#25 vtkClientServerInterpreter::ProcessStream(vtkClien tServerStream const&) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkCl ientServer.so"
#26 vtkSelfConnection::ProcessStreamLocally(vtkClientS erverStream&) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerCommon.so"
#27 vtkSelfConnection::SendStreamToClient(vtkClientSer verStream&) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerCommon.so"
#28 vtkProcessModuleConnection::SendStream(unsigned int, vtkClientServerStream&) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerCommon.so"
#29 vtkProcessModuleConnectionManager::SendStream(int, unsigned int, vtkClientServerStream&, int) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerCommon.so"
#30 vtkProcessModule::SendStream(int, unsigned int, vtkClientServerStream&, int) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerCommon.so"
#31 vtkSMOutputPort::UpdatePipeline() in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerManager.so"
#32 vtkSMSourceProxy::UpdatePipeline() in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerManager.so"
#33 vtkSMSourceProxy::GetDataInformation(unsigned int, bool) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerManager.so"
#34 vtkSMDataTypeDomain::IsInDomain(vtkSMSourceProxy*, int) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerManager.so"
#35 vtkSMDataTypeDomain::IsInDomain(vtkSMProperty*) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerManager.so"
#36 vtkSMProperty::IsInDomains() in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerManager.so"
#37 pqFiltersMenuManager::updateEnableState() in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libpqCom ponents.so"
#38 pqMainWindowCore::onPostAccept() in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libpqCom ponents.so"
#39 pqMainWindowCore::qt_metacall(QMetaObject::Call, int, void**) at moc_pqMainWindowCore.cxx:0
#40 QMetaObject::activate(QObject*, int, int, void**) in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtCore.so.4"
#41 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtCore.so.4"
#42 pqObjectInspectorWidget::postaccept() in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libpqCom ponents.so"
#43 pqObjectInspectorWidget::accept() in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libpqCom ponents.so"
#44 pqObjectInspectorWidget::qt_metacall(QMetaObject:: Call, int, void**) at moc_pqObjectInspectorWidget.cxx:0
#45 QMetaObject::activate(QObject*, int, int, void**) in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtCore.so.4"
#46 QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtCore.so.4"
#47 QAbstractButton::clicked(bool) in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtGui.so.4"
#48 ?? in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtGui.so.4"
#49 ?? in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtGui.so.4"
#50 QAbstractButton::mouseReleaseEvent(QMouseEvent*) in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtGui.so.4"
#51 QWidget::event(QEvent*) in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtGui.so.4"
#52 QAbstractButton::event(QEvent*) in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtGui.so.4"
#53 QPushButton::event(QEvent*) in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtGui.so.4"
#54 QApplicationPrivate::notify_helper(QObject*, QEvent*) in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtGui.so.4"
#55 QApplication::notify(QObject*, QEvent*) in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtGui.so.4"
#56 QCoreApplication::notifyInternal(QObject*, QEvent*) in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtCore.so.4"
#57 QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtGui.so.4"
#58 ?? in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtGui.so.4"
#59 QApplication::x11ProcessEvent(_XEvent*) in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtGui.so.4"
#60 ?? in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtGui.so.4"
#61 QEventLoop::processEvents(QFlags<qeventloop::proce sseventsflag>) in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtCore.so.4"
#62 QEventLoop::exec(QFlags<qeventloop::processeventsf lag>) in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtCore.so.4"
#63 QCoreApplication::exec() in "/home/david/OpenFOAM/ThirdParty/Qt-4.3.5/lib/libQtCore.so.4"
#64 pqProcessModuleGUIHelper::RunGUIStart(int, char**, int, int) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libpqCor e.so"
#65 vtkProcessModule::StartClient(int, char**) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerCommon.so"
#66 vtkProcessModule::Start(int, char**) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerCommon.so"
#67 vtkProcessModuleGUIHelper::Run(vtkPVOptions*) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerCommon.so"
#68 pqMain::Run(QApplication&, pqProcessModuleGUIHelper*) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libpqCor e.so"
#69 main in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/paraview -real"
#70 __libc_start_main in "/lib/libc.so.6"
#71 vtkObject::RegisterInternal(vtkObjectBase*, int) in "/home/david/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/paraview -real"


From function tmp<field<type> > PrimitivePatchInterpolation::faceToPointInterpolat e(const Field<type> ff)
in file /home/david/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude/PrimitivePatchInterpo lation.C at line 190.

FOAM aborting




Regards
David
david is offline   Reply With Quote

Old   January 29, 2009, 08:28
Default I pushed a change (to vtkPV3Fo
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
I pushed a change (to vtkPV3FoamConvertVolFields.H) to the 1.5.x git. Can you check that it works for your case?

Regards,

Mattijs
mattijs is offline   Reply With Quote

Old   January 29, 2009, 14:24
Default Hi Mattijs It works. The up
  #3
Member
 
David Hora
Join Date: Mar 2009
Location: Zürich, Switzerland
Posts: 63
Rep Power: 17
david is on a distinguished road
Hi Mattijs

It works. The update fixes the problem.

Thanks a lot

David
david 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
Morphology Divergence of a boundary patch field ngj OpenFOAM Running, Solving & CFD 42 June 3, 2015 10:46
patch a small field in flow wu yu FLUENT 5 April 9, 2014 17:45
Gamma field on boundary patch tom OpenFOAM Post-Processing 0 March 23, 2008 07:56
Adding a field on patch in parallel jaswi OpenFOAM Running, Solving & CFD 6 February 2, 2008 14:18
Projection of field onto patch tehache OpenFOAM Running, Solving & CFD 0 May 7, 2007 03:24


All times are GMT -4. The time now is 05:26.