![]() |
Sapphire++
v1.3.0-121-g2682132 |
Reference values for the VFP equation. More...
#include <reference-values.h>
Public Attributes | |
| double | mass |
| double | speed_of_light = 299792458. |
| double | magnetic_field_strength |
| double | charge |
| double | length |
| double | frequency |
| double | time |
| double | momentum |
| double | vacuum_permeability = 1.25663706127e-6 |
| double | radiation_reaction_characteristic_time |
| const double | parsec_to_m = 3.0857e16 |
Reference values for the VFP equation.
Sapphire++ uses dimensionless units \( x^{*}, t^{*}, p^{*}, v^{*} \) to solve the VFP equation. These dimensionless are defined using reference values, \( \underline{m}, \underline{q}, c, \underline{B} \), in the following way:
| Type | Dimensionless unit | Reference value |
|---|---|---|
| Length | \( x^{*} = x/\underline{r}_{g} \) | \( \underline{r}_{g} = \underline{m} c/\underline{q} \underline{B} \) |
| Time | \( t^{*} = t \underline{\omega}_{g} \) | \( \underline{\omega}_{g} = \underline{q} \underline{B}/ \underline{m} \) |
| Momentum | \( p^{*} = p/\underline{p} \) | \( \underline{p} = \underline{m} c \) |
| Velocity | \( v^{*} = v/c \) | Speed of light \( c \) |
Note the reference values are only used for the radiation reaction term. If the radiation reaction term is deactivated, they are not used when solving the VFP equation. They are useful in post-processing the solution to produce physical results.
| double sapphirepp::VFP::ReferenceValues::charge |
Reference charge \( \underline{q} \) in Columb. The default is the elementary charge, i.e. \( \underline{q} = 1.602176634 \times 10^{-19} \, \mathrm{C}\).
| double sapphirepp::VFP::ReferenceValues::frequency |
The reference frequency \( \underline{\omega}_{g} \) in 1/s. The default is the gyro-frequency, i.e. \( \underline{\omega}_{g} = \underline{q} \underline{B}/ \underline{m} \) .
| double sapphirepp::VFP::ReferenceValues::length |
The reference length \( \underline{r}_{g} \) in meter. The default is \( \underline{r}_{g} = \underline{m} c/\underline{q} \underline{B} \) .
| double sapphirepp::VFP::ReferenceValues::magnetic_field_strength |
Reference magnetic field strength \( \underline{B} \) in Tesla. The default is 1 microGauss, i.e. \( \underline{B} = 10^{-10} \, \mathrm{T}\).
| double sapphirepp::VFP::ReferenceValues::mass |
Reference mass \( \underline{m} \) in kilogram. The default is the proton mass, i.e. \( \underline{m} = 1.672621923 \times 10^{-27} \, \mathrm{kg}\).
| double sapphirepp::VFP::ReferenceValues::momentum |
Reference momentum \( \underline{p} \) in kg m/s. The default is \( \underline{p} = \underline{m} c \).
| const double sapphirepp::VFP::ReferenceValues::parsec_to_m = 3.0857e16 |
Conversion of parsec to meter.
| double sapphirepp::VFP::ReferenceValues::radiation_reaction_characteristic_time |
Radiation reaction characteristic time \( \underline{\tau}_R \) in seconds, \( \underline{\tau}_R = \frac{9 \pi \underline{m}^3 c \underline{\omega}_g}{ \mu_{0} \underline{q}^4 \underline{B}^2} \) .
| double sapphirepp::VFP::ReferenceValues::speed_of_light = 299792458. |
Speed of light \( c \) in meters per second. The default is \( c = 299792458 \, \frac{\mathrm{m}}{\mathrm{s}} \) .
| double sapphirepp::VFP::ReferenceValues::time |
Reference time in seconds. The default is \( \underline{t} = 1/\underline{\omega}_{g} \).
| double sapphirepp::VFP::ReferenceValues::vacuum_permeability = 1.25663706127e-6 |
Vacuum permeability \( \mu_{0} \) in N/A^2. The default value is \( \mu_{0} = 1.25663706127 \times 10^{-6} \, \frac{\mathrm{N}}{\mathrm{A}^2} \approx 4 \pi \times 10^{-7} \, \frac{\mathrm{N}}{\mathrm{A}^2} \).