# Load custom variables files in pvpython

**URL:** https://discourse.paraview.org/t/load-custom-variables-files-in-pvpython/5064
**Category:** ParaView Support
**Tags:** python
**Created:** [August 9, 2020, 10:51pm UTC](https://discourse.paraview.org/t/load-custom-variables-files-in-pvpython/5064 "2020-08-09T22:51:07Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ShogunHirei](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@ShogunHirei](https://discourse.paraview.org/u/ShogunHirei)
#### Post date: [August 10, 2020, 1:34am UTC](https://discourse.paraview.org/t/load-custom-variables-files-in-pvpython/5064/2 "2020-08-10T01:34:21Z")

</div>

I found a solution.  
The OpenFoamReader doesn’t read the variables that are listed when calling the paraFoam utility in the default version of OpenFoam installation. The Reader used in paraFoam corresponds to the PVFoamReader. To use it, it was need in the pvpython it was needed to use the LD\_PRELOAD, in the same fashion as described in [this thread](https://discourse.paraview.org/t/not-able-to-load-openfoam-paraview-reader-pvfoamreader-when-using-pvbatch-or-pvpython/248/12).

I just need to find the file and adjust the path. Hope this help someone! 😁

---

_[View the full topic](https://discourse.paraview.org/t/load-custom-variables-files-in-pvpython/5064)._
