CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] ParaFoam closes when loading a mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2022, 10:50
Default ParaFoam closes when loading a mesh
  #1
New Member
 
Facundo
Join Date: Feb 2021
Posts: 11
Rep Power: 5
finzeo is on a distinguished road
Hi all,

I am using OpenFOAM only to create a mesh (using blockmesh and snappyhexmesh), to simulate the flow around a vehicle, in other software (code_saturne), using FVM. It is a mesh of around 40 million cells. I would like to be able to visualize the mesh using ParaFoam (or Paraview), prior to running the case in code_saturne.

The problem is that when I run ParaFoam (or Paraview, loading the *.foam file), during the case loading process it exits, either from my own pc or from a server with a lot of RAM (in case that this was the cause). I did the latter since I have NO problems seeing a mesh of about 10 million cells on that server, but crashes with de 40 M cells mesh.

I show four messages: using Paraview or ParaFoam in my PC and in the remote server.

When using paraview from a local computer:

Quote:
Gtk-Message: 12:23:02.923: Failed to load module "canberra-gtk-module"
AutoMPI: SUCCESS: command is:
"/usr/bin/mpiexec" "-np" "4" "/usr/lib/paraview/pvserver" "--server-port=41909"
AutoMPI: starting process server
-------------- server output --------------
Waiting for client...
AutoMPI: server successfully started.
ERROR: In /build/paraview-lH8wFv/paraview-5.4.1+dfsg3/VTK/Common/System/vtkSocket.cxx, line 572
vtkClientSocket (0x55f2b9b06540): Socket error in call to send. Tubería rota.

ERROR: In /build/paraview-lH8wFv/paraview-5.4.1+dfsg3/VTK/Common/System/vtkSocket.cxx, line 572
vtkClientSocket (0x55f2b9b06540): Socket error in call to send. Tubería rota.

ERROR: In /build/paraview-lH8wFv/paraview-5.4.1+dfsg3/VTK/Common/System/vtkSocket.cxx, line 572
vtkClientSocket (0x55f2b9b06540): Socket error in call to send. Tubería rota.

ERROR: In /build/paraview-lH8wFv/paraview-5.4.1+dfsg3/ParaViewCore/ServerManager/Core/vtkSMSessionClient.cxx, line 786
vtkSMSessionClient (0x55f2b9054df0): Server failed to gather information.

ERROR: In /build/paraview-lH8wFv/paraview-5.4.1+dfsg3/VTK/Common/System/vtkSocket.cxx, line 572
vtkClientSocket (0x55f2b9b06540): Socket error in call to send. Tubería rota.

ERROR: In /build/paraview-lH8wFv/paraview-5.4.1+dfsg3/VTK/Common/System/vtkSocket.cxx, line 572
vtkClientSocket (0x55f2b9b06540): Socket error in call to send. Tubería rota.

ERROR: In /build/paraview-lH8wFv/paraview-5.4.1+dfsg3/VTK/Common/System/vtkSocket.cxx, line 572
vtkClientSocket (0x55f2b9b06540): Socket error in call to send. Tubería rota.

ERROR: In /build/paraview-lH8wFv/paraview-5.4.1+dfsg3/VTK/Common/System/vtkSocket.cxx, line 572
vtkClientSocket (0x55f2b9b06540): Socket error in call to send. Tubería rota.

ERROR: In /build/paraview-lH8wFv/paraview-5.4.1+dfsg3/VTK/Common/System/vtkSocket.cxx, line 572
vtkClientSocket (0x55f2b9b06540): Socket error in call to send. Tubería rota.

paraview: /build/paraview-lH8wFv/paraview-5.4.1+dfsg3/VTK/Parallel/Core/vtkMultiProcessStream.cxx:777: vtkMultiProcessStream& vtkMultiProcessStream:perator>>(std::__cxx11::st ring&): La declaración `this->Internals->Data.front() == vtkInternals::string_value' no se cumple.
Abortado (`core' generado)
When using paraFoam from a local computer:

Quote:
Segmentation fault (core dumped)
When using paraview from the server:

Quote:
[cluster62:154162] *** Process received signal ***
[cluster62:154162] Signal: Violaci�n de segmento (11)
[cluster62:154162] Signal code: Address not mapped (1)
[cluster62:154162] Failing at address: 0x6a69000
[cluster62:154162] [ 0] /lib64/libpthread.so.0[0x3d8ac0f7e0]
[cluster62:154162] [ 1] /lib64/libc.so.6(memcpy+0x28a)[0x3d8a0899aa]
[cluster62:154162] [ 2] /share/apps/paraview/5.6.0/lib/libvtkIOGeometry-pv5.6.so.1(+0x149788)[0x7eff71f3e788]
[cluster62:154162] [ 3] /share/apps/paraview/5.6.0/lib/libvtkIOGeometry-pv5.6.so.1(+0x14b091)[0x7eff71f40091]
[cluster62:154162] [ 4] /share/apps/paraview/5.6.0/lib/libvtkIOGeometry-pv5.6.so.1(+0x12a004)[0x7eff71f1f004]
[cluster62:154162] [ 5] /share/apps/paraview/5.6.0/lib/libvtkIOGeometry-pv5.6.so.1(+0x13d146)[0x7eff71f32146]
[cluster62:154162] [ 6] /share/apps/paraview/5.6.0/lib/libvtkIOGeometry-pv5.6.so.1(_ZN17vtkOpenFOAMReader11RequestDataEP14 vtkInformationPP20vtkInformationVectorS3_+0x5cf)[0x7eff71f34c4d]
[cluster62:154162] [ 7] /share/apps/paraview/5.6.0/lib/libvtkIOParallel-pv5.6.so.1(_ZN18vtkPOpenFOAMReader11RequestDataEP1 4vtkInformationPP20vtkInformationVectorS3_+0x55)[0x7eff72844ec3]
[cluster62:154162] [ 8] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN29vtkMultiBlockDataSetAlgorithm14Pro cessRequestEP14vtkInformationPP20vtkInformationVec torS3_+0xa1)[0x7eff69b7de61]
[cluster62:154162] [ 9] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN12vtkExecutive13CallAlgorithmEP14vtk InformationiPP20vtkInformationVectorS3_+0x83)[0x7eff69b64ee9]
[cluster62:154162] [10] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN23vtkDemandDrivenPipeline11ExecuteDa taEP14vtkInformationPP20vtkInformationVectorS3_+0x 67)[0x7eff69b5d0b9]
[cluster62:154162] [11] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN24vtkCompositeDataPipeline11ExecuteD ataEP14vtkInformationPP20vtkInformationVectorS3_+0 x492)[0x7eff69b53258]
[cluster62:154162] [12] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN23vtkDemandDrivenPipeline14ProcessRe questEP14vtkInformationPP20vtkInformationVectorS3_ +0x46b)[0x7eff69b5c7e7]
[cluster62:154162] [13] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN32vtkStreamingDemandDrivenPipeline14 ProcessRequestEP14vtkInformationPP20vtkInformation VectorS3_+0x932)[0x7eff69b9f33c]
[cluster62:154162] [14] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN24vtkCompositeDataPipeline15ForwardU pstreamEP14vtkInformation+0x2d8)[0x7eff69b5592e]
[cluster62:154162] [15] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN23vtkDemandDrivenPipeline14ProcessRe questEP14vtkInformationPP20vtkInformationVectorS3_ +0x3da)[0x7eff69b5c756]
[cluster62:154162] [16] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN32vtkStreamingDemandDrivenPipeline14 ProcessRequestEP14vtkInformationPP20vtkInformation VectorS3_+0x932)[0x7eff69b9f33c]
[cluster62:154162] [17] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN23vtkDemandDrivenPipeline10UpdateDat aEi+0x315)[0x7eff69b5cf15]
[cluster62:154162] [18] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN32vtkStreamingDemandDrivenPipeline6U pdateEiP20vtkInformationVector+0x172)[0x7eff69b9f64a]
[cluster62:154162] [19] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN32vtkStreamingDemandDrivenPipeline6U pdateEi+0x30)[0x7eff69b9f4d6]
[cluster62:154162] [20] /share/apps/paraview/5.6.0/lib/libvtkPVServerImplementationCore-pv5.6.so.1(_ZN16vtkSISourceProxy14UpdatePipelineEi db+0x1b8)[0x7eff79876b94]
[cluster62:154162] [21] /share/apps/paraview/5.6.0/lib/libvtkPVServerManagerApplication-pv5.6.so.1(_Z23vtkSISourceProxyCommandP26vtkClient ServerInterpreterP13vtkObjectBasePKcRK21vtkClientS erverStreamRS5_Pv+0x712)[0x7eff7ce34082]
[cluster62:154162] [22] /share/apps/paraview/5.6.0/lib/libvtkClientServer-pv5.6.so.1(_ZN26vtkClientServerInterpreter19CallCo mmandFunctionEPKcP13vtkObjectBaseS1_RK21vtkClientS erverStreamRS4_+0x315)[0x7eff778f786f]
[cluster62:154162] [23] /share/apps/paraview/5.6.0/lib/libvtkClientServer-pv5.6.so.1(_ZN26vtkClientServerInterpreter20Proces sCommandInvokeERK21vtkClientServerStreami+0x1c5)[0x7eff778f6043]
[cluster62:154162] [24] /share/apps/paraview/5.6.0/lib/libvtkClientServer-pv5.6.so.1(_ZN26vtkClientServerInterpreter17Proces sOneMessageERK21vtkClientServerStreami+0x135)[0x7eff778f564d]
[cluster62:154162] [25] /share/apps/paraview/5.6.0/lib/libvtkClientServer-pv5.6.so.1(_ZN26vtkClientServerInterpreter13Proces sStreamERK21vtkClientServerStream+0x2f)[0x7eff778f54e7]
[cluster62:154162] [26] /share/apps/paraview/5.6.0/lib/libvtkPVServerImplementationCore-pv5.6.so.1(_ZN16vtkPVSessionCore21ExecuteStreamInt ernalERK21vtkClientServerStreamb+0xde)[0x7eff798292d4]
[cluster62:154162] [27] /share/apps/paraview/5.6.0/lib/libvtkPVServerImplementationCore-pv5.6.so.1(_ZN16vtkPVSessionCore13ExecuteStreamEjR K21vtkClientServerStreamb+0x1f5)[0x7eff798290d3]
[cluster62:154162] [28] /share/apps/paraview/5.6.0/lib/libvtkPVServerImplementationCore-pv5.6.so.1(_ZN16vtkPVSessionBase13ExecuteStreamEjR K21vtkClientServerStreamb+0x5a)[0x7eff79825700]
[cluster62:154162] [29] /share/apps/paraview/5.6.0/lib/libvtkPVServerManagerCore-pv5.6.so.1(_ZN10vtkSMProxy13ExecuteStreamERK21vtkC lientServerStreambj+0xaa)[0x7eff79cf9ad6]
[cluster62:154162] *** End of error message ***
Violaci�n de segmento
When using paraFoam from the server:

Quote:
[cluster62:147975] *** Process received signal ***
[cluster62:147975] Signal: Segmentation fault (11)
[cluster62:147975] Signal code: Address not mapped (1)
[cluster62:147975] Failing at address: 0x7746000
[cluster62:147975] [ 0] /lib64/libpthread.so.0[0x3d8ac0f7e0]
[cluster62:147975] [ 1] /lib64/libc.so.6(memcpy+0x292)[0x3d8a0899b2]
[cluster62:147975] [ 2] /share/apps/paraview/5.6.0/lib/libvtkIOGeometry-pv5.6.so.1(+0x149788)[0x7f91117fb788]
[cluster62:147975] [ 3] /share/apps/paraview/5.6.0/lib/libvtkIOGeometry-pv5.6.so.1(+0x14b091)[0x7f91117fd091]
[cluster62:147975] [ 4] /share/apps/paraview/5.6.0/lib/libvtkIOGeometry-pv5.6.so.1(+0x12a004)[0x7f91117dc004]
[cluster62:147975] [ 5] /share/apps/paraview/5.6.0/lib/libvtkIOGeometry-pv5.6.so.1(+0x13d146)[0x7f91117ef146]
[cluster62:147975] [ 6] /share/apps/paraview/5.6.0/lib/libvtkIOGeometry-pv5.6.so.1(_ZN17vtkOpenFOAMReader11RequestDataEP14 vtkInformationPP20vtkInformationVectorS3_+0x5cf)[0x7f91117f1c4d]
[cluster62:147975] [ 7] /share/apps/paraview/5.6.0/lib/libvtkIOParallel-pv5.6.so.1(_ZN18vtkPOpenFOAMReader11RequestDataEP1 4vtkInformationPP20vtkInformationVectorS3_+0x55)[0x7f9112101ec3]
[cluster62:147975] [ 8] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN29vtkMultiBlockDataSetAlgorithm14Pro cessRequestEP14vtkInformationPP20vtkInformationVec torS3_+0xa1)[0x7f9109439e61]
[cluster62:147975] [ 9] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN12vtkExecutive13CallAlgorithmEP14vtk InformationiPP20vtkInformationVectorS3_+0x83)[0x7f9109420ee9]
[cluster62:147975] [10] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN23vtkDemandDrivenPipeline11ExecuteDa taEP14vtkInformationPP20vtkInformationVectorS3_+0x 67)[0x7f91094190b9]
[cluster62:147975] [11] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN24vtkCompositeDataPipeline11ExecuteD ataEP14vtkInformationPP20vtkInformationVectorS3_+0 x492)[0x7f910940f258]
[cluster62:147975] [12] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN23vtkDemandDrivenPipeline14ProcessRe questEP14vtkInformationPP20vtkInformationVectorS3_ +0x46b)[0x7f91094187e7]
[cluster62:147975] [13] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN32vtkStreamingDemandDrivenPipeline14 ProcessRequestEP14vtkInformationPP20vtkInformation VectorS3_+0x932)[0x7f910945b33c]
[cluster62:147975] [14] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN24vtkCompositeDataPipeline15ForwardU pstreamEP14vtkInformation+0x2d8)[0x7f910941192e]
[cluster62:147975] [15] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN23vtkDemandDrivenPipeline14ProcessRe questEP14vtkInformationPP20vtkInformationVectorS3_ +0x3da)[0x7f9109418756]
[cluster62:147975] [16] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN32vtkStreamingDemandDrivenPipeline14 ProcessRequestEP14vtkInformationPP20vtkInformation VectorS3_+0x932)[0x7f910945b33c]
[cluster62:147975] [17] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN23vtkDemandDrivenPipeline10UpdateDat aEi+0x315)[0x7f9109418f15]
[cluster62:147975] [18] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN32vtkStreamingDemandDrivenPipeline6U pdateEiP20vtkInformationVector+0x172)[0x7f910945b64a]
[cluster62:147975] [19] /share/apps/paraview/5.6.0/lib/libvtkCommonExecutionModel-pv5.6.so.1(_ZN32vtkStreamingDemandDrivenPipeline6U pdateEi+0x30)[0x7f910945b4d6]
[cluster62:147975] [20] /share/apps/paraview/5.6.0/lib/libvtkPVServerImplementationCore-pv5.6.so.1(_ZN16vtkSISourceProxy14UpdatePipelineEi db+0x1b8)[0x7f9119132b94]
[cluster62:147975] [21] /share/apps/paraview/5.6.0/lib/libvtkPVServerManagerApplication-pv5.6.so.1(_Z23vtkSISourceProxyCommandP26vtkClient ServerInterpreterP13vtkObjectBasePKcRK21vtkClientS erverStreamRS5_Pv+0x712)[0x7f911c6f1082]
[cluster62:147975] [22] /share/apps/paraview/5.6.0/lib/libvtkClientServer-pv5.6.so.1(_ZN26vtkClientServerInterpreter19CallCo mmandFunctionEPKcP13vtkObjectBaseS1_RK21vtkClientS erverStreamRS4_+0x315)[0x7f91171b386f]
[cluster62:147975] [23] /share/apps/paraview/5.6.0/lib/libvtkClientServer-pv5.6.so.1(_ZN26vtkClientServerInterpreter20Proces sCommandInvokeERK21vtkClientServerStreami+0x1c5)[0x7f91171b2043]
[cluster62:147975] [24] /share/apps/paraview/5.6.0/lib/libvtkClientServer-pv5.6.so.1(_ZN26vtkClientServerInterpreter17Proces sOneMessageERK21vtkClientServerStreami+0x135)[0x7f91171b164d]
[cluster62:147975] [25] /share/apps/paraview/5.6.0/lib/libvtkClientServer-pv5.6.so.1(_ZN26vtkClientServerInterpreter13Proces sStreamERK21vtkClientServerStream+0x2f)[0x7f91171b14e7]
[cluster62:147975] [26] /share/apps/paraview/5.6.0/lib/libvtkPVServerImplementationCore-pv5.6.so.1(_ZN16vtkPVSessionCore21ExecuteStreamInt ernalERK21vtkClientServerStreamb+0xde)[0x7f91190e52d4]
[cluster62:147975] [27] /share/apps/paraview/5.6.0/lib/libvtkPVServerImplementationCore-pv5.6.so.1(_ZN16vtkPVSessionCore13ExecuteStreamEjR K21vtkClientServerStreamb+0x1f5)[0x7f91190e50d3]
[cluster62:147975] [28] /share/apps/paraview/5.6.0/lib/libvtkPVServerImplementationCore-pv5.6.so.1(_ZN16vtkPVSessionBase13ExecuteStreamEjR K21vtkClientServerStreamb+0x5a)[0x7f91190e1700]
[cluster62:147975] [29] /share/apps/paraview/5.6.0/lib/libvtkPVServerManagerCore-pv5.6.so.1(_ZN10vtkSMProxy13ExecuteStreamERK21vtkC lientServerStreambj+0xaa)[0x7f91195b6ad6]
[cluster62:147975] *** End of error message ***
/share/apps/OpenFOAM/OpenFOAM-8/bin/paraFoam: line 63: 147975 Segmentation fault LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ParaView_LIB_DIR/mesa paraview "$@"
Any ideas on what could be the problem?
finzeo is offline   Reply With Quote

Reply

Tags
crash, parafoam, paraview


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
[snappyHexMesh] High quality mesh for wind in complex urban environment ziboaa OpenFOAM Meshing & Mesh Conversion 1 January 12, 2021 15:33
GeometricField -> mesh() Function Tobi OpenFOAM Programming & Development 10 November 19, 2020 11:33
Identifying Markers in a CGNS Mesh tjim SU2 3 October 12, 2018 01:21
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 09:56.