pyyeti.nastran.bulk.wtqcset¶
- pyyeti.nastran.bulk.wtqcset(f, startgrid, nq)[source]¶
Writes Nastran QSET1 and CSET1 cards for GRID modal DOF for use in the DMAP “xtmatrix”.
- Parameters:
f (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.startgrid (integer) – The start ID for the modal grids that need to be assigned to the Q-set and C-set. Any extra DOF are assigned to the C-set. Created grid IDs will be sequential.
nq (integer) – Number of modal DOF
- Returns:
None
Examples
>>> from pyyeti import nastran >>> import numpy as np >>> nastran.wtqcset(1, 990001, 14) QSET1 123456 990001 THRU 990002 QSET1 12 990003 CSET1 3456 990003