Metadata-Version: 2.1
Name: PyEFVLib
Version: 1.0.5
Summary: A library that facilitates the implementation of the Element-based Finite Volumes Method (EbFVM) to solve partial differential equations (PDEs)
Home-page: https://github.com/GustavoExel/PyEFVLib
Author: Gustavo Exel
Author-email: gustavoexelgpe@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: numpy (~=1.19.2)
Requires-Dist: pandas (~=1.1.2)
Requires-Dist: scipy (~=1.5.2)
Requires-Dist: meshio (~=4.3.4)
Requires-Dist: h5py (~=3.2.1)
Requires-Dist: xmltodict (~=0.12.0)

# PyEFVLib

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

## Dependencies & Installation

- [Python 3](https://www.python.org/downloads/) (3.8.2);
- [meshio](https://pypi.org/project/meshio/) (4.0.15);
- [numpy](https://numpy.org/) (1.17.4);
- [pandas](https://pandas.pydata.org/)(1.1.3);
- [scipy](https://www.scipy.org/) (1.5.3);

## Usage

```python
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)
```

