Before running the scripts, please ensure that you have the necessary packages installed. You need to install the Conda package manager and use the provided environment files to create a Conda virtual environment.
After installing Conda:
For Mac users:
conda env create -f env_with_accel_Mac.yml
conda activate env_with_accelFor other OS:
conda env create -f env_with_accel_others.yml
conda activate env_with_accelThis repository includes three script files that need to be executed to reproduce the results. The script files are:
-
run_FOM.sh
Usage:./run_FOM.sh arg- The value of
argcan be1,2, or3, corresponding to the three examples shown in the paper. - This script runs the tests for the Full-Order Model (FOM) for all example problems.
- The value of
-
run_PODG.sh
Usage:./run_PODG.sh arg1 arg2arg1: Same as for FOMarg2: Can be eithermodesfor mode-based study ortolfor tolerance-based study.- This script runs the tests for the POD-Galerkin model.
-
run_sPODG.sh
Usage:./run_sPODG.sh arg1 arg2- The arguments are the same as those in the POD-Galerkin case.
- This script runs the tests for the sPOD-Galerkin model.
Note: This code is under constant development. For the last standard version, please refer to