Skip to content

matteobonotto/FRIDA

Repository files navigation

FRIDA

routines/binaries of the FRIDA code.

The FRIDA (FRee-boundary Integro-Differential Axisimmetric) code expoits a coupled Finite Element Method – Boundary Element Method (FEM-BEM) approach for the solution of the free-boundary axi-symmetric plasma equilibrium problem (i.e., the Grad-Shafranov equation).

Compiling mex functions

A list of compatible compilers can be found at these links (Windows, Linux, Mac). Some functions are written in Fortran 90 and compiled into Matlab-compatible mex functions, and some native Matlab functions are traislated into mex functions using a C++ compiler, thus both compilers need to be installed to properly compile all the routines. However, the instuctions for Fortran and C++ code are kept separate, to ease things for who want to use only one of them.

To compile Fortran 90 code run this_script.m

To compile some native matlab functions into C++ mex funcitons run that_script.m

Examples

Citations

Please cite the following papers:

@article{bonotto2022coupled,
  title={A coupled FEM-BEM approach for the solution of the free-boundary axi-symmetric plasma equilibrium problem},
  author={Bonotto, M and Abate, D and Bettini, P and Villone, F and others},
  journal={Commun. Comput. Phys.},
  volume={31},
  number={1},
  pages={27--59},
  year={2022}
}
@article{bonotto2023efficient,
  title={Efficient Numerical Solution of Coupled Axisymmetric Plasma Equilibrium and Eddy Current Problems},
  author={Bonotto, Matteo and Abate, Domenico and Bettini, Paolo and Iaiunese, Antonio and Isernia, Nicola and Villone, Fabio},
  journal={IEEE Access},
  volume={11},
  pages={27489--27505},
  year={2023},
  publisher={IEEE}
}

About

routines/binaries of the FRIDA code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published