Simple autograd-differentiable finite element analysis for heat conductivity and compliance problems.
The package is published on PyPi, so a simple pip install tofea
will work.
For development purposes it is recommended to clone this repository and install the package locally instead, i.e. git clone git@github.com:yaugenst/tofea && pip install -e ./tofea
.
The package contains examples of topology optimization for 2D and 3D heat and compliance problems, check them out in the examples directory!
To run the examples, there are some additional dependencies for optimization and plotting, so install using pip install tofea[examples]
.
The package is pretty bare-bones and waiting for a big refactor, which I have not gotten around to. You are welcome to try everything out as-is but expect the interface to change dramatically in the near future.