init#

Mapdl.init(name='', method='', val1='', val2='', val3='', **kwargs)#

Initializes a vector or dense matrix.

APDL Command: *INIT

Parameters:
name

Vector or matrix which will be initialized. This can be a vector (created by the *VEC command) or a dense matrix (created by the *DMAT command).

method

Initialization method to use:

Fill the vector/matrix with zeros (default). - Fill the vector/matrix with a constant value.

Fill the vector/matrix with random values. - Fill the nth diagonal of the matrix with a constant value. Other values are not

overwritten.

val1, val2, val3

Additional input. The meaning of Val1 through Val3 will vary depending on the specified Method. See details below.

Notes

This command initializes a previously defined vector (*VEC) or dense matrix (*DMAT).