pyyeti.nastran.bulk.wtrbe2¶
- pyyeti.nastran.bulk.wtrbe2(f, eid, indep, dof, dep)[source]¶
Writes a Nastran RBE2 card to a file.
- 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.eid (integer) – Element ID
indep (integer) – Independent grid ID. All 6 DOF are automatically independent and are not specified.
dof (integer) – An integer concatenation of the DOF (ex: 123456) that applies for all the dependent DOF.
dep (1d array_like) – Vector of dependent grid IDs
- Returns:
None
Examples
>>> from pyyeti import nastran >>> import numpy as np >>> nastran.wtrbe2(1, 1, 100, 123456, np.arange(101, 111)) RBE2 1 100 123456 101 102 103 104 105 106 107 108 109 110