Settings by initialization script
Most of sph.input applies to every run: the timestep controls, the
equation of state and the output intervals are read by the integrator and
mean the same thing whatever INAME is set to.
The settings below are the exception. Each is read only by the setup routines listed, so setting one for any other script has no effect and produces no warning. This page is generated from the source, by looking at which file actually mentions each variable.
1es, a single polytrope
Variable |
Default |
Meaning |
|---|---|---|
|
|
particle mass is proportional to rho^(1-equalmass), so equalmass=1 has equal mass particles and equalmass=0 is for constant number density. |
|
|
mass of the polytrope to build, in solar masses |
|
|
radius of the polytrope to build, in solar radii |
1mc, a single polytrope with a compact core
Variable |
Default |
Meaning |
|---|---|---|
|
|
particle mass is proportional to rho^(1-equalmass), so equalmass=1 has equal mass particles and equalmass=0 is for constant number density. |
|
|
mass of the polytrope to build, in solar masses |
|
|
radius of the polytrope to build, in solar radii |
2cr, a corotating binary
Variable |
Default |
Meaning |
|---|---|---|
|
|
text file describing the binary, read by bps and 2cr |
|
|
mass of the point mass used as the second object when startfile2 is absent |
|
|
first body of the encounter, in out*.sph format, usually the last snapshot of a relaxation |
|
|
second body, same format as startfile1. If absent, a single point mass of mass mbh is used |
bhe, an encounter with a supermassive black hole
Variable |
Default |
Meaning |
|---|---|---|
|
|
first body of the encounter, in out*.sph format, usually the last snapshot of a relaxation |
|
|
second body, same format as startfile1. If absent, a single point mass of mass mbh is used |
|
|
text file describing the third body, read by bhe and tri |
bph, a binary plus a black hole
Variable |
Default |
Meaning |
|---|---|---|
|
|
text file giving the orientation angles and black hole mass, read by bph |
|
|
orbital eccentricity: 1 is parabolic, above 1 hyperbolic, below 1 bound |
|
|
orbital semimajor axis. 0 means unset, so that it is deduced from the others |
|
|
first body of the encounter, in out*.sph format, usually the last snapshot of a relaxation |
|
|
square of the relative speed at infinity. 1d30 means unset, so it is deduced from the others |
bps, a binary plus a single star
Variable |
Default |
Meaning |
|---|---|---|
|
|
text file describing the binary, read by bps and 2cr |
|
|
first body of the encounter, in out*.sph format, usually the last snapshot of a relaxation |
|
|
second body, same format as startfile1. If absent, a single point mass of mass mbh is used |
erg, a star from a stellar-evolution profile
Variable |
Default |
Meaning |
|---|---|---|
|
|
particle mass is proportional to rho^(1-equalmass), so equalmass=1 has equal mass particles and equalmass=0 is for constant number density. |
|
|
mass of compact object or core particle |
|
|
stellar-evolution profile that erg builds its star from |
|
|
which code wrote profilefile, since the column layouts differ |
hbs, a binary encountering a single star
Variable |
Default |
Meaning |
|---|---|---|
|
|
orbital eccentricity: 1 is parabolic, above 1 hyperbolic, below 1 bound |
|
|
impact parameter at infinity, an alternative to rp, converted to it using angular momentum |
|
|
mass of the point mass used as the second object when startfile2 is absent |
|
|
orbital semimajor axis. 0 means unset, so that it is deduced from the others |
|
|
first body of the encounter, in out*.sph format, usually the last snapshot of a relaxation |
|
|
square of the relative speed at infinity. 1d30 means unset, so it is deduced from the others |
hyp, two bodies on a Keplerian orbit
Variable |
Default |
Meaning |
|---|---|---|
|
|
per-particle passively advected quantities, read by hyp when present |
|
|
argument of periapsis of the compact-object binary, in degrees |
|
|
eccentricity of the compact-object binary |
|
|
inclination of the compact-object binary, in degrees |
|
|
longitude of the ascending node of the compact-object binary, in degrees |
|
|
first mass of a compact-object binary. Required, and only used, when bbh_m2 is positive |
|
|
second mass of a compact-object binary. Negative means unset, giving a single point mass of mass mbh |
|
|
separation at closest approach for the compact-object binary |
|
|
semimajor axis of the compact-object binary. 0 means unset |
|
|
true anomaly of the compact-object binary, in degrees |
|
|
square of the relative speed at infinity for the compact-object binary. 1d30 means unset |
|
|
orbital eccentricity: 1 is parabolic, above 1 hyperbolic, below 1 bound |
|
|
impact parameter at infinity, an alternative to rp, converted to it using angular momentum |
|
|
mass of the point mass used as the second object when startfile2 is absent |
|
|
orbital semimajor axis. 0 means unset, so that it is deduced from the others |
|
|
first body of the encounter, in out*.sph format, usually the last snapshot of a relaxation |
|
|
second body, same format as startfile1. If absent, a single point mass of mass mbh is used |
|
|
square of the relative speed at infinity. 1d30 means unset, so it is deduced from the others |
meq, a star whose particle-mass scheme varies with position
Variable |
Default |
Meaning |
|---|---|---|
|
|
particle mass is proportional to rho^(1-equalmass), so equalmass=1 has equal mass particles and equalmass=0 is for constant number density. |
res, a rescaling of an existing model
Variable |
Default |
Meaning |
|---|---|---|
|
|
first body of the encounter, in out*.sph format, usually the last snapshot of a relaxation |
tri, a triple system
Variable |
Default |
Meaning |
|---|---|---|
|
|
first body of the encounter, in out*.sph format, usually the last snapshot of a relaxation |
|
|
second body, same format as startfile1. If absent, a single point mass of mass mbh is used |
|
|
third body of a triple, same format as startfile1 |
|
|
text file describing the third body, read by bhe and tri |
txt, particles laid out from an ASCII image
Variable |
Default |
Meaning |
|---|---|---|
|
|
ASCII picture that txt turns into a particle layout |