# 7.17.1.20.54. User_Field

Syntax

  Source For Energy ([{of} SpeciesName] | [{in} MaterialPhaseName] | [{ls} {a | b | c}]) {@ | at | for | on | over} MeshPartIdentifier = User_Field ([Power_Output = power_output] | [Toggle = toggle] | Name = name | [Scaling = scaling] | [Global_Var = global_var] | [Time_Function = time_function])

Summary

  Value from a user field

Description

  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} | –
MeshPartIdentifier | string | –
power_output | “string” | –
toggle | “string” | –
name | “string” | –
scaling | real | 1
global_var | “string” | –
time_function | “string” | –