A Python Package for Phase Field Crystal (PFC) Simulations
Project description
A Python package for GPU-accelerated 3D Phase Field Crystal simulations
Overview
pyPFC is a high-performance simulation framework designed for modeling crystal structures and their evolution using the Phase Field Crystal (PFC) method. The code uses PyTorch to allow execution on both CPUs and GPUs, with particularly efficiency gained on GPU platforms. pyPFC is developed with a combined focus on computational efficiency, flexibility and accessibility, making it suitable for both research and educational purposes.
Installation instructions, examples and API documentation can be found in the pyPFC documentation.
Licencing
This software is released under a GNU GPLv3 license.
References
Further details on PFC modeling and example applications can be found in:
- H. Hallberg and K.H. Blixt, pyPFC: an open-source Python package for phase field crystal simulations, Modelling and Simulation in Materials Science and Engineering, 34(1):015004, 2026
- K.H. Blixt and H. Hallberg, Phase Field Crystal Modeling of Grain Boundary Migration: Mobility, Energy and Structural Variability, Acta Materialia, 297:121318, 2025
- H. Hallberg and K.H. Blixt, Assessing grain boundary variability through phase field crystal simulations, Physical Review Materials, 8(3):113605, 2024
- K.H. Blixt and H. Hallberg, Phase field crystal modeling of grain boundary structures in diamond cubic systems, Physical Review Materials, 8(3):033606, 2024
- H. Hallberg and K.H. Blixt, Multiplicity of grain boundary structures and related energy variations, Materials Today Communications, 38:107724, 2024
- H. Hallberg and K.H. Blixt, Evaluation of Nanoscale Deformation Fields from Phase Field Crystal Simulations, Metals, 12(10):1630, 2022
- K.H. Blixt and H. Hallberg, Grain boundary and particle interaction: Enveloping and pass-through mechanisms studied by 3D phase field crystal simulations, Materials & Design, 220:110845, 2022
- K.H. Blixt and H. Hallberg, Grain boundary stiffness based on phase field crystal simulations, Materials Letters, 318:132178, 2022
- K.H. Blixt and H. Hallberg, Evaluation of grain boundary energy, structure and stiffness from phase field crystal simulations, Modelling and Simulation in Materials Science and Engineering, 30(1):014002, 2022
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pypfc-0.0.4.tar.gz.
File metadata
- Download URL: pypfc-0.0.4.tar.gz
- Upload date:
- Size: 63.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2684e85840e20eed6507f43f68ecc14a9f483f084cbc926583a45140b4f8127
|
|
| MD5 |
60489d22688a8fe6c8d686e804ef134b
|
|
| BLAKE2b-256 |
73d143b1a9a22bf41aec686d45da1e5948b113ceac1fcbbdf59dfd04a4202c07
|
Provenance
The following attestation bundles were made for pypfc-0.0.4.tar.gz:
Publisher:
python-publish.yml on HHallb/pyPFC
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypfc-0.0.4.tar.gz -
Subject digest:
a2684e85840e20eed6507f43f68ecc14a9f483f084cbc926583a45140b4f8127 - Sigstore transparency entry: 772370930
- Sigstore integration time:
-
Permalink:
HHallb/pyPFC@2cdbc1550f15cbda34d9ca3a80153ca1fb9deb68 -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/HHallb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@2cdbc1550f15cbda34d9ca3a80153ca1fb9deb68 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pypfc-0.0.4-py3-none-any.whl.
File metadata
- Download URL: pypfc-0.0.4-py3-none-any.whl
- Upload date:
- Size: 66.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d80486d18df80df69fe15b70e4c054d89a0a96840c95d6b69370f9a3c20380be
|
|
| MD5 |
c80d2d35efd518b4cbcc1b965f5a935b
|
|
| BLAKE2b-256 |
6e5433ac5b29336dfbefb35265f562de8e0f891f0cd2e04790ea1cdb1043acfe
|
Provenance
The following attestation bundles were made for pypfc-0.0.4-py3-none-any.whl:
Publisher:
python-publish.yml on HHallb/pyPFC
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypfc-0.0.4-py3-none-any.whl -
Subject digest:
d80486d18df80df69fe15b70e4c054d89a0a96840c95d6b69370f9a3c20380be - Sigstore transparency entry: 772370962
- Sigstore integration time:
-
Permalink:
HHallb/pyPFC@2cdbc1550f15cbda34d9ca3a80153ca1fb9deb68 -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/HHallb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@2cdbc1550f15cbda34d9ca3a80153ca1fb9deb68 -
Trigger Event:
release
-
Statement type: