General settings

Command: cosys(type)

Definition of the global reference system

Parameter

type:

“cartes” cartesian coordinates
“polar” polar coordinates
“cylind” cylindrical coordinates

Command: global_unit(unit)

Global scaling of units

Parameter

unit:

“mm” Specified coordinates are multiplied by 0.001
“cm” Specified coordinates are multiplied by 0.01
“m” Specified coordinates are applied immediately

Function: actual = state_of_problem(type)

Determines the nature of the finite element problem

Parameter

type Type (optional)

Return

Momentary assigned type (assignment optional)

Types

magstatic = 0
elestatic = 1
magdynamic = 2
magtransient = 3
mechstatic = 4
thermstatic = 5

Examples

state_of_problem("mag_dynamic")  --Defines the model as magnetodynamic
state_of_problem(2)              --Alternative syntax
actual = state_of_problem()      --Returns current state

Command: pickdist(x)

Assign the distance for snaps to next nodes.

Parameter

x Distance in global units

Command: blow_up_wind(x1, y1, x2, y2)

Adjustment of the visible screen

Parameter
x1,y1 Lower left corner
x2,y2 Upper right corner