Skip to content

Magnetic field decay of NSs due to mass accretion #1002

@astro-sjgao

Description

@astro-sjgao

I am using COMPAS to calculate the pulsar evolution in X-ray binaries. However, I have observed that the magnetic field decay does not seem to be working as expected.

I have identified a potential cause in the file NS.cpp, as shown in the following line:
double newPulsarMagneticField = (initialMagField - magFieldLowerLimit) * exp(-1 * p_MassGainPerTimeStep / 1000.0 / kappa) + magFieldLowerLimit ;

p_MassGainPerTimeStep seems to be in units of kg (as I found in BinaryConstituentStar.h), while kappa is also in units of kg. The term /1000.0 seems to be a typo.

So, the magnetic filed dacay resulting from mass accretion is insignificant.

For example, assuming the massscale is 0.02 solar mass, and a pulsar accreted 0.01 solar mass, the magnetic field B (>>Bmin) should be reduced to
(B-Bmin)*exp(-0.01/0.02)+Bmin~B*exp(-0.5)=0.61*B
rather than
(B-Bmin)*exp(-0.01/1000/0.02)+Bmin~B*exp(-0.5/1000)=0.9995*B.

Metadata

Metadata

Labels

bugSomething isn't workingseverity_moderateThis is a moderately severe bugurgency_moderateThis is a moderately urgent issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions