PHIMATS RVE is a package for generating representative volume elements (RVEs) based on the multiphase-field method. While it can be used for general phase transformation based on grain growth, it is primarily developed to generate RVEs for the FEM code PHIMATS.
✅ Linux OS required (Recommended: Ubuntu, Debian, Fedora)
✅ Windows: Use Windows Subsystem for Linux (WSL)
All required Python libraries are included in the phimats_rve Conda environment.
To create the environment, navigate to PHIMATS_RVE directory and run:
conda env create -f environment.ymlAdd the following lines (after modifying the paths) to your ~/.bashrc file:
export PYTHONPATH=$PYTHONPATH:/path_to_PHIMATS_RVE/src/
export HDF5_USE_FILE_LOCKING=FALSEAfter adding these, apply the changes by running:
source ~/.bashrcThis implementation is partially based on the original multiphase-field code published by the Yamanaka Research Group, Tokyo University of Agriculture and Technology. The original code served as a starting point for developing the MPF functionality in PHIMATS RVE. All rights to the original code remain with its respective developers, and use is subject to their terms of use.
For citing PHIMATS RVE, please use:
- A. Hussein et al. Modeling the effect of hydrogen grain boundary diffusivity and trapping on hydrogen transport using a phase-field compatible formulation. Int. J. Hydrogen Energy. 55 (2024) 1445-1455. 10.1016/j.ijhydene.2023.11.270
- A. Hussein et al. The Effect of grain Boundary misorientation on hydrogen flux using a phase‐field‐based diffusion and trapping model. Adv. Eng. Mater. 26(22)(2024): 2401561. 10.1002/adem.202401561
- A. Hussein et al. A full-field model for hydrogen diffusion and trapping in two-phase microstructures: Application to thermal desorption spectroscopy of duplex stainless steel. Acta Mater. 292 (2025) 121042. 10.1016/j.actamat.2025.121042
Additionally, consider citing relevant references from the CaseStudies directory if applicable.
PHIMATS RVE is released under the GNU General Public License v3.0, or later.
