Sapphire++
 v1.3.0-121-g2682132
Loading...
Searching...
No Matches
sapphirepp::VFP::ReferenceValues Struct Reference

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

Detailed Description

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.

Member Data Documentation

◆ charge

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}\).

◆ frequency

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} \) .

◆ length

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} \) .

◆ magnetic_field_strength

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}\).

◆ mass

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}\).

◆ momentum

double sapphirepp::VFP::ReferenceValues::momentum

Reference momentum \( \underline{p} \) in kg m/s. The default is \( \underline{p} = \underline{m} c \).

◆ parsec_to_m

const double sapphirepp::VFP::ReferenceValues::parsec_to_m = 3.0857e16

Conversion of parsec to meter.

◆ radiation_reaction_characteristic_time

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} \) .

◆ speed_of_light

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}} \) .

◆ time

double sapphirepp::VFP::ReferenceValues::time

Reference time in seconds. The default is \( \underline{t} = 1/\underline{\omega}_{g} \).

◆ vacuum_permeability

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} \).


The documentation for this struct was generated from the following file: