Chemistry · function
conductShells
Move heat inward one step. enthalpy holds this parcel's shells at offset, in joules.
Explained in Chemistry.
function conductShells(enthalpy: Float64Array, offset: number, model: ConductionModel, thermal: SubstanceReactions, composition: Float64Array, compositionOffset: number, shellMass: number, area: number, depth: number, dt: number): voidimport { conductShells } from '@driftengine/chemistry';Parameters
| Parameter | Type | Description |
|---|---|---|
enthalpy | Float64Array | |
offset | number | |
model | ConductionModel | |
thermal | SubstanceReactions | |
composition | Float64Array | |
compositionOffset | number | |
shellMass | number | kg in each shell — equal by construction, which is what equal-mass shells buy |
area | number | m² of exposed surface |
depth | number | m, the characteristic depth: depthFactor × volume / area |
dt | number |