phasefieldx

An Open-Source Framework for Advanced Phase-Field Simulations

22 articles 48 View on GitHub ↗
22 articles
PhaseFieldX Unit Testing Framework: How to Add Tests with pytest

Learn to add unit tests to PhaseFieldX using pytest. Create test files as test_*.py in the test directory and write test_* functions.

how-to-guide
Feb 27, 2026
How to Run Parallel Simulations Efficiently with PhaseFieldX

Learn to run parallel simulations efficiently with PhaseFieldX. Discover how PhaseFieldX automatically handles domain decomposition, parallel assembly, and distributed I/O using its FEniCSx/PETSc backend.

how-to-guide
Feb 27, 2026
How to Implement Custom Energy Functions in PhaseFieldX: A Complete Developer Guide

Implement custom energy functions in PhaseFieldX by defining UFL routines and registering them in the psi_a or psi_b dispatcher. This guide shows you how.

how-to-guide
Feb 27, 2026
Computational Bottlenecks in PhaseFieldX: Optimization Strategies for Phase-Field Fracture Simulations

Discover computational bottlenecks in PhaseFieldX fracture simulations. Optimize with cached assemblies, Krylov solvers, and efficient energy calculations for faster results.

performance
Feb 27, 2026
PhaseFieldX Logging Capabilities: A Complete Guide to Simulation Tracing and Reproducibility

Explore PhaseFieldX logging capabilities for simulation tracing and reproducibility. Capture system metadata, parameters, and timing for complete simulation tracking.

how-to-guide
Feb 27, 2026
How to Validate PhaseFieldX Simulations Against Reference Solutions: A Complete Guide

Validate PhaseFieldX simulations effectively by loading output files and comparing them to benchmark CSVs. Learn how to ensure your simulation accuracy with this comprehensive guide.

how-to-guide
Feb 27, 2026
Performance Considerations for Large-Scale Phase-Field Simulations

Discover performance considerations for large-scale phase-field simulations. PhaseFieldX achieves massive scalability using MPI-parallel execution and advanced solvers on distributed clusters.

performance
Feb 27, 2026
How to Implement Fatigue Simulations Using PhaseFieldX: A Complete Guide

Master fatigue simulations in PhaseFieldX with our comprehensive guide. Learn to set fatigue to True, choose degradation functions, and optimize the solver for accurate results. Start your fatigue analysis today.

how-to-guide
Feb 27, 2026
PhaseFieldX Reaction Forces: Available Components and Computation Methods

Explore PhaseFieldX reaction forces. Learn about available components and computation methods for R=(Rx, Ry, Rz) vectors at Dirichlet boundaries directly from the source code.

deep-dive
Feb 27, 2026
How to Handle Adaptive Mesh Refinement in PhaseFieldX Simulations

Learn to handle adaptive mesh refinement in PhaseFieldX simulations using Gmsh and DolfinX. Control element size for localized refinement without solver code changes.

how-to-guide
Feb 26, 2026
Phase-Field Fracture Models in PhaseFieldX: Isotropic vs Anisotropic Formulations Explained

Explore isotropic vs anisotropic phase-field fracture models in PhaseFieldX. Understand key differences in degradation, energy splits, and crack functions to choose the right model for your simulation.

deep-dive
Feb 26, 2026
How to Export Simulation Results for ParaView Using Phasefieldx

Effortlessly export phasefieldx simulation results to ParaView. The library auto-generates VTU and XDMF files for direct import and visualization.

how-to-guide
Feb 26, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →