Skip to content

An interface connecting COMSOL Multiphysics and PEST to solve inverse modelling problems using forward finite element models (paper here: https://doi.org/10.1016/j.cageo.2019.02.001)

License

Notifications You must be signed in to change notification settings

lhalloran/COMPEST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

COMPEST

A framework connecting COMSOL Multiphysics and PEST (coming soon...)

Overview

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.

Requirements

  • (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)

How-to:

  • First, it is recommended you read the article: +INSERT DOI HERE+
  • to do

Useful commands (in Windows cmd):

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.