ansys.mapdl.core.Mapdl.vput#
- Mapdl.vput(par='', ir='', tstrt='', kcplx='', name='', **kwargs)#
Moves an array parameter vector into a variable.
Mechanical APDL Command: VPUT
- Parameters:
- par
str
Array parameter vector in the operation.
- ir
str
Arbitrary reference number assigned to this variable (1 to
NV
( numvar )). Overwrites any existing results for this variable.- tstrt
str
Time (or frequency) corresponding to start of
IR
data. If between values, the nearer value is used.- kcplx
int
orstr
Complex number key:
0
- Use the real part of theIR
data.1
- Use the imaginary part of theIR
data.
- name
str
Thirty-two character name identifying the item on printouts and displays. Defaults to the label formed by concatenating VPUT with the reference number
IR
.
- par
Notes
At least one variable should be defined ( nsol, esol, rforce, etc.) before using this command. The starting array element number must be defined. For example, vput,A(1),2 moves array parameter A to variable 2 starting at time 0.0. Looping continues from array element A(1) with the index number incremented by one until the variable is filled. Unfilled variable locations are assigned a zero value. The number of loops may be controlled with the vlen command (except that loop skipping (NINC) is not allowed). For multi-dimensioned array parameters, only the first (row) subscript is incremented.