Skip to main content

A Python Implementation of combining Exponential Time Differencing and Pseudo-spectral Methods for Phase-Field Model Equation

Project description

spectralETD

spectralETD is a Python library which combines Exponential Time Differencing and Pseudo-spectral Methods for Phase-Field Model Equation in three dimensions in a GPU-accelerated framework.

Requirements

  • Python 3.10 or later
  • NumPy is the fundamental package for scientific computing with Python.
  • SciPy is a collection of fundamental algorithms for scientific computing in Python.
  • Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.
  • PyTorch is a high-level library for machine learning, with multidimensional tensors that can also be operated on a CUDA-capable NVIDIA GPU.

Optional

  • SciencePlots is a Matplotlib styles complement for scientific figures

Time Integration Methods

  • 'IMEX': implicit-explicit Euler method;
  • 'IF': Integrating Factor method
  • 'ETD': Exponential Time Differencing

Installation

The easiest way to install spectralETD is by using pip:

pip install spectralETD

To install the development version:

pip install git+https://github.com/elvissoares/spectralETD.git

or

git clone https://github.com/elvissoares/spectralETD
cd spectralETD
pip install -e .

Examples

You can also see some plots and movies of the examples in the examples's folder in the github repository.

Citing spectralETD

If you use spectralETD in your work, please consider to cite it using the following reference:

Soares, E. do A., Barreto, A. G. & Tavares, F. W. Exponential Integrators for Phase-Field Equations using Pseudo-spectral Methods: A Python Implementation. 1–12 (2023). ArXiv: 2305.08998

Bibtex:

@article{Soares2023,
archivePrefix = {arXiv},
arxivId = {2305.08998},
author = {Soares, Elvis do A. and Barreto, Amaro G. and Tavares, Frederico W},
eprint = {2305.08998},
month = {may},
pages = {1--12},
title = {{Exponential Integrators for Phase-Field Equations using Pseudo-spectral Methods: A Python Implementation}},
url = {http://arxiv.org/abs/2305.08998},
year = {2023}
}

Contact

Prof. Elvis do A. Soares

e-mail: elvis@peq.coppe.ufrj.br

Chemical Engineering Program - COPPE

Universidade Federal do Rio de janeiro (UFRJ)

Brazil

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

spectraletd-0.0.4.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

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

spectraletd-0.0.4-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file spectraletd-0.0.4.tar.gz.

File metadata

  • Download URL: spectraletd-0.0.4.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for spectraletd-0.0.4.tar.gz
Algorithm Hash digest
SHA256 4e0261ef4dbe2400b0d663e2cdc54b51f786d8fc390911f9070c3fbea9936a2e
MD5 d0da385147daea4d75ab12dc54e7342f
BLAKE2b-256 c02c67680852cd395faa4cdd983296b91b44dc94d497566550f86d11dda05e5e

See more details on using hashes here.

File details

Details for the file spectraletd-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: spectraletd-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for spectraletd-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d9470c8c426df5dd8e2dab5a12d60042c6faec61fe0f07964e027968fa68714d
MD5 8e47b8317d995bed9509f43b4e68641a
BLAKE2b-256 eba9d7cf0ce795e7e0d29b37c2435ef14024bc6fbfab88a6086f9f0dd5ae11c9

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