Core arrays and inner-core boundary
Inner-core boundary of a two-layer core and the core arrays result['core'] of a structure solve whose profile reaches the core mass: radius, mass, pressure, density, gravity, temperature and phase per core node, a node at the core mass, and the ICB scalars.
core_profile
Inner-core boundary and core arrays of a structure solve.
A two-layer core has an inner core on the solid iron side and an outer core on the liquid side
(layer_eos_config['inner_core'] and ['core']). Its inner-core boundary (ICB) is either a
given mass, inner_core_mass_fraction of the core mass, or where the liquid of the outer core
reaches the liquidus T_liq(P): the first root, from the centre outward, of the temperature
profile on a given profile, and of the liquid branch (the outer-core adiabat continued below
the ICB with the liquid side) on an adiabat (icb_from_profile, icb_superheat). The
structure equations place a shell in the inner core by its enclosed mass, as they place the
core-mantle boundary, so the liquidus rule is applied to the profile of the previous outer
pass and the outer loop converges it with the structure.
icb_from_profile(mass, pressure, temperature, cmb_mass, liquidus, icb_mass=None, m23=False, cmb_point_rule=None)
Inner-core boundary on a structure profile by the liquidus rule.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
mass
|
array - like
|
Enclosed mass [kg], pressure [Pa] and temperature [K] at the nodes, centre first. |
required |
pressure
|
array - like
|
Enclosed mass [kg], pressure [Pa] and temperature [K] at the nodes, centre first. |
required |
temperature
|
array - like
|
Enclosed mass [kg], pressure [Pa] and temperature [K] at the nodes, centre first. |
required |
cmb_mass
|
float
|
Core mass [kg]. |
required |
liquidus
|
callable
|
|
required |
icb_mass
|
float or None
|
A given inner-core mass [kg]: the result then reports it, the pressure at it and the core mass above it that lies below the liquidus. |
None
|
m23
|
bool
|
Take the mass of a root with m^(2/3) linear in P on its node segment, the inverse of the
pressure at a given mass (as in |
False
|
cmb_point_rule
|
callable or None
|
T rule |
None
|
Returns:
| Type | Description |
|---|---|
tuple of float
|
Inner-core mass [kg], ICB pressure [Pa] and the core mass above the ICB that lies below
the liquidus [kg], at node resolution. With the centre at or above the liquidus the
inner-core mass is 0 and the pressure that of the centre; with the core below it to the
core mass the inner core is the core and the pressure that at the core mass. A node past
the core mass adds a point at the core mass to the core nodes ( |
Source code in src/zalmoxis/core_profile.py
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 | |
icb_superheat(mass, pressure, liquid_temperature, cmb_mass, liquidus, icb_mass, cmb_point_rule=None)
Superheat [K] of the outer-core liquid at the layer ICB and its miss of the zero-superheat condition of a growing inner core, after Labrosse (2015), Sect. 2, and Nimmo (2015), Fig. 2.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
mass
|
array - like
|
Enclosed mass [kg] and pressure [Pa] at the nodes, centre first. |
required |
pressure
|
array - like
|
Enclosed mass [kg] and pressure [Pa] at the nodes, centre first. |
required |
liquid_temperature
|
array - like
|
Temperature [K] of the outer-core liquid branch at the nodes: the outer-core adiabat continued below the ICB to the centre with the liquid side. |
required |
cmb_mass
|
float
|
Core mass and inner-core mass of the layers [kg]. |
required |
icb_mass
|
float
|
Core mass and inner-core mass of the layers [kg]. |
required |
liquidus
|
callable
|
|
required |
cmb_point_rule
|
callable or None
|
T rule of the point at the core mass, as in |
None
|
Returns:
| Type | Description |
|---|---|
tuple of float
|
S = T_l(P_icb) - T_liq(P_icb), with T_l linear in ln P on the core nodes and P_icb the
pressure at |
Source code in src/zalmoxis/core_profile.py
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 | |
icb_misses(mass, pressure, temperature, cmb_mass, liquidus, icb_mass, icb_adiabat, cmb_point_rule=None)
Distances [kg] of the layer inner-core mass icb_mass from the liquidus root of the
profile (CMB point from the rule cmb_point_rule, as in icb_from_profile) and from
icb_adiabat, the inner-core mass that its adiabat took (0 if None).
Source code in src/zalmoxis/core_profile.py
177 178 179 180 181 182 183 184 185 186 | |
core_arrays(result, layer_mixtures, rhs, temperature_at, icb_mass, solid_above)
Arrays of the core from the centre to a node at the core mass, and its ICB scalars.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
result
|
dict
|
Structure result with |
required |
layer_mixtures
|
dict
|
Per-layer mixtures; |
required |
rhs
|
callable
|
|
required |
temperature_at
|
callable
|
|
required |
icb_mass
|
float
|
Inner-core mass [kg] and the core mass below the liquidus above the ICB [kg]. |
required |
solid_above
|
float
|
Inner-core mass [kg] and the core mass below the liquidus above the ICB [kg]. |
required |
Returns:
| Type | Description |
|---|---|
dict
|
|
Raises:
| Type | Description |
|---|---|
ValueError
|
When the profile has no node at or past the core mass, or the core mass is not reached within 2 node segments. |
Source code in src/zalmoxis/core_profile.py
195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 | |
outside_side_tables(P, T, mixture, material_dictionaries, cache)
Nodes whose (P, T) an iron side table of mixture clamps or cannot read.
A node is outside where its pressure is outside the table, its temperature outside the valid band of its pressure row (where the read clamps it) or the bilinear density there is not finite (where the read takes the nearest neighbour). Mixtures without a side table give no node.
Source code in src/zalmoxis/core_profile.py
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 | |