CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] paraview crashes, maybe I am doing something wrong (https://www.cfd-online.com/Forums/paraview/99665-paraview-crashes-maybe-i-am-doing-something-wrong.html)

mihaipruna April 9, 2012 09:11

paraview crashes, maybe I am doing something wrong
 
I'm trying to get out something like this:

http://www.cfd-technologies.co.uk/images/f15e-500.jpg

Let's leave the streamlines out for now. I have a case with 4 million cells. I clip the internal mesh. Then I reopen another instance of the case further down in the pipeline and only display the STL surfaces. Anything beyond that causes it to crash. It's also very slow. I am using a Ubuntu VM with 6GB of RAM. I am currently expanding the disk size from 20gb to 40GB. Anything else I can do?

wyldckat April 9, 2012 09:31

Hi Mihai,

Is your Ubuntu i686 or x86_64? To confirm, run:
Code:

uname -m
If it's i686, it won't matter how much RAM you throw at it, because the maximum amount of RAM any process can use in 32bit is 2GiB.

Given that nowadays ParaView has an internal reader, you can copy the case folder to your real Windows or Mac machine and open any file with the extension "*.foam".

On Windows, open a command line window (run cmd), go into the folder where you have the case and run:
Code:

echo. > case.foam
The open this file "case.foam" in ParaView. This way you can use all of the RAM that your real machine has.
You can pre-create such a file on Ubuntu by running:
Code:

paraFoam -touch -builtin
Best regards,
Bruno

lovecraft22 April 9, 2012 10:33

I'm using ubuntu on a virtual machine as well on a mac. What I usually do is to set the case directory as a shared folder between my host machine and the guest. This way I can look at the results using paraview on Mac Os X instead of looking at them within the virtual machine.

wyldckat April 9, 2012 10:43

Quote:

Originally Posted by lovecraft22 (Post 353787)
What I usually do is to set the case directory as a shared folder between my host machine and the guest.

Be very careful when doing this on Windows + VirtualBox with Ubuntu VM, because it's been known to make the OpenFOAM solver's complain about files.
I'm not really sure in which way the folders were being shared, all I know is that crazy errors appeared. It'll take a while to look for the posts that mention this :(

edit: I searched for it and found the relevant thread and specific post confirming the issue with shared folders: http://www.cfd-online.com/Forums/ope...tml#post343474

lovecraft22 April 9, 2012 10:52

Thank you Bruno, I noticed that indeed…

When you delete a file from the host machine then openFoam complains because some other file is missing or because it cannot write within a certain folder… The only way to solve this is to unmount you shared folder and then to mount it back. I created two aliases to perform these two tasks faster.

I'm on a Mac so that's not a Windows issue only (funny, isnt't it…)

mihaipruna April 9, 2012 15:05

thanks everyone, it works way better under windows. still crashed at some point in time, but farther along :)

lramutti April 25, 2014 20:27

Hey guys,

My ParaView 3.12 suddenly froze and I installed ParaView 4.0 to replace it. It seems like the new ParaView does not like one of the stl files I am trying to open. This is the error it keeps giving me:

Code:

ERROR: In /home/opencfd/OpenFOAM/ParaView-4.1.0/VTK/IO/Geometry/vtkSTLReader.cxx, line 378
vtkSTLReader (0x5c2f0a0): STLReader error reading file: /home/meisu/OpenFOAM/meisu-2.2.1/run/Research/HarranMesh/PostTurkey/priorityCases/priorityactualCase/constant/triSurface/dentro.stl Premature EOF while reading point.

Does somebody know how to solve this?

Cheers

wyldckat April 26, 2014 07:41

Greetings Lucas,

It would be useful to know:
  1. What exactly happened to your ParaView 3.12.0, for example if you upgraded you're Linux Distribution or installed something else new.
  2. Also would be useful how exactly you installed ParaView 4.1.0.
  3. What command did you use to run ParaView 4.1.0?
My guess is that your Linux installation is using a non-English user interface. If you do not use the paraFoam script to launch ParaView, then you'll need to run this command before opening ParaView from the command line:
Code:

export LC_ALL=C
The other possibility is that ParaView is correct in stating that the STL file is incomplete, possibly due to a lack of disk space when you saved the STL file.

Best regards,
Bruno

lramutti April 26, 2014 15:48

Hey Bruno,

Thanks for the response. So what happen was that suddenly my ParaView 3.12 stopped to work. With that I mean that I was not able to hit the apply key when I clicked a region of my mesh or a parameter. Same thing happened when trying to open a STL. So I thought I should simply restart the computer. It didn't workout. Another interesting thing that happened was with my clock on the top of the screen that disappeared. I figured it would just be simpler to re-install ParaView by installing the new version of OpenFOAM. Now regardless of the FOAM version I am running I just hit paraFoam in the command line and ParaView 4.0 opens. I personally don't think there is any problem with the STL because I was able to open it on ParaView 3.12 before it crashed. Seems like OpenFOAM has its own life :)

lramutti April 26, 2014 16:08

Sorry for the second message but just to clarify the previous one. My ParaView 3.12 did not crash because I was trying to open the STL file. I was able to open the STL but the apply key froze. Sorry for the misunderstanding.

Cheers

Lucas

wyldckat April 28, 2014 15:49

Hi Lucas,

The disappearance of the clock and other controls on the top right is one of those crazy bugs that easily occur in Ubuntu+Gnome. I have yet to understand why it happens.

The remaining description seems to be related to a possible update made to the system. This would easily happen if for example you had updated Ubuntu 13.10 to 14.04.
The other possibility is if the graphics card drivers had been updated.

As for the problem with the STL file, here are a few questions to try and figure out what might be the problem:
  1. If you run the following command, what does it give you?
    Code:

    which paraview
  2. And what about this command:
    Code:

    type paraFoam
  3. And if you run the following commands, are you able to open the STL file from within ParaView without any problems?
    Code:

    export LC_ALL=C
    paraview

Best regards,
Bruno

PS: Forum members can edit their own posts within a period of 30 days of originally posting them ;)

lramutti April 28, 2014 17:16

Hey Bruno,

Thanks for letting me know about editing in the forum. I have followed your advice and this is what the terminal give me:

Quote:

If you run the following command, what does it give you?
Code:

which paraview

Output
Code:

/opt/paraviewopenfoam410/bin/paraview
Quote:

And what about this command:
Code:

type paraFoam

Output**
Code:

paraFoam is hashed (/opt/openfoam230/bin/paraFoam)
**What is that supposed to mean?

Quote:

And if you run the following commands, are you able to open the STL file from within ParaView without any problems?
Code:

export LC_ALL=C
paraview


Output
It turns out that the code crash and the following is output (it is very long):
Code:

ERROR: In /home/opencfd/OpenFOAM/ParaView-4.1.0/VTK/IO/Geometry/vtkSTLReader.cxx, line 378
vtkSTLReader (0x517e520): STLReader error reading file: /home/meisu/OpenFOAM/meisu-2.2.1/run/Research/HarranMesh/PostTurkey/priorityCases/priorityactualCase/constant/triSurface/dentro.stl Premature EOF while reading point.


*** glibc detected *** /opt/paraviewopenfoam410/lib/paraview-4.1/paraview: double free or corruption (!prev): 0x0000000005525120 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7fc6f0463b96]
/lib/x86_64-linux-gnu/libc.so.6(fclose+0x155)[0x7fc6f0453815]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkIOGeometry-pv4.1.so.1(_ZN12vtkSTLReader11RequestDataEP14vtkInformationPP20vtkInformationVectorS3_+0x237)[0x7fc6d9c16137]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkPVVTKExtensionsDefault-pv4.1.so.1(_ZN19vtkFileSeriesReader11RequestDataEP14vtkInformationPP20vtkInformationVectorS3_+0x68)[0x7fc6ed44aec8]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkPVVTKExtensionsDefault-pv4.1.so.1(_ZN19vtkFileSeriesReader14ProcessRequestEP14vtkInformationPP20vtkInformationVectorS3_+0xed)[0x7fc6ed448e5d]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkCommonExecutionModel-pv4.1.so.1(_ZN12vtkExecutive13CallAlgorithmEP14vtkInformationiPP20vtkInformationVectorS3_+0x54)[0x7fc6ec1450e4]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkCommonExecutionModel-pv4.1.so.1(_ZN23vtkDemandDrivenPipeline11ExecuteDataEP14vtkInformationPP20vtkInformationVectorS3_+0x4c)[0x7fc6ec141cdc]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkCommonExecutionModel-pv4.1.so.1(_ZN24vtkCompositeDataPipeline11ExecuteDataEP14vtkInformationPP20vtkInformationVectorS3_+0x79)[0x7fc6ec13fbc9]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkCommonExecutionModel-pv4.1.so.1(_ZN23vtkDemandDrivenPipeline14ProcessRequestEP14vtkInformationPP20vtkInformationVectorS3_+0x14d)[0x7fc6ec14459d]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkCommonExecutionModel-pv4.1.so.1(_ZN32vtkStreamingDemandDrivenPipeline14ProcessRequestEP14vtkInformationPP20vtkInformationVectorS3_+0x3b9)[0x7fc6ec1583d9]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkCommonExecutionModel-pv4.1.so.1(_ZN24vtkCompositeDataPipeline15ForwardUpstreamEP14vtkInformation+0x135)[0x7fc6ec13ecb5]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkCommonExecutionModel-pv4.1.so.1(_ZN23vtkDemandDrivenPipeline14ProcessRequestEP14vtkInformationPP20vtkInformationVectorS3_+0x107)[0x7fc6ec144557]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkCommonExecutionModel-pv4.1.so.1(_ZN32vtkStreamingDemandDrivenPipeline14ProcessRequestEP14vtkInformationPP20vtkInformationVectorS3_+0x3b9)[0x7fc6ec1583d9]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkCommonExecutionModel-pv4.1.so.1(_ZN23vtkDemandDrivenPipeline10UpdateDataEi+0x1d7)[0x7fc6ec143367]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkCommonExecutionModel-pv4.1.so.1(_ZN32vtkStreamingDemandDrivenPipeline6UpdateEi+0x99)[0x7fc6ec158ec9]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkPVServerManagerApplication-pv4.1.so.1(_Z23vtkSISourceProxyCommandP26vtkClientServerInterpreterP13vtkObjectBasePKcRK21vtkClientServerStreamRS5_Pv+0x742)[0x7fc6eab3e772]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1(_ZN26vtkClientServerInterpreter19CallCommandFunctionEPKcP13vtkObjectBaseS1_RK21vtkClientServerStreamRS4_+0x131)[0x7fc6e9bd9b11]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkPVServerManagerApplication-pv4.1.so.1(_Z33vtkSIFileSeriesReaderProxyCommandP26vtkClientServerInterpreterP13vtkObjectBasePKcRK21vtkClientServerStreamRS5_Pv+0x41b)[0x7fc6eab3a23b]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1(_ZN26vtkClientServerInterpreter19CallCommandFunctionEPKcP13vtkObjectBaseS1_RK21vtkClientServerStreamRS4_+0x131)[0x7fc6e9bd9b11]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1(_ZN26vtkClientServerInterpreter20ProcessCommandInvokeERK21vtkClientServerStreami+0x1c1)[0x7fc6e9bdeaa1]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1(_ZN26vtkClientServerInterpreter17ProcessOneMessageERK21vtkClientServerStreami+0x4f5)[0x7fc6e9bdd2e5]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1(_ZN26vtkClientServerInterpreter13ProcessStreamERK21vtkClientServerStream+0x1d)[0x7fc6e9bdd63d]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1(_ZN16vtkPVSessionCore21ExecuteStreamInternalERK21vtkClientServerStreamb+0x10c)[0x7fc6eefb528c]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1(_ZN16vtkPVSessionCore13ExecuteStreamEjRK21vtkClientServerStreamb+0x4c)[0x7fc6eefb4b4c]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1(_ZN16vtkPVSessionBase13ExecuteStreamEjRK21vtkClientServerStreamb+0x42)[0x7fc6eefb3892]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkPVServerManagerCore-pv4.1.so.1(_ZN15vtkSMOutputPort22UpdatePipelineInternalEdb+0x128)[0x7fc6ef2cd2c8]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkPVServerManagerCore-pv4.1.so.1(_ZN16vtkSMSourceProxy14UpdatePipelineEd+0x50)[0x7fc6ef320270]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkpqCore-pv4.1.so.1(_ZNK15pqDisplayPolicy20getPreferredViewTypeEP12pqOutputPortb+0x338)[0x7fc6f21f0fe8]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkpqCore-pv4.1.so.1(_ZNK15pqDisplayPolicy16getPreferredViewEP12pqOutputPortP6pqView+0xe8)[0x7fc6f21f1228]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkpqCore-pv4.1.so.1(_ZNK15pqDisplayPolicy29createPreferredRepresentationEP12pqOutputPortP6pqViewb+0x53)[0x7fc6f21f14f3]
/opt/paraviewopenfoam410/lib/paraview-4.1/libvtkpqComponents-pv4.1.so.1(_ZN17pqPropertiesPanel5applyEv+0x510)[0x7fc6f2a030d0]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1)[0x7fc6f0e4a281]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN15QAbstractButton7clickedEb+0x32)[0x7fc6f19e8cb2]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x599a8e)[0x7fc6f1726a8e]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x59adcb)[0x7fc6f1727dcb]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN15QAbstractButton17mouseReleaseEventEP11QMouseEvent+0x8c)[0x7fc6f172803c]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x684)[0x7fc6f13a9144]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xb4)[0x7fc6f1358894]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0xabf)[0x7fc6f135e0bf]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8c)[0x7fc6f0e35e9c]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb+0x172)[0x7fc6f1359862]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x24bc35)[0x7fc6f13d8c35]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0xdce)[0x7fc6f13d7bee]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x274112)[0x7fc6f1401112]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x133)[0x7fc6e823dd13]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x48060)[0x7fc6e823e060]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x34)[0x7fc6e823e124]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x6f)[0x7fc6f0e653bf]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x273d9e)[0x7fc6f1400d9e]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32)[0x7fc6f0e34c82]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xf7)[0x7fc6f0e34ed7]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x87)[0x7fc6f0e39f67]
/opt/paraviewopenfoam410/lib/paraview-4.1/paraview(main+0x147)[0x406877]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fc6f040676d]
/opt/paraviewopenfoam410/lib/paraview-4.1/paraview[0x406a41]
======= Memory map: ========
00400000-008bb000 r-xp 00000000 08:01 9115160                            /opt/paraviewopenfoam410/lib/paraview-4.1/paraview
00aba000-00abb000 r--p 004ba000 08:01 9115160                            /opt/paraviewopenfoam410/lib/paraview-4.1/paraview
00abb000-00abc000 rw-p 004bb000 08:01 9115160                            /opt/paraviewopenfoam410/lib/paraview-4.1/paraview
01c0b000-058f6000 rw-p 00000000 00:00 0                                  [heap]
7fc6c395c000-7fc6c395d000 rw-s 16f804000 00:05 1532                      /dev/dri/card0
7fc6c395d000-7fc6c395e000 rw-s 16f803000 00:05 1532                      /dev/dri/card0
7fc6c395f000-7fc6c3960000 rw-s 16f801000 00:05 1532                      /dev/dri/card0
7fc6c39d2000-7fc6c39e8000 r--p 00000000 08:01 6294626                    /usr/share/fonts/type1/gsfonts/n022024l.pfb
7fc6c39e8000-7fc6c39f0000 rw-s 16a127000 00:05 1532                      /dev/dri/card0
7fc6c39f8000-7fc6c39f9000 rw-s 16a147000 00:05 1532                      /dev/dri/card0
7fc6c3a01000-7fc6c3a09000 rw-s 154c85000 00:05 1532                      /dev/dri/card0
7fc6c3a09000-7fc6c3a11000 rw-s 154c7d000 00:05 1532                      /dev/dri/card0
7fc6c3a11000-7fc6c3a19000 rw-s 154c75000 00:05 1532                      /dev/dri/card0
7fc6c3a19000-7fc6c3a21000 rw-s 154c6d000 00:05 1532                      /dev/dri/card0
7fc6c3a21000-7fc6c3a29000 rw-s 154c65000 00:05 1532                      /dev/dri/card0
7fc6c3a29000-7fc6c3a31000 rw-s 154c5d000 00:05 1532                      /dev/dri/card0
7fc6c3a31000-7fc6c3a39000 rw-s 154c55000 00:05 1532                      /dev/dri/card0
7fc6c3a39000-7fc6c3a41000 rw-s 154c4d000 00:05 1532                      /dev/dri/card0
7fc6c3a41000-7fc6c3a49000 rw-s 154c45000 00:05 1532                      /dev/dri/card0
7fc6c3a49000-7fc6c3a51000 rw-s 154c3d000 00:05 1532                      /dev/dri/card0
7fc6c3a51000-7fc6c3a59000 rw-s 154c35000 00:05 1532                      /dev/dri/card0
7fc6c3a59000-7fc6c3a61000 rw-s 154c2d000 00:05 1532                      /dev/dri/card0
7fc6c3a61000-7fc6c3a69000 rw-s 154c25000 00:05 1532                      /dev/dri/card0
7fc6c3a69000-7fc6c3a71000 rw-s 154c1d000 00:05 1532                      /dev/dri/card0
7fc6c3a71000-7fc6c3a79000 rw-s 154c15000 00:05 1532                      /dev/dri/card0
7fc6c3a79000-7fc6c3a81000 rw-s 154c0d000 00:05 1532                      /dev/dri/card0
7fc6c3a81000-7fc6c3a89000 rw-s 154c05000 00:05 1532                      /dev/dri/card0
7fc6c3a89000-7fc6c3a91000 rw-s 154bfd000 00:05 1532                      /dev/dri/card0
7fc6c3a91000-7fc6c3a99000 rw-s 154bf5000 00:05 1532                      /dev/dri/card0
7fc6c3a99000-7fc6c3aa1000 rw-s 154bed000 00:05 1532                      /dev/dri/card0
7fc6c3aa1000-7fc6c3aa2000 rw-s 16a09e000 00:05 1532                      /dev/dri/card0
7fc6c3aa2000-7fc6c3aa3000 rw-s 16a09d000 00:05 1532                      /dev/dri/card0
7fc6c3aa3000-7fc6c3aa4000 rw-s 16a09c000 00:05 1532                      /dev/dri/card0
7fc6c3aa4000-7fc6c3aac000 rw-s 154be5000 00:05 1532                      /dev/dri/card0
7fc6c3aac000-7fc6c3ab4000 rw-s 154bdd000 00:05 1532                      /dev/dri/card0
7fc6c3ab4000-7fc6c3abc000 rw-s 154bd5000 00:05 1532                      /dev/dri/card0
7fc6c3abc000-7fc6c3ac4000 rw-s 154bcd000 00:05 1532                      /dev/dri/card0
7fc6c3ac4000-7fc6c3acc000 rw-s 154bc5000 00:05 1532                      /dev/dri/card0
7fc6c3acc000-7fc6c3ad4000 rw-s 154bbd000 00:05 1532                      /dev/dri/card0
7fc6c3ad4000-7fc6c3adc000 rw-s 154bb5000 00:05 1532                      /dev/dri/card0
7fc6c3adc000-7fc6c3ae4000 rw-s 154bad000 00:05 1532                      /dev/dri/card0
7fc6c3ae4000-7fc6c3aec000 rw-s 154ba5000 00:05 1532                      /dev/dri/card0
7fc6c3aec000-7fc6c3af4000 rw-s 154b9d000 00:05 1532                      /dev/dri/card0
7fc6c3af4000-7fc6c3afc000 rw-s 154b95000 00:05 1532                      /dev/dri/card0
7fc6c3afc000-7fc6c3b04000 rw-s 154b8d000 00:05 1532                      /dev/dri/card0
7fc6c3b04000-7fc6c3b0c000 rw-s 154b85000 00:05 1532                      /dev/dri/card0
7fc6c3b0c000-7fc6c3b14000 rw-s 154b7d000 00:05 1532                      /dev/dri/card0
7fc6c3b14000-7fc6c3b1c000 rw-s 154b75000 00:05 1532                      /dev/dri/card0
7fc6c3b1c000-7fc6c3b24000 rw-s 154b6d000 00:05 1532                      /dev/dri/card0
7fc6c3b24000-7fc6c3b2c000 rw-s 154b65000 00:05 1532                      /dev/dri/card0
7fc6c3b2c000-7fc6c3b34000 rw-s 154b5d000 00:05 1532                      /dev/dri/card0
7fc6c3b34000-7fc6c3b3c000 rw-s 154b55000 00:05 1532                      /dev/dri/card0
7fc6c3b3c000-7fc6c3b44000 rw-s 154b4d000 00:05 1532                      /dev/dri/card0
7fc6c3b44000-7fc6c3b4c000 rw-s 154b45000 00:05 1532                      /dev/dri/card0
7fc6c3b4c000-7fc6c3b55000 r-xp 00000000 08:01 5769387                    /usr/lib/x86_64-linux-gnu/qt4/plugins/iconengines/libqsvgicon.so
7fc6c3b55000-7fc6c3d54000 ---p 00009000 08:01 5769387                    /usr/lib/x86_64-linux-gnu/qt4/plugins/iconengines/libqsvgicon.so
7fc6c3d54000-7fc6c3d55000 r--p 00008000 08:01 5769387                    /usr/lib/x86_64-linux-gnu/qt4/plugins/iconengines/libqsvgicon.so
7fc6c3d55000-7fc6c3d56000 rw-p 00009000 08:01 5769387                    /usr/lib/x86_64-linux-gnu/qt4/plugins/iconengines/libqsvgicon.so
7fc6c3d59000-7fc6c3d61000 rw-s 154b3d000 00:05 1532                      /dev/dri/card0
7fc6c3d61000-7fc6c3d69000 rw-s 154b35000 00:05 1532                      /dev/dri/card0
7fc6c3d69000-7fc6c3d71000 rw-s 154b2d000 00:05 1532                      /dev/dri/card0
7fc6c3d71000-7fc6c43d0000 rw-s 00000000 00:04 398295044                  /SYSV00000000 (deleted)
7fc6c43d0000-7fc6c43d1000 rw-s 16d896000 00:05 1532                      /dev/dri/card0
7fc6c43d1000-7fc6c43d2000 rw-s 16dca6000 00:05 1532                      /dev/dri/card0
7fc6c43d2000-7fc6c43d3000 rw-s 16d895000 00:05 1532                      /dev/dri/card0
7fc6c43d3000-7fc6c4696000 rw-p 00000000 00:00 0
7fc6c4696000-7fc6c4697000 rw-s 13bbe4000 00:05 1532                      /dev/dri/card0
7fc6c4697000-7fc6c4698000 rw-s 13bbe3000 00:05 1532                      /dev/dri/card0
7fc6c4698000-7fc6c4699000 rw-s 16f988000 00:05 1532                      /dev/dri/card0Aborted (core dumped)

Cheers!

Lucas

lramutti April 29, 2014 14:39

Bruno,

It seems that ParaView crashes whenever the ASCII STL file lacks a filenmane for the endsolid. For instance, I notice that in this particular case my STL file contained:

Code:

solid internal

endsolid

The correct way is supposed to be:

Code:

solid internal

endsolid internal

Cheers,

Lucas

wyldckat April 30, 2014 13:03

Hi Lucas,

Sorry, I didn't manage to look into this any sooner. And many thanks for sharing the solution you've found!

And your solution has now reminded me that Tobi had posted a nearly identical question several months ago: http://www.cfd-online.com/Forums/ope...ascii-stl.html - although the issue back then was with older versions of ParaView... I guess the STL reader in ParaView/VTK is pretty sensitive...

Best regards,
Bruno

Tobi May 12, 2014 05:43

Quote:

Originally Posted by lramutti (Post 488981)

The correct way is supposed to be:

Code:

solid internal

endsolid internal

Cheers,

Lucas

Hi,

nice to know Lucas... just one question!
If you using region STLīs so you should define it as follow:

Code:

solid wallSurfaceHead
.
.
endsolid wallSurfaceHead
solid inletFront
.
.
endsolid inletFront

Is that correct or did you try it out?

lramutti May 14, 2014 16:28

Hey Tobi

That's correct. Make sure to add the mentioned commands to the regions of every STL before concatenating.

Cheers

Lucas

Tobi November 27, 2014 05:36

Hi Lucas,

my experience (interesting) is, that if you name your STL like *.STL you have to write that format:
Code:

solid myName
.
.
.
endsolid myName

If you rename the STL into *.stl, it is working without the myName after ensolid like:
Code:

solid myName
.
.
.
endsolid



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