Accretion
Steady-state protostellar accretion models.
PowerLawAccrete
Tapered power-law accretion model for a protostar.
Implements the steady-state accretion law relating a protostar's
instantaneous accretion rate to its current mass m and final mass
mf, following the formalism of McKee & Offner (2010) and Offner &
McKee (2011).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
j
|
float
|
Power-law index of the accretion rate's dependence on |
required |
jf
|
float
|
Power-law index of the accretion rate's dependence on |
required |
m0
|
float
|
Normalization of the accretion rate, in Msun/yr. |
required |
deltan1
|
float
|
Tapering parameter that drives the accretion rate to zero as
|
0
|
Attributes:
| Name | Type | Description |
|---|---|---|
j |
float
|
See Parameters. |
jf |
float
|
See Parameters. |
m0 |
float
|
See Parameters. |
deltan1 |
float
|
See Parameters. |
Source code in src/ocotillopmf/accretion.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
acc(m, mf)
Instantaneous mass accretion rate.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
m
|
float or array_like
|
Current protostellar mass, in Msun. |
required |
mf
|
float or array_like
|
Final protostellar mass, in Msun. |
required |
Returns:
| Type | Description |
|---|---|
float or ndarray
|
Accretion rate dm/dt, in Msun/yr. |
Source code in src/ocotillopmf/accretion.py
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
tm(mf)
Total formation timescale for a star of final mass mf.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
mf
|
float or array_like
|
Final protostellar mass, in Msun. |
required |
Returns:
| Type | Description |
|---|---|
float or ndarray
|
Formation timescale, in yr. |
Source code in src/ocotillopmf/accretion.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
tacc(m, mf)
Instantaneous accretion timescale, m / acc(m, mf).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
m
|
float or array_like
|
Current protostellar mass, in Msun. |
required |
mf
|
float or array_like
|
Final protostellar mass, in Msun. |
required |
Returns:
| Type | Description |
|---|---|
float or ndarray
|
Accretion timescale, in yr. |
Source code in src/ocotillopmf/accretion.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
tmav(IMF, ML, MU)
IMF-averaged formation timescale over a mass range.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
IMF
|
callable
|
Initial mass function, called as |
required |
ML
|
float
|
Lower mass bound of the integral, in Msun. |
required |
MU
|
float
|
Upper mass bound of the integral, in Msun. |
required |
Returns:
| Type | Description |
|---|---|
float
|
IMF-weighted average formation timescale, in yr. |
Source code in src/ocotillopmf/accretion.py
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |