ansys.mapdl.core.Mapdl.toper#

Mapdl.toper(parr='', par1='', oper='', par2='', fact1='', fact2='', con1='', **kwargs)#

Operates on table parameters.

Mechanical APDL Command: *TOPER

Parameters:
parrstr

Name of the resulting table parameter. The command will create a table array parameter with this name. Any existing parameter with this name will be overwritten.

par1str

Name of the first table parameter.

operstr

The operation to be performed: ADD. The operation is: ParR(i,j,k) = FACT12Par1(i,j,k) + FACT2 *Par2(i,j,k) +CON1

par2str

Name of the second table parameter.

fact1str

The first table parameter multiplying constant. Defaults to 1.

fact2str

The second table parameter multiplying constant. Defaults to 1.

con1str

The constant increment for offset. Defaults to 0.

Notes

Warning

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

Argument Descriptions

  • parr : str - Name of the resulting table parameter. The command will create a table array parameter with this name. Any existing parameter with this name will be overwritten.

  • par1 : str - Name of the first table parameter.

  • oper : str - The operation to be performed: ADD. The operation is: ParR(i,j,k) = FACT12Par1(i,j,k) + FACT2 *Par2(i,j,k) +CON1

  • par2 : str - Name of the second table parameter.

  • fact1 : str - The first table parameter multiplying constant. Defaults to 1.

  • fact2 : str - The second table parameter multiplying constant. Defaults to 1.

  • con1 : str - The constant increment for offset. Defaults to 0.

toper operates on table parameters according to: ParR(i,j,k) = FACT12Par1(i,j,k) + FACT2 *Par2(i,j,k) +CON1

Par1 and Par2 must have the same dimensions and the same variable names corresponding to those dimensions. Par1 and Par2 must also have identical index values for rows, columns, etc.

If you want a local coordinate system for the resulting array, you must dimension it as such using the dim command before issuing toper.

This command is valid in any processor.