# 7.16.1.20.43. Melting

Syntax

  Source For Energy [{of} SpeciesName | {in} MaterialPhaseName | {ls} {a | b | c}] {on} MeshPartIdentifier = Melting [Power_Output = power_output | Toggle = toggle | Ts = Ts | Tl = Tl | Latent_Heat = latent_heat | Profile_Shape = profile_shape]

Summary

  Energy source term to represent the latent heat of melting of a material.

Description

  Uses a Gaussian (default) or Square distribution based on solidus (TS) and liquidus (TL) temperatures. The Gaussian option is set so that only one percent of the energy gets applied outside of this range. Uses either the LATENT_HEAT expression or a provided “latent_heat = X” argument for each source. If both are present, the provided argument is used. This also assumes that the LATENT_HEAT is provided per mass (this expression multiplies it by the density). The solidus and liquidus temperatures can either be provided inline or in the material model. If both are provided, the inline values are used.

  The following options are present in most boundary conditions/sources. The meaning of each option is as follows:

  Power_Output

    If specified, the total (integrated) power of the given BC/Src is calculated and stored into the global variable name specified as the power_output argument.

  Toggle

    If given, specifies which toggle block controls whether this BC is active or not.

Parameter | Value | Default
--- | --- | ---
{of} | {of | species | subindex} | –
SpeciesName | string | –
{in} | {in | material_phase} | –
MaterialPhaseName | string | –
{ls} | {levelset_phase | ls} | –
{on} | {@ | at | for | in | on | over} | –
MeshPartIdentifier | string | –
power_output | “string” | –
toggle | “string” | –
Ts | real | 0
Tl | real | 0
latent_heat | real | 0
profile_shape | “string” | gaussian