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): void
import { conductShells } from '@driftengine/chemistry';

Parameters

ParameterTypeDescription
enthalpyFloat64Array
offsetnumber
modelConductionModel
thermalSubstanceReactions
compositionFloat64Array
compositionOffsetnumber
shellMassnumberkg in each shell — equal by construction, which is what equal-mass shells buy
areanumberm² of exposed surface
depthnumberm, the characteristic depth: depthFactor × volume / area
dtnumber