HeatConduction Physics syntax
The [HeatConduction]
block is a sub-block of the [Physics]
block. HeatConductionPhysicsBase
-derived classes, such as HeatConductionCG can be created, nested under the relevant discretization sub-block.
For example, a continuous Galerkin finite element discretization of the heat conduction equation can be created inside the Physics/HeatConduction/FiniteElement block.
[Physics<<<{"href": "../index.html"}>>>]
[HeatConduction<<<{"href": "index.html"}>>>]
[FiniteElement<<<{"href": "FiniteElement/index.html"}>>>]
[h1]
temperature_name<<<{"description": "Variable name for the temperature"}>>> = 'T'
heat_source_var<<<{"description": "Variable providing the heat source"}>>> = 'Q'
heat_source_blocks<<<{"description": "Block restriction of the heat source"}>>> = '0'
initial_temperature<<<{"description": "Initial value of the temperature variable"}>>> = 0
# Thermal properties
thermal_conductivity<<<{"description": "the name of the thermal conductivity material property"}>>> = 'k0'
# Boundary conditions
heat_flux_boundaries<<<{"description": "Boundaries on which to apply a heat flux"}>>> = 'left right'
boundary_heat_fluxes<<<{"description": "Functors to compute the heat flux on each boundary in 'heat_flux_boundaries'"}>>> = '0 500'
insulated_boundaries<<<{"description": "Boundaries on which to apply a zero heat flux"}>>> = 'top'
fixed_temperature_boundaries<<<{"description": "Boundaries on which to apply a fixed temperature"}>>> = 'bottom'
boundary_temperatures<<<{"description": "Functors to compute the heat flux on each boundary in 'fixed_temperature_boundaries'"}>>> = '300'
[]
[]
[]
[]
(moose/modules/heat_transfer/test/tests/physics/test_cg.i)