# 7.6.18.6.2. Tensor_String_Function

Syntax

  Tensor Mass Diffusivity [{of} SpeciesName] = Tensor_String_Function (F_Xx = f_xx | F_Yy = f_yy | [F_Xy = f_xy] | [F_Zz = f_zz] | [F_Xz = f_xz] | [F_Yz = f_yz] | [F_Yx = f_yx] | [F_Zx = f_zx] | [F_Zy = f_zy])

Scope

  Aria Material

Summary

  Value from a string function.

Description

  The tensor components are calculated from the user-defined string functions, 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. Off-diagonal terms are optional and default to 0 if omitted.

Parameter | Value | Default
--- | --- | ---
{of} | {of | species | subindex} | –
SpeciesName | string | –
f_xx | “string” | –
f_yy | “string” | –
f_xy | “string” | 0.0
f_zz | “string” | –
f_xz | “string” | 0.0
f_yz | “string” | 0.0
f_yx | “string” | 0.0
f_zx | “string” | 0.0
f_zy | “string” | 0.0