SpatioTemporalHeat System

The [SpatioTemporalHeat] block provides a single, modular interface for setting up a moving heat source that follows a spatio-temporal path, which is commonly needed in additive manufacturing and welding simulations.

Overview

Instead of manually defining and coordinating the individual objects required for a moving heat source, the [SpatioTemporalHeat] block lets the user configure everything in one place. The associated SpatioTemporalHeatAction then automatically creates and connects the following components:

See the SpatioTemporalPath system for more details on how the underlying paths are defined.

Example Input File Syntax

The moving heat source is defined under the [SpatioTemporalHeat] block in the input file. For example:

[SpatioTemporalHeat<<<{"href": "index.html"}>>>]
  [path<<<{"href": "path/index.html"}>>>]
    type = SpatioTemporalPath
    file = 'gold/path.csv'
  []

  # for esm
  block<<<{"description": "The list of blocks (ids or names) that this object will be applied"}>>> = '1 2'
  target_subdomain<<<{"description": "The subdomain name/ID to set when the path goes through an element"}>>> = "solid2"
  radius<<<{"description": "The element subdomain is changed to the target subdomain if its centroid is within the radius of the current path front."}>>> = 0.1
  execute_on_esm<<<{"description": "When the element subdomain modifier updates the subdomains (its 'execute_on')."}>>> = 'TIMESTEP_BEGIN'

  old_subdomain_reinitialized<<<{"description": "This parameter must be set with a non-empty list in 'reinitialize_subdomains'. When set to the default true, the element's old subdomain is not considered when determining if an element should be reinitialized. If set to false, only elements whose old subdomain was not in 'reinitialize_subdomains' are reinitialized. "}>>> = false
  reinitialize_subdomains<<<{"description": "By default, any element which changes subdomain is reinitialized. If a list of subdomains (IDs or names) is provided, then only elements whose new subdomain is in the list will be reinitialized. If an empty list is set, then no elements will be reinitialized."}>>> = '1'
  reinitialization_strategy<<<{"description": "The strategy used to reinitialize the solution when elements change subdomain. If multiple strategies are provided, each strategy will be applied to the corresponding variable. If only one strategy is provided, it will be applied to all variables."}>>> = "POLYNOMIAL_NEIGHBOR"
  reinitialize_variables<<<{"description": "Which variables to reinitialize when subdomain changes."}>>> = "T"
  polynomial_fitters<<<{"description": "List of NodalPatchRecovery UserObjects used for polynomial fitting during variable reinitialization. Required only if 'reinitialization_strategy' includes POLYNOMIAL_NEIGHBOR, POLYNOMIAL_WHOLE, or POLYNOMIAL_NEARBY."}>>> = 'extrapolation_patch_T'

  # for heat source
  power<<<{"description": "Input power of the heat source."}>>> = 1
  a<<<{"description": "Length of the ellipsoid semi-axis along the path direction"}>>> = 0.035
  b<<<{"description": "Length of the ellipsoid semi-axis perpendicular to the path direction"}>>> = 0.01
  efficiency<<<{"description": "Process efficiency"}>>> = 1
  scale<<<{"description": "Scaling factor"}>>> = 1

  # for kernel
  heat_variable<<<{"description": "The temperature variable the heat source is applied to"}>>> = T
[]
(test/tests/spatiotemporal_path/esm_hsource.i)

See the SpatioTemporalHeatAction page for the full list of parameters.

Available Subsystems

Available Actions

  • Black Bear App
  • SpatioTemporalHeatActionSets up a moving heat source along a spatio-temporal path, which is defined in the 'path' sub-block. Creates the element subdomain modifier, the moving ellipsoidal heat source material, and the heat source kernel.