Skip to main content

A library that facilitates the implementation of the Element-based Finite Volumes Method (EbFVM) to solve partial differential equations (PDEs)

Project description

PyEFVLib

This package intends to support the solution of PDEs using the Element-based Finite Volume Method (EbFVM).

Dependencies & Installation

Usage

from PyEFVLib import MSHReader, Grid, Point
import os, numpy as np

grid = PyEFVLib.read("meshes/mesh.msh")

totalVolume = 0.0
for element in grid.elements:
	for vertex in element:
		totalVolume += vertex.volume

print(totalVolume)

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

PyEFVLib-1.0.5.tar.gz (1.3 MB view hashes)

Uploaded Source

Built Distribution

PyEFVLib-1.0.5-py3-none-any.whl (27.1 kB view hashes)

Uploaded Python 3

Supported by

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