Skip to content

Repository files navigation

PHIMATS (Phase-field Multiphysics Materials Simulator) is a finite element library in C++, originally designed for simulating mesoscale hydrogen-material interactions using phase-field based representative volume element (RVE). However, its modular design allows it to be applied to a wide range of multiphysics problems.


Applications

  • Phase-field based RVE models for hydrogen-material interactions
  • Solid mechanics
  • Heat and mass transfer modeling

Features

  • Pre/Post processing via Python interface for flexible input/output handling
  • Object-oriented C++ with inheritance & polymorphism for modularity
  • HDF5-based data storage for efficient data handling
  • XDMF format support for visualization in ParaView

Documentation


Usage

To balance simulation flexibility with high performance, PHIMATS is compiled as a library (libphimats.so), which must be linked with a custom driver code in a simulation folder.

Example driver codes and hands-on tutorials can be found in the CaseStudies directory. The makefile in the subdirectories handles the compilation and linking automatically. These examples demonstrate how to use PHIMATS for various hydrogen-material interaction simulations and related applications.


Companion Tools

  • PHIMATS RVE: A specialized multiphase-field generator for creating Representative Volume Elements (RVEs) and finite element meshes (via Gmsh) for PHIMATS simulations.

Citation

For citing PHIMATS, please use:

  • DOI

  • A. Hussein, Finite Element Theory for PHIMATS, 2025. doi: 10.48550/arXiv.2502.16283.

Additionally, consider citing relevant references from the CaseStudies directory if applicable.


License

PHIMATS is released under the GNU General Public License v3.0, or later.

About

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages