This repo contains a mixed u–p (displacement–pressure) topology optimization for HASEL-like actuators in FEniCS with fenics_adjoint + IPOPT.
- Run forward/opt:
python3 solid-topopt-hasel2.py - Outputs:
./<folder_name>/*(displacements, stress, pressure, densities)
- Two load cases: low- and high-pressure boundary conditions.
- Objective: maximize upward tip motion at low P with smoothing.
- Extra hard constraint: force near-zero tip motion at high P.
See the code comments for details.