A framework connecting COMSOL Multiphysics and PEST (coming soon...)
COMPEST is a program written in java that enables advanced parameter estimation, sensitivity analysis, uncertainty analysis, and data-worth analysis to investigate ad solve inverse problems using forward finite-element models. The software functions as a link between PEST and COMSOL Multiphysics. Although the software's functionality has been demonstarted with application to isotopic fractionation in the diffusion and degradation of chlorinated contaminants in the subsurface, any problem that can be modelled in COMSOL Multiphysics can be handled with some modification of the code.
- (proprietary) COMSOL Multiphysics Server (tested with ver. 5.3) and COMSOL Java API
- (free) Java IDE (tested with ver. 1.8),
- (free) PEST (ver. 12.1.0 executable included here)
- First, it is recommended you read the article: +INSERT DOI HERE+
- to do
To compile COMPEST (run in the project directory):
javac -cp "C:\Program Files\COMSOL\COMSOL53\Multiphysics\plugins\*" -verbose COMPEST.java
To execute COMPEST:
java -cp .;"C:\Program Files\COMSOL\COMSOL53\Multiphysics\plugins\*" COMPEST
To launch COMSOL server so that it doesn't close upon disconnect:
"C:\Program Files\COMSOL\COMSOL53\Multiphysics\bin\win64\comsolmphserver.exe" -multi on
Replace the paths with the locations of your COMSOL java API files or server executable where necessary.