# Scalar_String_Function

Syntax

  Bc No_Coverage_Flux For Current [{of} SpeciesName | {in} MaterialPhaseName | {ls} {a | b | c}] {on} Mesh Extent Name [Touching TouchingMeshExtent | Opposing OpposingMeshExtent] = Scalar_String_Function [Using Data Specification Data Spec Name] [Toggle = toggle | F = f]

Summary

  Value from a string function

Description

  The value, , is calculated from the user-defined string function, which can be a function of time (), coordinates (, , ), or any valid expression name. Check the String Functions chapter (String Functions) for more details about valid functions and variables that can be used.

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

  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} | –
Mesh Extent Name | string | –
TouchingMeshExtent | string | –
OpposingMeshExtent | string | –
Data Spec Name | string | –
toggle | “string” | –
f | “string” | –