loads Module

Inheritance diagram of pyNastran.bdf.cards.thermal.loads
class pyNastran.bdf.cards.thermal.loads.QBDY1(sid, qflux, eids, comment='')[source]

Bases: pyNastran.bdf.cards.thermal.loads.ThermalLoad

Defines a uniform heat flux into CHBDYj elements.

Eids()[source]
classmethod _init_from_empty()[source]
_properties = ['element_ids']
classmethod add_card(card, comment='')[source]

Adds a QBDY1 card from BDF.add_card(...)

Parameters
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

cross_reference(model: BDF) → None[source]

Cross links the card so referenced cards can be extracted directly

Parameters
modelBDF()

the BDF object

property element_ids
get_loads()[source]
nQFluxTerms()[source]
qflux = None

Heat flux into element (FLOAT)

raw_fields()[source]
repr_fields()[source]

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

safe_cross_reference(model: BDF, xref_errors)[source]
sid = None

Load set identification number. (Integer > 0)

type = 'QBDY1'
uncross_reference() → None[source]

Removes cross-reference links

write_card(size: int = 8, is_double: bool = False) → str[source]

Writes the card with the specified width and precision

Parameters
sizeint (default=8)

size of the field; {8, 16}

is_doublebool (default=False)

is this card double precision

Returns
msgstr

the string representation of the card

class pyNastran.bdf.cards.thermal.loads.QBDY2(sid, eid, qfluxs, comment='')[source]

Bases: pyNastran.bdf.cards.thermal.loads.ThermalLoad

Defines a uniform heat flux load for a boundary surface.

Eid()[source]
classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

Adds a QBDY2 card from BDF.add_card(...)

Parameters
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

cross_reference(model: BDF) → None[source]

Cross links the card so referenced cards can be extracted directly

Parameters
modelBDF()

the BDF object

eid = None

Identification number of an CHBDYj element. (Integer > 0)

get_loads()[source]
nQFluxTerms()[source]
raw_fields()[source]
repr_fields()[source]

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

safe_cross_reference(model: BDF, xref_errors)[source]
sid = None

Load set identification number. (Integer > 0)

type = 'QBDY2'
uncross_reference() → None[source]

Removes cross-reference links

write_card(size: int = 8, is_double: bool = False) → str[source]

Writes the card with the specified width and precision

Parameters
sizeint (default=8)

size of the field; {8, 16}

is_doublebool (default=False)

is this card double precision

Returns
msgstr

the string representation of the card

class pyNastran.bdf.cards.thermal.loads.QBDY3(sid, q0, cntrlnd, eids, comment='')[source]

Bases: pyNastran.bdf.cards.thermal.loads.ThermalLoad

Defines a uniform heat flux load for a boundary surface.

Creates a QBDY3 card

Parameters
sidint

Load set identification number. (Integer > 0)

q0float; default=None

Magnitude of thermal flux vector into face

control_idint; default=0

Control point

eidsList[int] or THRU

Element identification number of a CHBDYE, CHBDYG, or CHBDYP entry

commentstr; default=’’

a comment for the card

Eids()[source]
classmethod _init_from_empty()[source]
_properties = ['element_ids']
classmethod add_card(card, comment='')[source]

Adds a QBDY3 card from BDF.add_card(...)

Parameters
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

cntrlnd = None

Control point for thermal flux load. (Integer > 0; Default = 0)

cross_reference(model: BDF) → None[source]

Cross links the card so referenced cards can be extracted directly

Parameters
modelBDF()

the BDF object

eids = None

CHBDYj element identification numbers

property element_ids
get_loads()[source]
q0 = None

Heat flux into element

raw_fields()[source]
repr_fields()[source]

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

safe_cross_reference(model: BDF, xref_errors)[source]
sid = None

Load set identification number. (Integer > 0)

type = 'QBDY3'
uncross_reference() → None[source]

Removes cross-reference links

write_card(size: int = 8, is_double: bool = False) → str[source]

Writes the card with the specified width and precision

Parameters
sizeint (default=8)

size of the field; {8, 16}

is_doublebool (default=False)

is this card double precision

Returns
msgstr

the string representation of the card

class pyNastran.bdf.cards.thermal.loads.QHBDY(sid, flag, q0, grids, af=None, comment='')[source]

Bases: pyNastran.bdf.cards.thermal.loads.ThermalLoad

Defines a uniform heat flux into a set of grid points.

Creates a QHBDY card

Parameters
sidint

load id

flagstr

valid_flags = {POINT, LINE, REV, AREA3, AREA4, AREA6, AREA8}

q0float

Magnitude of thermal flux into face. Q0 is positive for heat into the surface

affloat; default=None

Area factor depends on type

gridsList[int]

Grid point identification of connected grid points

commentstr; default=’’

a comment for the card

classmethod _init_from_empty()[source]
_properties = ['flag_to_nnodes']
classmethod add_card(card, comment='')[source]

Adds a QHBDY card from BDF.add_card(...)

Parameters
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

af = None

Area factor depends on type. (Real > 0.0 or blank)

cross_reference(model: BDF) → None[source]
flag_to_nnodes = {'AREA3': (3, 3), 'AREA4': (4, 4), 'AREA6': (4, 6), 'AREA8': (5, 8), 'LINE': (2, 2), 'POINT': (1, 1), 'REV': (2, 2)}
get_loads()[source]
grids = None

Grid point identification of connected grid points. (Integer > 0 or blank)

q0 = None

Magnitude of thermal flux into face. Q0 is positive for heat into the surface. (Real)

raw_fields()[source]
repr_fields()[source]

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

safe_cross_reference(model: BDF, xref_errors)[source]
sid = None

Load set identification number. (Integer > 0)

type = 'QHBDY'
uncross_reference() → None[source]

Removes cross-reference links

write_card(size: int = 8, is_double: bool = False) → str[source]

Writes the card with the specified width and precision

Parameters
sizeint (default=8)

size of the field; {8, 16}

is_doublebool (default=False)

is this card double precision

Returns
msgstr

the string representation of the card

class pyNastran.bdf.cards.thermal.loads.QVECT(sid, q0, eids, t_source=None, ce=0, vector_tableds=None, control_id=0, comment='')[source]

Bases: pyNastran.bdf.cards.thermal.loads.ThermalLoad

Thermal Vector Flux Load

Defines thermal vector flux from a distant source into a face of one or more CHBDYi boundary condition surface elements.

1

2

3

4

5

6

7

8

9

QVECT

SID

Q0

TSOUR

CE

E1/TID1

E2/TID2

E3/TID3

CNTRLND

EID1

EID2

etc.

Creates a QVECT card

Parameters
sidint

Load set identification number. (Integer > 0)

q0float; default=None

Magnitude of thermal flux vector into face

t_sourcefloat; default=None

Temperature of the radiant source

ceint; default=0

Coordinate system identification number for thermal vector flux

vector_tabledsList[int/float, int/float, int/float]
vectorfloat; default=None

directional cosines in coordinate system CE) of the thermal vector flux None : [0.0, 0.0, 0.0]

tabledint

TABLEDi entry identification numbers defining the components as a function of time

control_idint; default=0

Control point

eidsList[int] or THRU

Element identification number of a CHBDYE, CHBDYG, or CHBDYP entry

commentstr; default=’’

a comment for the card

Eids()[source]
classmethod _init_from_empty()[source]
_properties = ['element_ids']
classmethod add_card(card, comment='')[source]

Adds a QVECT card from BDF.add_card(...)

Parameters
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

cross_reference(model: BDF) → None[source]

Cross links the card so referenced cards can be extracted directly

Parameters
modelBDF()

the BDF object

property element_ids
get_loads()[source]
raw_fields()[source]
repr_fields()[source]

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

safe_cross_reference(model: BDF, xref_errors)[source]
sid = None

Load set identification number. (Integer > 0)

type = 'QVECT'
uncross_reference() → None[source]

Removes cross-reference links

validate()[source]

card checking method that should be overwritten

write_card(size: int = 8, is_double: bool = False) → str[source]

Writes the card with the specified width and precision

Parameters
sizeint (default=8)

size of the field; {8, 16}

is_doublebool (default=False)

is this card double precision

Returns
msgstr

the string representation of the card

class pyNastran.bdf.cards.thermal.loads.QVOL(sid, qvol, control_point, elements, comment='')[source]

Bases: pyNastran.bdf.cards.thermal.loads.ThermalLoad

Defines a rate of volumetric heat addition in a conduction element.

1

2

3

4

5

6

7

8

9

QVOL

SID

QVOL

CNTRLND

EID1

EID2

EID3

EID4

EID5

EID6

etc.

Eids()[source]
classmethod _init_from_empty()[source]
_properties = ['element_ids']
classmethod add_card(card, comment='')[source]

Adds a QVOL card from BDF.add_card(...)

Parameters
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

cross_reference(model: BDF) → None[source]

Cross links the card so referenced cards can be extracted directly

Parameters
modelBDF()

the BDF object

property element_ids
get_loads()[source]
raw_fields()[source]
repr_fields()[source]

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

safe_cross_reference(model: BDF, xref_errors)[source]
sid = None

Load set identification number. (Integer > 0)

type = 'QVOL'
uncross_reference() → None[source]

Removes cross-reference links

write_card(size: int = 8, is_double: bool = False) → str[source]

Writes the card with the specified width and precision

Parameters
sizeint (default=8)

size of the field; {8, 16}

is_doublebool (default=False)

is this card double precision

Returns
msgstr

the string representation of the card

class pyNastran.bdf.cards.thermal.loads.TEMP(sid, temperatures, comment='')[source]

Bases: pyNastran.bdf.cards.thermal.loads.ThermalLoad

Defines temperature at grid points for determination of thermal loading, temperature-dependent material properties, or stress recovery.

1

2

3

4

5

6

7

8

TEMP

SID

G1

T1

G2

T2

G3

T3

TEMP

3

94

316.2

49

219.8

Creates a TEMP card

Parameters
sidint

Load set identification number

temperaturesdict[nid]temperature
nidint

node id

temperaturefloat

the nodal temperature

commentstr; default=’’

a comment for the card

classmethod _init_from_empty()[source]
add(temp_obj)[source]
classmethod add_card(card, comment='')[source]

Adds a TEMP card from BDF.add_card(...)

Parameters
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

cross_reference(model: BDF) → None[source]
classmethod export_to_hdf5(h5_file, model, loads)[source]

exports the loads in a vectorized way

get_loads()[source]
raw_fields()[source]

Writes the TEMP card

repr_fields()[source]

Writes the TEMP card

safe_cross_reference(model: BDF, debug=True)[source]
sid = None

Load set identification number. (Integer > 0)

temperatures = None

dictionary of temperatures where the key is the grid ID (Gi) and the value is the temperature (Ti)

type = 'TEMP'
uncross_reference() → None[source]

Removes cross-reference links

write_card(size: int = 8, is_double: bool = False) → str[source]

Writes the card with the specified width and precision

Parameters
sizeint (default=8)

size of the field; {8, 16}

is_doublebool (default=False)

is this card double precision

Returns
msgstr

the string representation of the card

class pyNastran.bdf.cards.thermal.loads.TEMPB3(sid, eid, t, tpy, tpz, tc, td, te, tf, eids, comment='')[source]

Bases: pyNastran.bdf.cards.base_card.BaseCard

classmethod _init_from_empty()[source]
classmethod add_card(card, icard=0, comment='')[source]

Adds a TEMPD card from BDF.add_card(...)

Parameters
cardBDFCard()

a BDFCard object

icardint; default=0

sid to be parsed

commentstr; default=’’

a comment for the card

cross_reference(model: BDF) → None[source]
get_loads()[source]
raw_fields()[source]

Writes the TEMP card

type = 'TEMPB3'
uncross_reference() → None[source]

Removes cross-reference links

write_card(size: int = 8, is_double: bool = False) → str[source]

Writes the card with the specified width and precision

Parameters
sizeint (default=8)

size of the field; {8, 16}

is_doublebool (default=False)

is this card double precision

Returns
msgstr

the string representation of the card

class pyNastran.bdf.cards.thermal.loads.TEMPD(sid, temperature, comment='')[source]

Bases: pyNastran.bdf.cards.base_card.BaseCard

Defines a temperature value for all grid points of the structural model that have not been given a temperature on a TEMP entry

1

2

3

4

5

6

7

8

9

TEMPD

SID1

T1

SID2

T2

SID3

T3

SID4

T4

Creates a TEMPD card

Parameters
sidint

Load set identification number. (Integer > 0)

temperaturefloat

default temperature

commentstr; default=’’

a comment for the card

classmethod _init_from_empty()[source]
add(tempd_obj)[source]
classmethod add_card(card, icard=0, comment='')[source]

Adds a TEMPD card from BDF.add_card(...)

Parameters
cardBDFCard()

a BDFCard object

icardint; default=0

sid to be parsed

commentstr; default=’’

a comment for the card

cross_reference(model: BDF) → None[source]
raw_fields()[source]

Writes the TEMPD card

safe_cross_reference(model: BDF, xref_errors)[source]
type = 'TEMPD'
uncross_reference() → None[source]

Removes cross-reference links

write_card(size: int = 8, is_double: bool = False) → str[source]

Writes the card with the specified width and precision

Parameters
sizeint (default=8)

size of the field; {8, 16}

is_doublebool (default=False)

is this card double precision

Returns
msgstr

the string representation of the card

class pyNastran.bdf.cards.thermal.loads.TEMPP1(sid, eid, tbar, tprime, t_stress, comment='')[source]

Bases: pyNastran.bdf.cards.base_card.BaseCard

1

2

3

4

5

6

7

8

TEMPP1

SID

EID1

TBAR

TPRIME

T1

T2

EID2

EID3

EID4

EID5

EID6

EID7

etc.

TEMPP1

2

24

62.0

10.0

57.0

67.0

26

21

19

30

Alternate Form +——–+——+——+——+——–+——+——+——+ | | EID2 | THRU | EIDi | EIDj | THRU | EIDk | | +——–+——+——+——+——–+——+——+——+ | | 1 | THRU | 10 | 30 | THRU | 61 | | +——–+——+——+——+——–+——+——+——+

classmethod _init_from_empty()[source]
raw_fields()[source]

Writes the TEMP card

type = 'TEMPP1'
write_card(size: int = 8, is_double: bool = False) → str[source]

Writes the card with the specified width and precision

Parameters
sizeint (default=8)

size of the field; {8, 16}

is_doublebool (default=False)

is this card double precision

Returns
msgstr

the string representation of the card

class pyNastran.bdf.cards.thermal.loads.TEMPRB(sid, ta, tb, tp1, tp2, tai, tbi, eids, comment='')[source]

Bases: pyNastran.bdf.cards.thermal.loads.ThermalLoad

1

2

3

4

5

6

7

8

TEMPRB

SID

G1

T1

G2

T2

G3

T3

1

2

3

4

5

6

7

8

9

TEMPRB

SID

EID1

TA

TB

TP1A

TP1B

TP2A

TP2B

TCA

TDA

TEA

TFA

TCB

TDB

TEB

TFB

EID2

EID3

EID4

EID5

EID6

EID7

etc.

TEMPRB

200

1

68.0

23.0

0.0

28.0

2.5

68.0

91.0

45.0

48.0

80.0

20.0

9

10

Creates a TEMPRB card

Parameters
sidint

Load set identification number

commentstr; default=’’

a comment for the card

classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

Adds a TEMPRB card from BDF.add_card(...)

Parameters
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

cross_reference(model: BDF) → None[source]
get_loads()[source]
raw_fields()[source]

Writes the TEMPRB card

repr_fields()[source]

Writes the TEMPRB card

safe_cross_reference(model: BDF, debug=True)[source]
sid = None

Load set identification number. (Integer > 0)

type = 'TEMPRB'
uncross_reference() → None[source]

Removes cross-reference links

write_card(size: int = 8, is_double: bool = False) → str[source]

Writes the card with the specified width and precision

Parameters
sizeint (default=8)

size of the field; {8, 16}

is_doublebool (default=False)

is this card double precision

Returns
msgstr

the string representation of the card

class pyNastran.bdf.cards.thermal.loads.ThermalLoad[source]

Bases: pyNastran.bdf.cards.thermal.thermal.ThermalCard