# how to find the output file?

**URL:** https://discourse.vtk.org/t/how-to-find-the-output-file/3631
**Category:** Support
**Created:** [June 24, 2020, 7:40am UTC](https://discourse.vtk.org/t/how-to-find-the-output-file/3631 "2020-06-24T07:40:32Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![gustave](https://discourse.vtk.org/user_avatar/discourse.vtk.org/gustave/32/2015_2.png) [@gustave](https://discourse.vtk.org/u/gustave)
#### Post date: [June 24, 2020, 7:40am UTC](https://discourse.vtk.org/t/how-to-find-the-output-file/3631/1 "2020-06-24T07:40:32Z")

</div>

Hello !

I just put myself on vtk to visualize hydrogen adsorbing molecules from RASPA.2 software. When I launch vtk I get the following message:

assoualaye@assoualaye-Latitude-E6220:~/vtk\_ex/materials/Demos/Simple$ vtkProbeOpenGLVersion-9.0 cone2.tcl  
Class: vtkXOpenGLRenderWindow succeeded in finding a working OpenGL  
what to do?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [June 24, 2020, 11:56am UTC](https://discourse.vtk.org/t/how-to-find-the-output-file/3631/2 "2020-06-24T11:56:47Z")

</div>

`vtkProbeOpenGLVersion` is a tool used during VTK’s build. What do you expect to happen with it?

In addition Tcl support was removed a few years ago, in VTK 7 I think.

---

<div class="post-metadata">

### Author: ![gustave](https://discourse.vtk.org/user_avatar/discourse.vtk.org/gustave/32/2015_2.png) [@gustave](https://discourse.vtk.org/u/gustave)
#### Post date: [June 25, 2020, 9:46am UTC](https://discourse.vtk.org/t/how-to-find-the-output-file/3631/3 "2020-06-25T09:46:19Z")

</div>

How should I proceed please. I just started with vtk

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [June 25, 2020, 1:05pm UTC](https://discourse.vtk.org/t/how-to-find-the-output-file/3631/4 "2020-06-25T13:05:59Z")

</div>

I would recommend using the Python bindings for scripts instead of Tcl. There are examples on [this site](https://lorensen.github.io/VTKExamples/site/) for how to do this. You can install VTK via `pip install vtk` to get the Python bindings. The C++ look a lot like the Python code you’ll need, but some syntax and boilerplate needs translating (there are examples which have both so that you can compare).

---

<div class="post-metadata">

### Author: ![gustave](https://discourse.vtk.org/user_avatar/discourse.vtk.org/gustave/32/2015_2.png) [@gustave](https://discourse.vtk.org/u/gustave)
#### Post date: [June 25, 2020, 4:08pm UTC](https://discourse.vtk.org/t/how-to-find-the-output-file/3631/5 "2020-06-25T16:08:47Z")

</div>

Thank you for your guidance. In reality, I would like to visualize hydrogenated molecules. Which are obtained using RASPA2.0 software. After the simulation we get files with a vtk extension like dnesity.vtk, and my concern is to know if it would be possible to view them using Python links.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [June 25, 2020, 7:31pm UTC](https://discourse.vtk.org/t/how-to-find-the-output-file/3631/6 "2020-06-25T19:31:08Z")

</div>

I recommend using ParaView to load and analyze the files. You could make a simple VTK viewer, but if you want to actually analyze it, ParaView has everything you need already available instead of manually setting up filters and such. [https://www.paraview.org/](https://www.paraview.org/)

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [June 25, 2020, 7:32pm UTC](https://discourse.vtk.org/t/how-to-find-the-output-file/3631/7 "2020-06-25T19:32:23Z")

</div>

If you really do just want to view, F3D is simpler, but I don’t know if there are ready-made binaries available yet. [https://github.com/Kitware/F3D](https://github.com/Kitware/F3D) @mwestphal

There are binaries: [https://gitlab.kitware.com/f3d/f3d/-/releases](https://gitlab.kitware.com/f3d/f3d/-/releases)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [June 26, 2020, 2:02am UTC](https://discourse.vtk.org/t/how-to-find-the-output-file/3631/8 "2020-06-26T02:02:53Z")

</div>

Thanks ben !

@Michael : I think we do need to put that blog out 🙂

---

<div class="post-metadata">

### Author: ![gustave](https://discourse.vtk.org/user_avatar/discourse.vtk.org/gustave/32/2015_2.png) [@gustave](https://discourse.vtk.org/u/gustave)
#### Post date: [June 26, 2020, 9:02pm UTC](https://discourse.vtk.org/t/how-to-find-the-output-file/3631/9 "2020-06-26T21:02:44Z")

</div>

thank you Ben for all these directions. I think I will try Paraview too.

---

<div class="post-metadata">

### Author: ![Ati](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@Ati](https://discourse.vtk.org/u/Ati)
#### Post date: [December 5, 2023, 12:43am UTC](https://discourse.vtk.org/t/how-to-find-the-output-file/3631/10 "2023-12-05T00:43:14Z")

</div>

Hi @gustave, if possible did you solve this process, if you fix it please can you share the steps to get the density profile?  
Thank You
