PVmesh is an open-source Python tool for generating high-fidelity, adaptive finite-element meshes for photovoltaic modules. It supports multilayer panel geometries, frame details, and mounting zones that are often difficult to mesh robustly with generic workflows.
Built on Gmsh, PVmesh automates geometry construction, partitioning, domain/boundary tagging, and export for downstream finite-element solvers.
Supported output formats include:
.mshfor ANSYS.bdffor COMSOL.vtkfor FEniCS/FEniCSx.inpfor ABAQUS
For more information, visit the PVmesh Documentation.
PVmesh relies on:
- Python
- Gmsh Python bindings
- PyQt5 for the GUI
Recommended environment setup from the project root:
mamba env create -n pvmesh -f environment.yaml
The environment can be activated using the command:
mamba activate pvmesh