Skip to main content

VOFTools

A package of FORTRAN subroutines with analytical and geometrical tools for 2D/3D VOF methods in general grids and Cartesian geometry

(Version 6, October 2026) Copyright (C) 2026 J. Lopez

Description

VOFTools is a collection of routines with analytical and geometrical tools for 2D/3D Volume of Fluid (VOF) methods in general grids and Cartesian geometry. This software is implemented in Fortran with C and Python interfaces using the ISO_C_BINDING module, and f2py and Meson.

License

This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses/.

References about VOFTools

[1] J. Lopez, J. Hernandez, Analytical and geometrical tools for 3D volume of fluid methods in general grids, Journal of Computational Physics 227 (2008) 5939-5948. https://doi.org/10.1016/j.jcp.2008.03.010

[2] J. López, P. Gómez, J. Hernández, F. Faura, A two-grid adaptive volume of fluid approach for dendritic solidification, Computers & Fluids, 86 (2013) 326-342. https://doi.org/10.1016/j.compfluid.2013.07.017

[3] J. Lopez, J. Hernandez, P. Gómez, F. Faura, A new volume conservation enforcement method for PLIC reconstruction in general convex grids, Journal of Computational Physics 316 (2016) 338-359. https://doi.org/10.1016/j.jcp.2016.04.018

[4] J. Lopez, P. Gómez, C. Zanzi, J. Hernandez, F. Faura, Application of non-convex analytic and geometric tools to a PLIC-VOF method, Proceedings of the ASME 2016 International Mechanical Engineering Congress and Exposition, November 11-17, 2016, Phoenix, Arizona, IMECE2016-67409. https://doi.org/10.1115/IMECE2016-67409

[5] J. López, J. Hernández, P. Gómez, F. Faura, VOFTools - A software package of calculation tools for volume of fluid methods using general convex grids, Computer Physics Communications 223 (2018) 45-54. https://doi.org/10.1016/j.cpc.2017.09.032

[6] J. López, J. Hernández, P. Gómez, F. Faura, Non-convex analytical and geometrical tools for volume truncation, initialization and conservation enforcement in VOF methods, Journal of Computational Physics 392 (2019) 666-693. https://doi.org/10.1016/j.jcp.2019.04.055

[7] J. López, J. Hernández, P. Gómez, C. Zanzi, R. Zamora, VOFTools 3.2: Added VOF functionality to initialize the liquid volume fraction in general convex cells, Computer Physics Communications 245 (2019) 106859. https://doi.org/10.1016/j.cpc.2019.07.022

[8] J. López, J. Hernández, P. Gómez, C. Zanzi, R. Zamora, VOFTools 5: An extension to non-convex geometries of calculation tools for volume of fluid methods, Computer Physics Communications 252 (2020) 107277. https://doi.org/10.1016/j.cpc.2020.107277

[9] J. López, J. Hernández, On polytope intersection by half-spaces and hyperplanes for unsplit geometric volume of fluid methods on arbitrary grids, Computer Physics Communications 300 (2024) 109167. https://doi.org/10.1016/j.cpc.2024.109167

[10] J. López, Unsplit geometric volume-of-fluid method with iterative piecewise-paraboloid interface reconstruction on arbitrary three-dimensional grids, Journal of Computional Physics 553 (2026) 114714. https://doi.org/10.1016/j.jcp.2026.114714

For more information contact joaquin.lopez@upct.es

Components of the supplied package

The package includes the following key components:

• src: Directory containing the core source code and interface definitions.

  • dimpol.h: Header file declaring parameters ns and nv used for pre-allocating arrays in polytope computations.
  • voftools.f90: Fortran source code implementing the core routines of the VOFTools library.
  • uservoftools.f90: Fortran source file containing user-defined routines and functions, allowing for custom logic integration.
  • cvoftools.h: C header file declaring the interfaces for the core VOFTools library routines, enabling use in C programs.
  • cuservoftools.h: C header file exposing the user-defined routines from uservoftools.f90 for integration into C applications.
  • voftools.pyf: F2PY signature file that defines how Fortran routines in voftools.f90 are exposed to Python, facilitating binary interface compatibility.
  • cellparabout.py: Python script that reads a polyhedron from a VTK file and a set of paraboloid coefficients from a text file. It then generates the corresponding paraboloid surface, computes the intersection curve between the polyhedron and the paraboloid, and visualizes the results using pyvista.

• __init__.py: Python package initialization file, enabling the directory to be imported as a module.

• .f2py_f2cmap: Configuration file for NumPy’s f2py tool, mapping Fortran data types to corresponding C types to ensure correct memory layout and data transfer.

• examples: Directory containing test programs demonstrating library usage in Python, C, and Fortran. Each language example directory includes:

  • test2d: Script for 2D PLIC operations.
  • test3d: Script for 3D PLIC operations.
  • testfit: Script for PPIC fitting operation.
  • testparab: Script for PPIC truncation and shifting operations.

• data: Directory containing static input data files (e.g., polygon sets) required by test programs.

• vofvardef: Input configuration file providing parameters for the C and Fortran test executables.

• Makefile: Build script that automates the compilation of the VOFTools library and the execution of C/Fortran test programs.

• meson.build: Meson build system configuration file defining dependencies, com- piler flags, and installation rules for the VOFTools library.

• pyproject.toml: Python packaging configuration that specifies metadata, de- pendencies, and build settings, supporting Python versions 3.10-3.13*** across Linux, macOS, and Windows.

• doc: Directory containing the user manual in PDF format (user-manual-voftools-6.pdf).

• readme.md: Project overview file.

• LICENSE: Copy of the GNU General Public License (GPL), Version 3.

Instalation and usage

See the user manual for detailed installation and usage instructions.

Metadata

Release files for voftools 6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for voftools 6.0
File Size Uploaded Provenance Actions
voftools-6.0.tar.gz 2.4 MB Without provenance Details for voftools-6.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for voftools 6.0
File Actions
voftools-6.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for voftools-6.0-cp314-cp314-win_amd64.whl
voftools-6.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for voftools-6.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
voftools-6.0-cp314-cp314-macosx_26_0_arm64.whl CPython 3.14 CPython 3.14 macOS 26.0+ ARM64 Details for voftools-6.0-cp314-cp314-macosx_26_0_arm64.whl
voftools-6.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for voftools-6.0-cp313-cp313-win_amd64.whl
voftools-6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for voftools-6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
voftools-6.0-cp313-cp313-macosx_26_0_arm64.whl CPython 3.13 CPython 3.13 macOS 26.0+ ARM64 Details for voftools-6.0-cp313-cp313-macosx_26_0_arm64.whl
voftools-6.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for voftools-6.0-cp312-cp312-win_amd64.whl
voftools-6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for voftools-6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
voftools-6.0-cp312-cp312-macosx_26_0_arm64.whl CPython 3.12 CPython 3.12 macOS 26.0+ ARM64 Details for voftools-6.0-cp312-cp312-macosx_26_0_arm64.whl
voftools-6.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for voftools-6.0-cp311-cp311-win_amd64.whl
voftools-6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for voftools-6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
voftools-6.0-cp311-cp311-macosx_26_0_arm64.whl CPython 3.11 CPython 3.11 macOS 26.0+ ARM64 Details for voftools-6.0-cp311-cp311-macosx_26_0_arm64.whl

Total release size: 13.7 MB

Release files / voftools-6.0.tar.gz

Download URL voftools-6.0.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
680ef20124014b512a9a2d2b20489edb96048e102ddf090c60a6473de6cf1cfc
BLAKE2b-256 checksum
How to use checksums
89c8c934db67c9c71931dce974af51ce49b530a061a1f7c38aac5207ac1ebdf3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / voftools-6.0-cp314-cp314-win_amd64.whl

Download URL voftools-6.0-cp314-cp314-win_amd64.whl
Size 746.4 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
7a9aba2eb6573be78a28d87848d8a17f75627ff799b3b4b3954aad09f2de6a8f
BLAKE2b-256 checksum
How to use checksums
395914e6f14faa1cc7aa5e7f2e6513801306aefa0414a8f08e928321e25d9bc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / voftools-6.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL voftools-6.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.2 MB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5947e28cc0ea78ef0ccdb8ef173c6d43bac713f549a2a0d9d13586cf691dcd34
BLAKE2b-256 checksum
How to use checksums
5b04a9b3a9038de195591008f835126f26fd1595feda05ea35ab85753fb358d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / voftools-6.0-cp314-cp314-macosx_26_0_arm64.whl

Download URL voftools-6.0-cp314-cp314-macosx_26_0_arm64.whl
Size 912.8 kB
Tags CPython 3.14 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
c19c6a9953410212a073926600d8f93a67fbb31f1e961182c49bffb61898be9d
BLAKE2b-256 checksum
How to use checksums
80f25a89cf1627102570a65fdd0b32b8bde48b8d913dfd17f29600a8cc5f1c75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / voftools-6.0-cp313-cp313-win_amd64.whl

Download URL voftools-6.0-cp313-cp313-win_amd64.whl
Size 731.9 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
aa79ebd2bdfe9569ad2429ff32b7276239a27fd890934727b518c58414fe9cec
BLAKE2b-256 checksum
How to use checksums
19e8a93f1ad18e3e8abdb5dd20515e0bf66254f364312850be3c234e5b4c0885
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / voftools-6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL voftools-6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.2 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
05990796bd623a44fa817223e4d5b9baaa96858e2393b5577190504e26b8e544
BLAKE2b-256 checksum
How to use checksums
2856312999319a7aaa3ec388d28a2dfc02cc7907ea121bff8d1391dbf3ff11b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / voftools-6.0-cp313-cp313-macosx_26_0_arm64.whl

Download URL voftools-6.0-cp313-cp313-macosx_26_0_arm64.whl
Size 912.8 kB
Tags CPython 3.13 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
b4a37dd28135e2d63a7bc8bc50c3882921ba758f4c5562845434557673b17613
BLAKE2b-256 checksum
How to use checksums
fde7ec7914a9c808d118a89c7810865ccaba34fbd10c370258c2f63a7ed11948
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / voftools-6.0-cp312-cp312-win_amd64.whl

Download URL voftools-6.0-cp312-cp312-win_amd64.whl
Size 731.9 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
997a91b393964231de8e1e0bae8dd8b568a192724d6d104e90aff9b5c300d788
BLAKE2b-256 checksum
How to use checksums
5506e16000bdf3d54f6816eae7346b5b547520a4bf97bea23912f624e9229377
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / voftools-6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL voftools-6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.2 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
43a9da8a8e93b7dd793a25987e7016fa0f63deb87db3b1e033190d5eb86283f1
BLAKE2b-256 checksum
How to use checksums
7ba8465e944bf39833ebe233b2db5d33097eed0a8388f4d9b549016fcd2298a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / voftools-6.0-cp312-cp312-macosx_26_0_arm64.whl

Download URL voftools-6.0-cp312-cp312-macosx_26_0_arm64.whl
Size 912.8 kB
Tags CPython 3.12 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
b9cf2227770fe7fce4333daa8c6a2cec760a26d36be86ac34f0307928563ea43
BLAKE2b-256 checksum
How to use checksums
a61e6326445157c74522c9544e0c755bacbe6097195d1d7a2c22e0d471d7d511
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / voftools-6.0-cp311-cp311-win_amd64.whl

Download URL voftools-6.0-cp311-cp311-win_amd64.whl
Size 731.7 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
eb927b30780d280cc43155cf3688be6cff060c0ccfa2b88ffd8cf11ba1767d1b
BLAKE2b-256 checksum
How to use checksums
1107ab5e28e07df740efd2176a316e5fdd834346d4a8eb0579c6565305b25e4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / voftools-6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL voftools-6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.2 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f3a9821622eb527e7cedb720d4da202155895c59dd1cd1dd81243ca2bad49812
BLAKE2b-256 checksum
How to use checksums
d5741419c72caace5506631023e30874e3e17e74308c4655c846efba66c725de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / voftools-6.0-cp311-cp311-macosx_26_0_arm64.whl

Download URL voftools-6.0-cp311-cp311-macosx_26_0_arm64.whl
Size 912.0 kB
Tags CPython 3.11 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
2042f083a6586f8847d5585f1d491ec31d72f7b650585fa48e42555b805c89c4
BLAKE2b-256 checksum
How to use checksums
cf7127342cace0ec1e977bd52a85c586e4e39012fc053d280a7f698c53df939d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Security for voftools 6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

6.0 This release

13 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page