math#

property MapdlGrpc.math#

APDL math interface

Returns
MapdlMath

Examples

Get the stiffness matrix from MAPDL

>>> mm = mapdl.math.stiff()
>>> matrix = k.asarray()
<60x60 sparse matrix of type '<class 'numpy.float64'>'
    with 1734 stored elements in Compressed Sparse Row format>

Get the mass matrix from mapdl

>>> mm = mapdl.math.stiff()
>>> matrix = k.asarray()
<60x60 sparse matrix of type '<class 'numpy.float64'>'
    with 1734 stored elements in Compressed Sparse Row format>