The below post is related to an archived discussion
I would like to draw the attention of anyone who comes across the archived thread above to a software package that links COMSOL with PEST using the java interface.
The paper: https://doi.org/10.1016/j.cageo.2019.02.001
The software: https://github.com/lhalloran/COMPEST