This repository contains the source codes for all simulations presented in the paper.
To run the code, the following packages are mandatory:
An example environment is provided in the environment.yml.
The main code is shown in Main.py, to run the file you will need to use MPI, since
the cell problems are expected to be distributed across multiple processes.
To run the code with MPI using 8 processes, use the following command:
mpirun -n 8 path_to_python path_to_Main.py
The rest of the structure of this repository is as follows:
MeshCreation: Contains all the micro meshes used in the paper and the code to create them.InterpolationData: Contains the precomputed effective conductivity values for different resolutions.UtilsandMicroProblems: Contains code that implements the complete problem, micro-problems and coupling of multiple processes.- All Python files with
_test.pyimplement the convergence studies of the paper.
