# Using the PFC3D python code without opening the GUI

**URL:** <https://forum.itascainternational.com/t/using-the-pfc3d-python-code-without-opening-the-gui/1947>\
**Category:** PFC\
**Created:** [February 17, 2025, 1:44am UTC](https://forum.itascainternational.com/t/using-the-pfc3d-python-code-without-opening-the-gui/1947 "2025-02-17T01:44:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanan2005](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@sanan2005](https://forum.itascainternational.com/u/sanan2005)\
**Post date:** [February 17, 2025, 1:44am UTC](https://forum.itascainternational.com/t/using-the-pfc3d-python-code-without-opening-the-gui/1947/1 "2025-02-17T01:44:39Z")

</div>

Hello everyone!

Is there anyway that I can use the python code for measuring porosity of PFC3D to measure the porosity of CFD cell without opening the interface of PFC3D? Let’s say that I have the position of the particles, and the setup of CFD cells, and I want to measure porosity of CFD cells, using the function in PFC through python, based on these data I have without actually opening the PFC3D interface. Is it possible to do that?

Thank you very much!
