ansys.mapdl.core.Mapdl.vitrp#

Mapdl.vitrp(parr='', part='', pari='', parj='', park='', **kwargs)#

Forms an array parameter by interpolation of a table.

Mechanical APDL Command: *VITRP

Parameters:
parrstr

The name of the resulting array parameter. See starset for name restrictions.

partstr

The name of the TABLE array parameter. The parameter must exist as a dimensioned array of type TABLE ( dim ).

paristr

Array parameter vector of I (row) index values for interpolation in ParT.

parjstr

Array parameter vector of J (column) index values for interpolation in ParT (which must be at least 2D).

parkstr

Array parameter vector of K (depth) index values for interpolation in ParT (which must be 3D).

Notes

Warning

This function contains specificities regarding the argument definitions. Please refer to the command documentation for further explanations.

Argument Descriptions

  • parr : str - The name of the resulting array parameter. See starset for name restrictions.

  • part : str - The name of the TABLE array parameter. The parameter must exist as a dimensioned array of type TABLE ( dim ).

  • pari : str - Array parameter vector of I (row) index values for interpolation in ParT.

  • parj : str - Array parameter vector of J (column) index values for interpolation in ParT (which must be at least 2D).

  • park : str - Array parameter vector of K (depth) index values for interpolation in ParT (which must be 3D).

Forms an array parameter (of type ARRAY) by interpolating values of an array parameter (of type TABLE) at specified table index locations according to: ParR = f( ParT, Parl, ParJ, ParK )

where ParT is the type TABLE array parameter, and ParI, ParJ, ParK are the type ARRAY array parameter vectors of index values for interpolation in ParT. See the dim command for TABLE and ARRAY declaration types. Linear interpolation is used. The starting array element number for the TABLE array ( ParT ) is not used (but a value must be input). Starting array element numbers must be defined for each array parameter vector if it does not start at the first location. For example, vitrp,R(5),TAB(1,1),X(2),Y(4) uses the second element of X and the fourth element of Y as index values (row and column) for a 2D interpolation in TAB and stores the result in the fifth element of R. Operations continue on successive array elements ( vlen, vmask ) with the default being all successive elements. Absolute values and scale factors may be applied to the result parameter ( vabs, vfact ). Results may be cumulative ( vcum ). See the voper command for details.

This command is valid in any processor.