The physical system consists of an arbitrary surface defect on a metal-vacuum interface. The program calculates
- the electric field distribution around the surface defect in vacuum;
- the electric current distribution inside metal due to emission currents on the surface;
- the temperature distribution inside metal due to electric currents and the Nottingham effect.
Finite element analysis is performed to solve the corresponding differential equations. In this regard, the library deal.II (https://www.dealii.org/) is used.
Deal.II (version 8.4.x) library must be installed beforehand. To generate makefiles with cmake:
$ mkdir build
$ cd build
$ cmake -DDEAL_II_DIR=/path_to_dealii/ ..
To build and run:
$ mkdir output
$ make
$ ./main
Results in \output
can be visualized with paraview.
Example electric field and temperature distribution:
Veske M., Kyritsakis A., Eimre K., Zadin V., Aabloo A., Djurabekova F. Dynamic coupling of a finite element solver to large-scale atomistic simulations. Journal of Computational Physics 367, pp. 279-294 (2018)