MEDYPT documentation
MEDYPT is a Python library for simulating MEsoscopic DYnamics of Phase Transitions in materials. It uses finite element method implemented in FEniCSx package to solve coupled field equations. Typical workflow is:
Create mesh by users
Load mesh using
load_mesh()Set physical parameters using
paramsand numerical options usingoptsLoad physics components using
load_physics()Set boundary conditions using
set_bcs()Create finite element problem using
create_problem()Solve the problem using
solve()
Currently MEDYPT only implemented insulator-metal transition (IMT) model. Plan to implement more phase-field models such as that of ferroelectrics in the future.
Installation
MEDYPT itself is a pure Python package and is currently on TestPyPI. You can install it easily for any platform using pip:
pip install --index-url https://test.pypi.org/simple/ --no-deps medypt
But remember to install petsc4py, DOLFINx (need Python interface, and need to be configured with PETSc and ADIOS2), scifem, and Gmsh (need Python interface) first. Follow the instructions on their respective websites for installation.
Contents: