rhs

MapdlMath.rhs(dtype=<class 'numpy.float64'>, fname='file.full', asarray=False)

Return the load vector from a full file.

Parameters
dtypenumpy.dtype, optional

Data type to store the vector as. Defaults to np.double.

fnamestr, optional

Filename to read the vector from. Defaults to "file.full".

asarraybool, optional

Return a scipy array rather than an APDLMath matrix.

Returns
numpy.ndarray or ansys.mapdl.math.AnsVec

Numpy or APDL vector instance generated from the file.

Examples

>>> rhs = mm.rhs(fname='PRSMEMB.full')
APDLMath Vector Size 126