FiQuS/Pancake3D Example
This is a transient magneto-thermal quench simulation of a no-insulation HTS pancake coil with FiQuS/Pancake3D, developed at CERN.
The simulation setup is described in the HTSPancakeCoil_FiQuS.yaml
file. Make sure to use VS Code and download the YAML extension for schema support (auto-completion, validation, hover information, etc.).
There are two ways of running the simulation: locally or with GitHub Codespaces.
- Install Python 3.11.
- Clone the repository.
git clone --recursive https://github.com/sinaatalay/fiqus-pancake3d-example.git
- Install the requirements (consider using a virtual environment).
pip install -r requirements.txt
- Run the
run_fiqus.py
file to run the simulation.python run_fiqus.py
You don't have to install anything to run it with GitHub Codespaces.
-
Click the <> Code button, then click the Codespaces tab, and then click Create codespace on main.
Visual Studio Code for the Web will be opened with a ready-to-use development environment. It may take a couple of minutes.
-
Press F5 to run the simulation.
This is done with Development containers, and the environment is defined in the .devcontainer/devcontainer.json
file. Dev containers can also be run locally using various supporting tools and editors.