Global settings for the Spherical coil with magnetic core (ssol-iii/) numerical experiment. More...
#include <settings.hpp>


Public Attributes | |
| const unsigned int | nr_threads_max = 0 |
| If greater than zero, limits the amount of threads used in the simulations. | |
| const double | mu_0 = permeability_fs |
| The permeability of free space. | |
| const double | mu_r = 4 |
| The relative permeability of the material of the magnetic core. | |
| const double | mu = mu_r * mu_0 |
| The permeability of the material of the magnetic core. | |
| const double | d1 = 0.1 |
| The half-side of the cube in the middle of the mesh. | |
| const double | rd1 = sqrt(3) * d1 |
| The radius of the sphere that encloses the cube in the middle of the mesh. | |
| const double | a1 = 0.3 |
| The inner radius of the magnetic core. | |
| const double | b1 = 0.6 |
| The outer radius of the magnetic core. | |
| const double | a2 = 0.9 |
| The inner radius of the coil. | |
| const double | b2 = 1.2 |
| The outer radius of the coil. | |
| const double | d2 = 2.0 |
| The radius of the sphere that delineates the area in which the \(L^2\) error norms are computed. | |
| const double | d3 = 3.0 |
| The radius of the problem domain. | |
| const double | K_0 = 1.0 |
| A constant that defines the magnitude of the surface free-current density. | |
| const double | H_0 = (1.0 / 3.0) * K_0 * (pow(b2, 2) - pow(a2, 2)) |
| The magnitude of the H-field induced by the coil at its center in absence of the magnetic core. | |
| const types::material_id | mid_1 = 1 |
| The ID of the material outside the coil and the core, i.e., Jf=0 and mu=m_0. | |
| const types::material_id | mid_2 = 2 |
| The ID of the material inside the core, i.e., Jf=0 and mu=mu_r*m_0. | |
| const types::material_id | mid_3 = 3 |
| The ID of the material inside the coil, i.e., Jf>0 and mu=m_0. | |
| const double | eps = 1e-12 |
| Two values in double format are considered to be equal if the absolute value of their difference is less than eps. | |
| const bool | print_time_tables = false |
| If set to true, the program will print time tables on the screen. | |
| const bool | project_exact_solution = false |
| If set to true, the program will project the exact solution. More... | |
| const bool | log_cg_convergence = false |
| If set to true, saves the residual at each iteration of the CG solver. The names of the files fit the following wildcard *_cg_convergence.csv. More... | |
Public Attributes inherited from Constants::Physics | |
| const double | pi |
| The ratio between the circumference and the diameter of any circle, \(\pi\). More... | |
| const double | c = 299792458.0 |
| The speed of light in free space, \(c\). | |
| const double | permeability_fs = 4.0 * pi * 1.0e-7 |
| The permeability of the free space, \(\mu_0\). | |
| const double | permittivity_fs = 1.0 / (std::pow(c, 2) * permeability_fs) |
| The permittivity of the free space, \(\epsilon_0\). | |
Global settings for the Spherical coil with magnetic core (ssol-iii/) numerical experiment.
Definition at line 25 of file settings.hpp.
| const bool SettingsSSOLIII::log_cg_convergence = false |
If set to true, saves the residual at each iteration of the CG solver. The names of the files fit the following wildcard *_cg_convergence.csv.
The residuals are saved into the subdirectories of ./ Data/ directory.
Definition at line 152 of file settings.hpp.
| const bool SettingsSSOLIII::project_exact_solution = false |
If set to true, the program will project the exact solution.
The exact solutions will be modeled on the same mesh and by the same finite elements that are used to model the solution. The projected exact solution will be saved in the vtu file next to the solution. This option can be useful when debugging.
Definition at line 143 of file settings.hpp.