Skip to content

COMSOL

COMSOL Multiphysics1 is a simulation software package used for modeling and solving complex engineering and scientific problems. It employs finite element analysis to simulate various physical phenomena, including electrical, mechanical, fluid, acoustics, and chemical processes. Common uses of COMSOL include designing and optimizing devices, predicting real-world behavior, and conducting multiphysics simulations where multiple physical effects interact. Researchers and engineers use it to develop and validate models, enhance product performance, and innovate across fields such as electronics, structural mechanics, and chemical engineering.

Installed Versions

COMSOL 6.3 is currently installed on Picotte, and is accessible to researchers from the Department of Chemical and Biological Engineering. Load the modulefile by running:

[juser@picotte001 ~]$ module load comsol/63

Slurm Job Script

An example job script that would take a file called cylinder_flow.mph as input, and emit results to cylinder_flow_result.mph and logs to cylinder_flow.log.

comsol.sh
#!/bin/bash
#SBATCH --nodes=1
#SBATCH --partition=gpu
#SBATCH --gres=gpu:2
#SBATCH --mem=4G
#SBATCH --time=00:30:00
#SBATCH --cpus-per-task=16

module load comsol/63

comsol batch -inputfile cylinder_flow.mph -outputfile cylinder_flow_result.mph  -batchlog cylinder_flow.log -np $SLURM_CPUS_PER_TASK

References