Heat conduction

CryoGrid.Heat.GeothermalHeatFluxType
GeothermalHeatFlux{TQ} <: BoundaryProcess{HeatBalance}

Represents a simple, forced Neumann heat flux boundary condition for HeatBalance processes.

source
CryoGrid.Heat.GroundHeatFluxType
GroundHeatFlux{TE,TQ} <: BoundaryProcess{HeatBalance}

Represents a simple, forced Neumann heat flux boundary condition for HeatBalance processes.

source
CryoGrid.Heat.HeatBalanceType
HeatBalance{THeatOp<:HeatOperator,Tdt,Tprop} <: SubSurfaceProcess

Represents subsurface heat transfer processes. The formulation of heat transfer is governed by the HeatOperator, op.

source
CryoGrid.Heat.PermafrostTemperatureInitType
PermafrostTemperatureInit{TT1,TT2,TTb,TTm,Tz1,Tz2,Tz3,Tz4} <: VarInitializer{:T}

Simple, piecewise linear temprature initializer that uses three temperature values and four characteristic depths to initialize the temperature profile. T0 is the initial surface temperature, Tpf is the permafrost temperature at z_deep, z_thaw and z_base are the top and bottom freezing fronts which are both assumed to be have temperature equal to Tm.

source
CryoGrid.Heat.StefanProblemType
StefanProblem{Tp<:StefanParameters,Tx,Tt}

Represents the simple two-phase Stefan problem defined on a semi-infinite slab. The one-phase Stefan problem can be computed by setting the parameters T_s = T_m.

source
CryoGrid.Heat.TemperatureBCType
TemperatureBC{E,F} <: BoundaryProcess{HeatBalance}

Represents a simple, Dirichlet temperature boundary condition for HeatBalance processes.

source
CryoGrid.Heat.ThermalPropertiesType
ThermalProperties

Material thermal properties, e.g. conductivity and heat capacity. By default, this includes the thermal properties of water, ice, and air. This can be extended by passing additional properties into the constructor.

source
CryoGrid.Heat.TemperatureProfileMethod
TemperatureProfile(pairs::Pair{<:Union{DistQuantity,Param},<:Union{TempQuantity,Param}}...)

Convenience constructor for Numerics.Profile which automatically converts temperature quantities.

source
CryoGrid.Heat.enthalpyMethod
enthalpy(T, C, L, θ) = T*C + L*θ

Discrete enthalpy function on temperature, heat capacity, specific latent heat of fusion, and liquid water content.

source
CryoGrid.Heat.enthalpyinvMethod
enthalpyinv(::FreeWater, H, θwi, C, L)

Inverse enthalpy function for free water freezing characteristic given enthalpy H, total water content θwi, heat capacity C, and latent heat of fusion L.

source
CryoGrid.Heat.enthalpyinvMethod
enthalpyinv([::FreezeCurve], sub::SubSurface, heat::HeatBalance, state)

Evaluates the inverse enthalpy function (H -> T) on the current state.

source
CryoGrid.Heat.freezecurveMethod
freezecurve(sub::SubSurface)

Returns the soil freezing characteristic FreezeCurve for the given subsurface layer. Defautls to FreeWater.

source
CryoGrid.Heat.freezethaw!Method

Implementation of "free water" freezing characteristic for any subsurface layer. Assumes that state contains at least temperature (T), enthalpy (H), heat capacity (C), total water content (θwi), and liquid water content (θw).

source
CryoGrid.Heat.freezethaw!Method
freezethaw!(::FreezeCurve, ::SubSurface, ::Process, state)

Calculates freezing and thawing effects, including evaluation of the freeze curve. In general, this function should compute at least the liquid/frozen water contents and the corresponding heat capacity. Other variables such as temperature or enthalpy may also need to be computed depending on the thermal scheme being implemented.

source
CryoGrid.Heat.heatcapacity!Method
heatcapacity!(sub::SubSurface, state)

Computes the heat capacity for the given layer from the current state and stores the result in-place in the state variable C.

source
CryoGrid.Heat.heatcapacityMethod
heatcapacity(sub::SubSurface, state, i)

Computes the heat capacity as a weighted average over constituent capacities with volumetric fractions θfracs.

source
CryoGrid.Heat.thermalconductivity!Method
thermalconductivity!(sub::SubSurface, state)

Computes the thermal conductivity for the given layer from the current state and stores the result in-place in the state variable k.

source
CryoGrid.Heat.thermalconductivityMethod
thermalconductivity(sub::SubSurface, heat::HeatBalance, state, i)

Computes the thermal conductivity as a squared weighted sum over constituent conductivities with volumetric fractions θfracs.

source