ansys.mapdl.core.Mapdl.spunit#

Mapdl.spunit(tblno='', type_='', gvalue='', keyinterp='', **kwargs)#

Defines the type of multi-point response spectrum.

Mechanical APDL Command: SPUNIT

Parameters:
tblnostr

Input table number.

type_str

Label identifying the type of spectrum:

  • DISP - Displacement spectrum ( spval values interpreted as displacements with units of length).

  • VELO - Velocity spectrum ( spval values interpreted as velocities with units of length/time).

  • ACEL - Acceleration spectrum ( spval values interpreted as accelerations with units of length/time 2 ).

  • ACCG - Acceleration spectrum ( spval values interpreted as accelerations with units of g/time 2 ).

  • FORC - Force spectrum.

  • PRES - Pressure spectrum.

gvaluestr

Value of acceleration due to gravity in any arbitrary units for Type=ACCG table. Default is 386.4 in/sec 2.

keyinterpstr

Key to activate or deactivate the linear interpolation between input response spectrum points and input response spectrum curves:

  • 0 (OFF or NO) - Deactivate linear and use logarithmic interpolation. This value is the default.

  • 1 (ON or YES) - Activate linear interpolation.

Notes

Defines the type of multi-point response spectrum defined by the spfreq and spval commands.

Force ( FORC ) and pressure ( PRES ) type spectra can be used only as a nodal excitation.

GVALUE is valid only when Type = ACCG is specified. A zero or negative value cannot be used. A parameter substitution can also be performed.

This command is also valid in PREP7.