Skip to main content

Miscellaneous fenics/dolfin utilities that are used in various projects.

Project description

Panta Rhei

A collection of utilities for fluid flow modelling using FeNICS.

Note: This package was originally Pantarei, but was renamed to Panta Rhei in a hurry to avoid conflicts with a package of the same name on PyPI. For backwards compatibility, it is still imported as pantarei, but this will be changed in the future.

Dependencies

The package depends on FEniCS and SVMTK, which is not installed by default, since they are not available on PyPI. They are most easily installed using conda, by running the following commands:

conda create -n fenicsproject -c conda-forge/label/fenics-dev  -c conda-forge fenics SVMTK h5py
conda activate fenicsproject

h5py should also be installed, or else there might be conflicts between the version of h5py that is installed with fenics and the one that is installed by meshio (listed as a pip-installable dependency).

Installation

The panta-rhei package itself may be installed using pip,

pip install panta-rhei

or by cloning the repository and running the following command in the root directory:

pip install -e .

Running tests

Tests depends on the Pixi, a python package manager tightly integrated with conda. It can be installed by running

curl -fsSL https://pixi.sh/install.sh | bash

The tests can be run by running the following command in the root directory:

pixi run test

For more information on Pixi see https://pixi.sh/, or this guide by Eric Ma.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

panta_rhei-0.7.2.tar.gz (21.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

panta_rhei-0.7.2-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file panta_rhei-0.7.2.tar.gz.

File metadata

  • Download URL: panta_rhei-0.7.2.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for panta_rhei-0.7.2.tar.gz
Algorithm Hash digest
SHA256 73cd456f4f039fb96cb0103254b8ff4fd8913f42441dbf64e8bd6ad678583c93
MD5 1591ecab97bfd6556c39cb08b05b9f3e
BLAKE2b-256 2be98df2d718cc1434736d209205f03e62fe052a1972051cf8ad84872488d454

See more details on using hashes here.

File details

Details for the file panta_rhei-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: panta_rhei-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for panta_rhei-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d3747209b67995a4e69191439985a40a8300148c55863742365bf3680eaeb83a
MD5 8b66a77f26b290d4f5df3dfbc079527b
BLAKE2b-256 daaf14177fa4e647482b970a0448fa704470778dc3e3d9cacaf0d274f1647e9e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page