Skip to content
BodyRadiation.md

BodyRadiation

Lumped thermal element for radiation heat transfer

This component extends from Element1D

Usage

BodyRadiation(Gr, σ=5.670374419*10^(-8))

Parameters:

NameDescriptionUnitsDefault value
GrNet radiation conductance between two surfaces

Connectors

Variables

NameDescriptionUnits
ΔTK
QW

Behavior

ΔT(t)=node_b.T(t)+node_a.T(t)node_a.Q(t)=Q(t)node_a.Q(t)+node_b.Q(t)=0Q(t)=Gr((node_b.T(t))4+(node_a.T(t))4)σ

Source

dyad
# Lumped thermal element for radiation heat transfer
component BodyRadiation
  extends Element1D
  # Net radiation conductance between two surfaces
  parameter Gr::Real
  # Stefan–Boltzmann constant
  final parameter σ::Real = 5.670374419*10^(-8)
relations
  Q = Gr*σ*(node_a.T^4-node_b.T^4)
end
Flattened Source
dyad
# Lumped thermal element for radiation heat transfer
component BodyRadiation
  node_a = Node() [{
    "Dyad": {
      "placement": {"icon": {"iconName": "node_a", "x1": -100, "y1": 400, "x2": 100, "y2": 600}}
    }
  }]
  node_b = Node() [{
    "Dyad": {
      "placement": {"icon": {"iconName": "node_b", "x1": 900, "y1": 400, "x2": 1100, "y2": 600}}
    }
  }]
  variable ΔT::Temperature
  variable Q::HeatFlowRate
  # Net radiation conductance between two surfaces
  parameter Gr::Real
  # Stefan–Boltzmann constant
  final parameter σ::Real = 5.670374419*10^(-8)
relations
  ΔT = node_a.T-node_b.T
  node_a.Q = Q
  node_a.Q+node_b.Q = 0
  Q = Gr*σ*(node_a.T^4-node_b.T^4)
metadata {}
end


Test Cases

This is setup code, that must be run before each test case.

julia
using ThermalComponents
using ModelingToolkit, OrdinaryDiffEqDefault
using Plots
using CSV, DataFrames

snapshotsdir = joinpath(dirname(dirname(pathof(ThermalComponents))), "test", "snapshots")
"/home/actions-runner-10/.julia/packages/ThermalComponents/uOuoD/test/snapshots"
  • Examples

  • Experiments

  • Analyses