pyyeti.nastran.bulk.wttload1¶
- pyyeti.nastran.bulk.wttload1(f, setid, excite_id, delay, excite_type, tabledi_id)[source]¶
Write a Nastran TLOAD1 card to a file.
- Parameters:
fobj (string or file_like or 1 or None) – Either a name of a file, or is a file_like object as returned by
open()orio.StringIO. Input as integer 1 to write to stdout. Can also be the name of a directory or None; in these cases, a GUI is opened for file selection.setid (integer) – The load set ID number
excite_id (integer) – The ID of the load set definition (LOAD, SPCD, etc cards).
delay (integer or float) – The time delay. If this is a float, it represents the delay in seconds. If it is an integer, it references a DELAY card.
excite_type (string) – The type of excitation. Must be one of ‘load’, ‘disp’, ‘velo’, or ‘acce’.
tabledi_id (integer) – The ID of a TABLEDi card that defines the transient.
Notes
This card will be written in 8 fixed-field format using the
wtcard8()function.This card is useful to add a load set to the P matrix when creating an external superelement using EXTSEOUT. In that case, the referenced TABLEDi card does not need to exist.
Examples
>>> from pyyeti import nastran >>> setid, excite_id = 201, 202 >>> delay = .05 >>> excite_type = "load" >>> tabledi_id = 1501 >>> nastran.wttload1(1, setid, excite_id, delay, excite_type, tabledi_id) TLOAD1 201 202 .05LOAD 1501