Thermal Models
Fourier's Law
ConstitutiveModels.FouriersLaw
— Typestruct FouriersLaw <: ConstitutiveModels.AbstractThermalModel{1, 0}
ConstitutiveModels.heat_flux
— Methodheat_flux(
_::ConstitutiveModels.FouriersLaw,
props,
Δt,
∇θ,
θ,
Z
) -> Tuple{Any, Any}
Calculates the heat flux for a simple Fourier's law and also returns an empy state
$\mathbf{q} = -k\nabla\theta$
ConstitutiveModels.initialize_props
— Methodinitialize_props(
_::ConstitutiveModels.FouriersLaw,
inputs::Dict{String}
) -> Any
Abstract Interface
ConstitutiveModels.AbstractThermalModel
— Typeabstract type AbstractThermalModel{NP, NS} <: ConstitutiveModels.AbstractConstitutiveModel{NP, NS}
ConstitutiveModels.heat_flux
— MethodExpected abstract interface where
Inputs:
props
- array of properties
Δt
` - time step
∇θ
- absolute temperature gradient
θ
- absolute temperature
Z
- current (old) state variable array
args
- potentially additional arguments for special models
Ouputs:
$\mathbf{q}$ - heat flux vector
$\mathcal{Z}$ - new state variable array (different from input Z
)
heat_flux(
_::ConstitutiveModels.AbstractThermalModel{NP, NS},
props,
Δt,
∇θ,
θ,
Z,
args...
) -> Tuple{Any, Any}