ansys.mapdl.core.Mapdl.lsbac#
- Mapdl.lsbac(enginename='', rhsvector='', solvector='', transkey='', **kwargs)#
Performs the solve (forward/backward substitution) of a factorized linear system.
Mechanical APDL Command: *LSBAC
- Parameters:
- enginename
str
Name used to identify this engine. Must have been previously created using lsengine and factorized using lsfactor.
- rhsvector
str
Name of vector containing the right-hand side (load) vectors as input. Must have been previously defined as a vec vector or a dmat matrix.
- solvector
str
Name of vector that will contain the solution vectors upon completion. Must be predefined as a vec vector or dmat matrix.
- transkey
str
Transpose key. Set
TransKey
= TRANS to solve the transposed linear system. If blank, transpose will not be used.
- enginename
Notes
Warning
This function contains specificities regarding the argument definitions. Please refer to the command documentation for further explanations.
Argument Descriptions
enginename : str
- Name used to identify this engine. Must have been previously created using lsengine and factorized using lsfactor.rhsvector : str
- Name of vector containing the right-hand side (load) vectors as input. Must have been previously defined as a vec vector or a dmat matrix.solvector : str
- Name of vector that will contain the solution vectors upon completion. Must be predefined as a vec vector or dmat matrix.transkey : str
- Transpose key. SetTransKey
= TRANS to solve the transposed linear system. If blank, transpose will not be used.
This command performs forward and back substitution to obtain the solution to the linear matrix equation Ax = b (or A T x = b if
TransKey
= TRANS). The matrix engine must have been previously defined using lsengine, and the matrix factored using lsfactor.You can use the dmat,,,COPY (or vec,,,COPY) command to copy the load vector to the solution vector in order to predefine it with the appropriate size.