# Rotation_Tensor

Syntax

  User Expression ([{of} SpeciesName] | [{in} MaterialPhaseName] | [{ls} {a | b | c}]) = Rotation_Tensor (User_Tag = user_tag | Theta = theta | [Nx = nx] | [Ny = ny] | [Nz = nz] | [Equations = Equations…])

Summary

  Rotation tensor user expression

Description

  Calculates a rotation tensor around a defined axis [nx, ny, nz] by an angle expression ‘theta’. In 2D the axis is always [0, 0, 1]

Parameter | Value | Default
--- | --- | ---
{of} | {of | species | subindex} | –
SpeciesName | string | –
{in} | {in | material_phase} | –
MaterialPhaseName | string | –
{ls} | {levelset_phase | ls} | –
user_tag | “string” | –
theta | “string” | –
nx | real | 0
ny | real | 0
nz | real | 0
Equations | string… | –