subcase_cards Module

Inheritance diagram of pyNastran.bdf.bdf_interface.subcase_cards
class pyNastran.bdf.bdf_interface.subcase_cards.ACCELERATION(key, value, options)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CheckCard

ACCELERATION=5 ACCELERATION(REAL)=ALL ACCELERATION(SORT2, PUNCH, REAL)=ALL

allow_ints = True
allowed_keys = {'ABS', 'ATOC', 'CRMS', 'IMAG', 'NOPRINT', 'PHASE', 'PLOT', 'PRINT', 'PSDF', 'PUNCH', 'RALL', 'REAL', 'REL', 'RMS', 'RPRINT', 'RPUNCH', 'SORT1', 'SORT2'}
allowed_strings = {'ALL', 'NONE'}
allowed_values = {}
short_name = 'ACCE'
type = 'ACCELERATION'
class pyNastran.bdf.bdf_interface.subcase_cards.ADACT(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntStrCard

allowed_strings = {'ALL', 'NONE'}
type = 'ADACT'
class pyNastran.bdf.bdf_interface.subcase_cards.AEROF(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntStrCard

allowed_strings = {'ALL'}
type = 'AEROF'
class pyNastran.bdf.bdf_interface.subcase_cards.AESYMXY(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.StringCard

allowed_values = ['SYMMETRIC', 'ANTISYMMETRIC', 'ASYMMTRIC']
type = 'AESYMXY'
class pyNastran.bdf.bdf_interface.subcase_cards.AESYMXZ(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.StringCard

allowed_values = ['SYMMETRIC', 'ANTISYMMETRIC', 'ASYMMTRIC']
type = 'AESYMXZ'
class pyNastran.bdf.bdf_interface.subcase_cards.APRES(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntStrCard

allowed_strings = {'ALL'}
type = 'APRES'
class pyNastran.bdf.bdf_interface.subcase_cards.AUXMODEL(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'AUXMODEL'
class pyNastran.bdf.bdf_interface.subcase_cards.AXISYMMETRIC(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.StringCard

allowed_values = ['SINE', 'COSINE', 'FLUID']
type = 'AXISYMMETRIC'
class pyNastran.bdf.bdf_interface.subcase_cards.BC(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'BC'
class pyNastran.bdf.bdf_interface.subcase_cards.BCSET(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'BCSET'
class pyNastran.bdf.bdf_interface.subcase_cards.BGSET(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'BGSET'
class pyNastran.bdf.bdf_interface.subcase_cards.BOLTLD(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'BOLTLD'
class pyNastran.bdf.bdf_interface.subcase_cards.CLOAD(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'CLOAD'
class pyNastran.bdf.bdf_interface.subcase_cards.CMETHOD(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'CMETHOD'
class pyNastran.bdf.bdf_interface.subcase_cards.CSSCHD(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'CSSCHD'
class pyNastran.bdf.bdf_interface.subcase_cards.CaseControlCard[source]

Bases: object

basic card similar to the BaseCard class for the BDF

class pyNastran.bdf.bdf_interface.subcase_cards.CheckCard(key, value, options)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CaseControlCard

Creates a card that validates the input

GROUNDCHECK=YES GROUNDCHECK(GRID=12,SET=(G,N,A),THRESH=1.E-5,DATAREC=YES)=YES GROUNDCHECK(SET=ALL)=YES

WEIGHTCHECK=YES WEIGHTCHECK(GRID=12,SET=(G,N,A),MASS)=YES WEIGHTCHECK(SET=ALL)=YES

Creates a card of the form:
key(options) = value
Parameters:
key : str

the name of the card

value : List[str]

the options

value : str

the response value

_parse(self, key_value, options)[source]
_parse_set(self, key_value, options)[source]

SET=(G,N,N+AUTOSPC,F,A)

classmethod add_from_case_control(line, line_upper, lines, i)[source]

add method used by the CaseControl class

allow_ints = False
allowed_keys = {}
allowed_strings = {}
allowed_values = {}
duplicate_names = {}
export_to_hdf5(self, hdf5_file, encoding)[source]
type = 'CheckCard'
write(self, spaces)[source]
class pyNastran.bdf.bdf_interface.subcase_cards.DEFORM(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'DEFORM'
class pyNastran.bdf.bdf_interface.subcase_cards.DESGLB(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'DESGLB'
class pyNastran.bdf.bdf_interface.subcase_cards.DESSUB(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'DESSUB'
class pyNastran.bdf.bdf_interface.subcase_cards.DISPLACEMENT(key, value, options)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CheckCard

DISPLACEMENT=5 DISPLACEMENT(REAL)=ALL DISPLACEMENT(SORT2, PUNCH, REAL)=ALL

allow_ints = True
allowed_keys = {'ABS', 'ATOC', 'CRMS', 'IMAG', 'NOPRINT', 'PHASE', 'PLOT', 'PRINT', 'PSDF', 'PUNCH', 'RALL', 'REAL', 'REL', 'RMS', 'RPRINT', 'RPUNCH', 'SORT1', 'SORT2'}
allowed_strings = {'ALL', 'NONE'}
allowed_values = {}
short_name = 'DISP'
type = 'DISPLACEMENT'
class pyNastran.bdf.bdf_interface.subcase_cards.DIVERG(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'DIVERG'
class pyNastran.bdf.bdf_interface.subcase_cards.DLOAD(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'DLOAD'
class pyNastran.bdf.bdf_interface.subcase_cards.DRSPAN(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'DRSPAN'
class pyNastran.bdf.bdf_interface.subcase_cards.DSYM(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.StringCard

allowed_values = ['S', 'A', 'SS', 'SA', 'AS', 'AA']
type = 'DSYM'
class pyNastran.bdf.bdf_interface.subcase_cards.DTEMP(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'DTEMP'
class pyNastran.bdf.bdf_interface.subcase_cards.EBDSET(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'EBDSET'
class pyNastran.bdf.bdf_interface.subcase_cards.EXTSEOUT(data)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CaseControlCard

static _update_key(key)[source]

STIFFNESS, DAMPING, K4DAMP, and LOADS may be abbreviated to STIF, DAMP, K4DA, and LOAD, respectively.

classmethod add_from_case_control(line)[source]

add method used by the CaseControl class

allowed_keys = {'ASMBULK', 'DAMP', 'DAMPING', 'DMIGDB', 'DMIGOP2', 'DMIGPCH', 'DMIGSFIX', 'EXTBULK', 'EXTID', 'GEOM', 'K4DAMP', 'LOADS', 'MASS', 'MATDB', 'MATOP4', 'MATRIXDB', 'MATRIXOP4', 'STIFF', 'STIFFNESS'}
export_to_hdf5(self, hdf5_file, encoding)[source]
type = 'EXTSEOUT'
write(self, spaces)[source]
class pyNastran.bdf.bdf_interface.subcase_cards.FMETHOD(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'FMETHOD'
class pyNastran.bdf.bdf_interface.subcase_cards.FREQUENCY(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'FREQUENCY'
class pyNastran.bdf.bdf_interface.subcase_cards.GPRSORT(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntStrCard

allowed_strings = {'ALL'}
type = 'GPRSORT'
class pyNastran.bdf.bdf_interface.subcase_cards.GPSDCON(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntStrCard

allowed_strings = {'ALL'}
type = 'GPSDCON'
class pyNastran.bdf.bdf_interface.subcase_cards.GROUNDCHECK(key, value, options)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CheckCard

GROUNDCHECK=YES GROUNDCHECK(GRID=12,SET=(G,N,A),THRESH=1.E-5,DATAREC=YES)=YES

allowed_keys = {'DATAREC', 'GRID', 'NOPRINT', 'PRINT', 'RTHRESH', 'SET', 'THRESH'}
allowed_strings = {'YES'}
allowed_values = {'CGI': (<class 'str'>, ['YES', 'NO']), 'DATAREC': (<class 'str'>, ['YES', 'NO']), 'GRID': (<class 'int'>, None), 'RTHRESH': (<class 'float'>, None), 'SET': (<class 'str'>, ['G', 'N', 'AUTOSPC', 'F', 'A', 'ALL']), 'THRESH': (<class 'float'>, None)}
type = 'GROUNDCHECK'
class pyNastran.bdf.bdf_interface.subcase_cards.GUST(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'GUST'
class pyNastran.bdf.bdf_interface.subcase_cards.HARMONICS(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntStrCard

allowed_strings = {'ALL', 'NONE'}
type = 'HARMONICS'
class pyNastran.bdf.bdf_interface.subcase_cards.IntCard(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CaseControlCard

interface for cards of the form:
NAME = 10

Creates an IntCard

Parameters:
value : int

the value for the card

classmethod add_from_case_control(line, line_upper, lines, i)[source]

Creates a card from the Case Control Deck

Parameters:
line : str

the line of the card

line_upper : str

unused

lines : List[str]

unused

i : int

unused

type = 'IntCard'
write(self, spaces)[source]

writes a card with spaces

class pyNastran.bdf.bdf_interface.subcase_cards.IntStrCard(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

interface for cards of the form:
NAME = 10 NAME = ALL

Creates an IntStrCard

Parameters:
value : int/str

the value for the card

allowed_strings = {}
type = 'IntStrCard'
class pyNastran.bdf.bdf_interface.subcase_cards.LINE(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'LINE'
class pyNastran.bdf.bdf_interface.subcase_cards.LOAD(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'LOAD'
class pyNastran.bdf.bdf_interface.subcase_cards.LOADSET(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'LOADSET'
class pyNastran.bdf.bdf_interface.subcase_cards.MAXLINES(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'MAXLINES'
class pyNastran.bdf.bdf_interface.subcase_cards.MFLUID(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'MFLUID'
class pyNastran.bdf.bdf_interface.subcase_cards.MODCON(key, value, options)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CheckCard

MODCON=123 MODCON(SORT1,PHASE,PRINT,PUNCH,BOTH,TOPS=5)=ALL

allow_ints = True
allowed_keys = {'ABS', 'BOTH', 'IMAG', 'NOPRINT', 'NORM', 'PANELMC', 'PHASE', 'PRINT', 'PUNCH', 'REAL', 'SOLUTION', 'SORT1', 'SORT2', 'TOPF', 'TOPS'}
allowed_strings = {'ALL', 'NONE'}
allowed_values = {'SOLUTION': (<class 'int'>, None), 'TOPF': (<class 'int'>, None), 'TOPS': (<class 'int'>, None)}
duplicate_names = {'PANE': 'PANELMC', 'SOLU': 'SOLUTION', 'TOP': 'TOPS'}
type = 'MODCON'
class pyNastran.bdf.bdf_interface.subcase_cards.MODES(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'MODES'
class pyNastran.bdf.bdf_interface.subcase_cards.MODTRAK(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'MODTRAK'
class pyNastran.bdf.bdf_interface.subcase_cards.MPC(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'MPC'
class pyNastran.bdf.bdf_interface.subcase_cards.MPCFORCES(key, value, options)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CheckCard

MPCFORCES=5 MPCFORCES(REAL)=ALL MPCFORCES(SORT2, PUNCH, REAL)=ALL

allow_ints = True
allowed_keys = {'ABS', 'ATOC', 'CRMS', 'IMAG', 'NOPRINT', 'PHASE', 'PLOT', 'PRINT', 'PSDF', 'PUNCH', 'RALL', 'REAL', 'REL', 'RMS', 'RPRINT', 'RPUNCH', 'SORT1', 'SORT2'}
allowed_strings = {'ALL', 'NONE'}
allowed_values = {}
short_name = 'MPCF'
type = 'MPCFORCES'
class pyNastran.bdf.bdf_interface.subcase_cards.NLCNTL(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'NLCNTL'
class pyNastran.bdf.bdf_interface.subcase_cards.NLLOAD(key, value, options)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CheckCard

NLLOAD(PRINT, PUNCH)=ALL NLLOAD(PRINT, PUNCH)=N NLLOAD(PRINT, PUNCH)=NONE

allow_ints = True
allowed_keys = {'PRINT', 'PUNCH'}
allowed_strings = {'ALL', 'NONE'}
allowed_values = {}
short_name = 'NLLOAD'
type = 'NLLOAD'
class pyNastran.bdf.bdf_interface.subcase_cards.NLPARM(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'NLPARM'
class pyNastran.bdf.bdf_interface.subcase_cards.NLSTRESS(key, value, options)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CheckCard

NLSTRESS=5 NLSTRESS (SORT1,PRINT,PUNCH,PHASE)=15 NLSTRESS(PLOT)=ALL

allow_ints = True
allowed_keys = {'PLOT', 'PRINT', 'PUNCH', 'SORT1', 'SORT2'}
allowed_strings = {'ALL', 'NONE'}
allowed_values = {}
short_name = 'NLSTRESS'
type = 'NLSTRESS'
class pyNastran.bdf.bdf_interface.subcase_cards.NONLINEAR(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'NONLINEAR'
class pyNastran.bdf.bdf_interface.subcase_cards.NSM(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'NSM'
class pyNastran.bdf.bdf_interface.subcase_cards.OFREQUENCY(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntStrCard

allowed_strings = {'ALL'}
type = 'OFREQUENCY'
class pyNastran.bdf.bdf_interface.subcase_cards.OLOAD(key, value, options)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CheckCard

OLOAD=ALL OLOAD(SORT1,PHASE)=5

allow_ints = True
allowed_keys = {'ATOC', 'CRMS', 'IMAG', 'NORPRINT', 'PHASE', 'PLOT', 'PRINT', 'PSDF', 'PUNCH', 'RALL', 'REAL', 'RMS', 'RPRINT', 'RPUNCH', 'SORT1', 'SORT2'}
allowed_strings = {'ALL', 'NONE'}
allowed_values = {}
short_name = 'OLOAD'
type = 'OLOAD'
class pyNastran.bdf.bdf_interface.subcase_cards.OMODES(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntStrCard

allowed_strings = {'ALL'}
type = 'OMODES'
class pyNastran.bdf.bdf_interface.subcase_cards.OPRESS(key, value, options)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CheckCard

OPRESS=ALL OPRESS(PRINT,PUNCH)=17

allow_ints = True
allowed_keys = {'PRINT', 'PUNCH'}
allowed_strings = {'ALL', 'NONE'}
allowed_values = {}
short_name = 'OPRESS'
type = 'OPRESS'
class pyNastran.bdf.bdf_interface.subcase_cards.OTEMP(key, value, options)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CheckCard

OTEMP=ALL OTEMP(PRINT,PUNCH)=17

allow_ints = True
allowed_keys = {'PRINT', 'PUNCH'}
allowed_strings = {'ALL', 'NONE'}
allowed_values = {}
short_name = 'OTEMP'
type = 'OTEMP'
class pyNastran.bdf.bdf_interface.subcase_cards.OUTRCV(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'OUTRCV'
class pyNastran.bdf.bdf_interface.subcase_cards.PARTN(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'PARTN'
class pyNastran.bdf.bdf_interface.subcase_cards.REPCASE(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'REPCASE'
class pyNastran.bdf.bdf_interface.subcase_cards.RSMETHOD(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'RSMETHOD'
class pyNastran.bdf.bdf_interface.subcase_cards.SEFINAL(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'SEFINAL'
class pyNastran.bdf.bdf_interface.subcase_cards.SEQDEP(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.StringCard

allowed_values = ['YES', 'NO']
type = 'SEQDEP'
class pyNastran.bdf.bdf_interface.subcase_cards.SET(set_id, values)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CaseControlCard

classmethod add_from_case_control(line_upper, lines, i)[source]

add method used by the CaseControl class

key

temporary method to emulate the old key attribute

type = 'SET'
write(self, spaces)[source]

writes SET 80 = 3926, 3927, 3928, 4141, 4142, 4143, 4356, 4357, 4358, 4571,

4572, 4573, 3323 THRU 3462, 3464 THRU 3603, 3605 THRU 3683, 3910 THRU 3921, 4125 THRU 4136, 4340 THRU 4351
class pyNastran.bdf.bdf_interface.subcase_cards.SETMC(set_id, values)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.SET

SETMC 121 = ACCE/99(T3),1200(T1),1399(R2) SETMC 222 = STRESS/134(22) SETMC 343 = ACCE/99(T3),1200(T1),1399(R2),STRESS/134(22) SETMC 122 = DISP/45(T1) 45(T2) 45(T3),

38(T1) 38(T2) 38(T3),
VELO/45(T1) 45(T2) 45(T3),
38(T1) 38(T2) 38(T3),
ACCE/45(T1) 45(T2) 45(T3),
38(T1) 38(T2) 38(T3)
type = 'SETMC'
class pyNastran.bdf.bdf_interface.subcase_cards.SMETHOD(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'SMETHOD'
class pyNastran.bdf.bdf_interface.subcase_cards.SPC(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'SPC'
class pyNastran.bdf.bdf_interface.subcase_cards.SPCFORCES(key, value, options)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CheckCard

SPCFORCES=5 SPCFORCES(REAL)=ALL SPCFORCES(SORT2, PUNCH, REAL)=ALL

allow_ints = True
allowed_keys = {'ABS', 'ATOC', 'CRMS', 'IMAG', 'NOPRINT', 'PHASE', 'PLOT', 'PRINT', 'PSDF', 'PUNCH', 'RALL', 'REAL', 'REL', 'RMS', 'RPRINT', 'RPUNCH', 'SORT1', 'SORT2'}
allowed_strings = {'ALL', 'NONE'}
allowed_values = {}
short_name = 'SPCF'
type = 'SPCFORCES'
class pyNastran.bdf.bdf_interface.subcase_cards.SUPORT1(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'SUPORT1'
class pyNastran.bdf.bdf_interface.subcase_cards.SYM(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'SYM'
class pyNastran.bdf.bdf_interface.subcase_cards.SYMCOM(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'SYMCOM'
class pyNastran.bdf.bdf_interface.subcase_cards.StringCard(value, validate=True)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CaseControlCard

classmethod add_from_case_control(line, line_upper, lines, i)[source]

add method used by the CaseControl class

allowed_values = []
type = 'StringCard'
validate(self)[source]
write(self, spaces)[source]
class pyNastran.bdf.bdf_interface.subcase_cards.TRIM(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'TRIM'
class pyNastran.bdf.bdf_interface.subcase_cards.TSTEP(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'TSTEP'
class pyNastran.bdf.bdf_interface.subcase_cards.TSTEPNL(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'TSTEPNL'
class pyNastran.bdf.bdf_interface.subcase_cards.TSTRU(value)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.IntCard

type = 'TSTRU'
class pyNastran.bdf.bdf_interface.subcase_cards.VELOCITY(key, value, options)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CheckCard

VELOCITY=5 VELOCITY(REAL)=ALL VELOCITY(SORT2, PUNCH, REAL)=ALL

allow_ints = True
allowed_keys = {'ABS', 'ATOC', 'CRMS', 'IMAG', 'NOPRINT', 'PHASE', 'PLOT', 'PRINT', 'PSDF', 'PUNCH', 'RALL', 'REAL', 'REL', 'RMS', 'RPRINT', 'RPUNCH', 'SORT1', 'SORT2'}
allowed_strings = {'ALL', 'NONE'}
allowed_values = {}
short_name = 'VELO'
type = 'VELOCITY'
class pyNastran.bdf.bdf_interface.subcase_cards.WEIGHTCHECK(key, value, options)[source]

Bases: pyNastran.bdf.bdf_interface.subcase_cards.CheckCard

WEIGHTCHECK=YES WEIGHTCHECK(GRID=12,SET=(G,N,A),MASS)=YES

allowed_keys = {'CGI', 'GRID', 'MASS', 'NOPRINT', 'PRINT', 'SET', 'WEIGHT'}
allowed_strings = {'YES'}
allowed_values = {'CGI': (<class 'str'>, ['YES', 'NO']), 'GRID': (<class 'int'>, None), 'SET': (<class 'str'>, ['G', 'N', 'AUTOSPC', 'F', 'A', 'V', 'ALL'])}
type = 'WEIGHTCHECK'
pyNastran.bdf.bdf_interface.subcase_cards.split_by_mixed_commas_parentheses(str_options)[source]

Excessively complicated function to split something excessively complicated. Thankfully, it only has one set of parentheses and no nested blocks.

Parameters:
str_options : str

a nasty section of a case control line ‘PRINT,SET=(G,N,N+AUTOSPC,F,A),DATAREC=NO’ ‘PRINT,SET=(G,N,F,A),CGI=NO,WEIGHT’

Returns:
options : List[str]

something that’s actually parseable [‘PRINT’, ‘SET=(G,N,N+AUTOSPC,F,A)’, ‘DATAREC=NO’] [‘PRINT’, ‘SET=(G,N,F,A)’, ‘CGI=NO’, ‘WEIGHT’]