vec#

Mapdl.vec(vector='', type_='', method='', val1='', val2='', val3='', val4='', **kwargs)#

Creates a vector.

APDL Command: *VEC

Parameters:
vector

Name used to identify the vector. Must be specified.

type_

Vector type:

  • "D" : Double precision real values (default).

  • "Z" : Complex double precision values.

  • "I" : Integer values.

method

Method used to create the vector:

  • "ALLOC" : Allocate space for a vector (default).

  • "RESIZE" : Resize an existing vector to a new length. Values are kept from the original vector. If the length specified by Val1 is greater than the original vector length, the additional rows are assigned a value of zero.

  • "COPY" : Copy an existing vector.

  • "IMPORT" : Import the vector from a file.

  • "LINK" : Link to a column of an existing dense *DMAT matrix and use it in subsequent vector calculations. Any changes to the vector are also made to the corresponding matrix column (memory is shared).

Copy an existing vector. - Import the vector from a file.

val1, val2, val3, val4, val5

Additional input. The meaning of val1 through val5 will vary depending on the specified Method. See: https://www.mm.bme.hu/~gyebro/files/ans_help_v182/ans_cmd/Hlp_C_VEC.html

Notes

Use the *DMAT command to create a matrix.

For more information on the BACK and FORWARD nodal mapping vectors, see Degree of Freedom Ordering in the ANSYS Parametric Design Language Guide.