alex-mcdaniel / RX-DMFIT

A tool used for calculating the expected secondary emission from DM annihilation and placing constraints on dark matter properties, incorporating important astrophysics including the diffusion of charged particles, relevant radiative energy losses, and magnetic field modelling.
12 stars 5 forks source link

why the SBoltzmann constant is 5.6704e-5? #9

Open gnattttttt opened 1 year ago

gnattttttt commented 1 year ago

Dear Alex, Hi! I want to know why the SBoltzmann constant in the Constants.cpp is 5.6704e-5, since we usually use Stefan-Boltzmann constant as σ=5.6704e-8 J/s/m^2/K^4, and if we convert the unit joules to ergs, then we have 0.56704 erg/s/m^2/k^4, so i have some problems when i need to calculate Etotal with this constant, can you please help me answer this question? Thank you so much.

alex-mcdaniel commented 1 year ago

The Sboltzmann value is in cgs units, so rather than having 0.56704 erg/s/m^2/K^4 it would be 0.56704 (10^-4) erg/s/(cm^2)/K^4 = 5.6704e-5 erg/s/(cm^2)/K^4. see e.g. here

gnattttttt commented 1 year ago

I see, Thank you very much for solving my problem, Professor McDaniel!

2023-10-12 23:06:07"Alex McDaniel" @.***>写道:

The Sboltzmann value is in cgs units, so rather than having 0.56704 erg/s/m^2/K^4 it would be 0.56704 (10^-4) erg/s/(cm^2)/K^4 = 5.6704e-5 erg/s/(cm^2)/K^4. see e.g. here

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>