Scalar_String_Function
- Syntax
Bc Flux For Current [ SpeciesName | MaterialPhaseName | ] 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 | species | subindex} |
– |
|
SpeciesName |
string |
– |
{in | material_phase} |
– |
|
MaterialPhaseName |
string |
– |
{levelset_phase | ls} |
– |
|
Mesh Extent Name |
string |
– |
TouchingMeshExtent |
string |
– |
OpposingMeshExtent |
string |
– |
Data Spec Name |
string |
– |
toggle |
“string” |
– |
f |
“string” |
– |