threejs-worldgen
    Preparing search index...

    Interface LavaParams

    Parameters of the lava material (all live through MPMSolver.set({ materials: { lava: {...} } })).

    interface LavaParams {
        activation: number;
        airTemperature: number;
        convection: number;
        crackStrain: number;
        crustRange: number;
        density: number;
        diffusivity: number;
        emissivity: number;
        eruption: number;
        groundConductance: number;
        groundTemperature: number;
        heatCapacity: number;
        meltYield: number;
        poisson: number;
        skin: number;
        solidus: number;
        viscosity: number;
        viscosityMax: number;
        yieldStress: number;
        youngs: number;
        [key: string]: number;
    }

    Indexable

    • [key: string]: number
    Index
    activation: number

    Arrhenius slope E/R, kelvin: viscosity × e^(activation·(1/T − 1/eruption)).

    airTemperature: number

    Air temperature, kelvin.

    convection: number

    Convective heat transfer to the air, W/(m²·K).

    crackStrain: number

    Crust tensile strain at which it cracks open (melt is cohesive up to 20 %).

    crustRange: number

    Crust forms over this band above the solidus, kelvin.

    density: number

    Bulk density, kg/m³ (vesicular pāhoehoe ~2200, dense ʻaʻā ~2600). Sets the particle mass.

    diffusivity: number

    Effective thermal diffusivity between particles, m²/s (rock ~5e-7; larger stands in for sub-grid mixing).

    emissivity: number

    Thermal emissivity of the surface.

    eruption: number

    Eruption (vent) temperature, kelvin.

    groundConductance: number

    Conductance of the contact with the ground, W/(m²·K).

    groundTemperature: number

    Ground temperature, kelvin.

    heatCapacity: number

    Specific heat, J/(kg·K).

    meltYield: number

    Melt yield strength, Pa (Bingham). Lab melts show 10²–10³ Pa, flow margins (levees) 10³–10⁴ Pa: it stands in for the skin a real flow grows within seconds at its margins, which a particle Δx/2 thick cannot. It keeps lobes whole and thick instead of spreading into sheets thinner than the solver resolves (they would tear into particle rows).

    poisson: number

    Poisson's ratio.

    skin: number

    Thermal skin, metres: how thick a layer of an exposed particle the surface loss cools. A particle is Δx/2 across, far thicker than the centimetres a real crust grows in the first minutes, so the surface particles cool as this skin.

    solidus: number

    Solidus, kelvin: fully crust at and below it.

    viscosity: number

    Dynamic viscosity at the eruption temperature, Pa·s.

    viscosityMax: number

    Viscosity cap, Pa·s: the stiffest melt the explicit solver resolves (it sets the time step, Δx²·ρ/(6·cap)).

    yieldStress: number

    Crust shear strength (von Mises), Pa.

    youngs: number

    Young's modulus, Pa: the volume response of the melt and the stiffness of the crust (softened for real time).