thermal
Module¶
-
class
pyNastran.bdf.cards.thermal.thermal.
CHBDYE
(eid, eid2, side, iview_front=0, iview_back=0, rad_mid_front=0, rad_mid_back=0, comment='')[source]¶ Bases:
pyNastran.bdf.cards.thermal.thermal.ThermalElement
Defines a boundary condition surface element with reference to a heat conduction element.
1 2 3 4 5 6 7 8 CHBDYE EID EID2 SIDE IVIEWF IVIEWB RADMIDF RADMIDB Creates a CHBDYE card
Parameters: - eid : int
surface element ID number for a side of an element
- eid2: int
a heat conduction element identification
- side: int
a consistent element side identification number (1-6)
- iview_front: int; default=0
a VIEW entry identification number for the front face
- iview_back: int; default=0
a VIEW entry identification number for the back face
- rad_mid_front: int; default=0
RADM identification number for front face of surface element
- rad_mid_back: int; default=0
RADM identification number for back face of surface element
- comment : str; default=’‘
a comment for the card
-
_properties
= ['hex_map', 'pent_map', 'tet_map', 'side_maps']¶
-
classmethod
add_card
(card, comment='')[source]¶ Adds a CHBDYE card from
BDF.add_card(...)
Parameters: - card : BDFCard()
a BDFCard object
- comment : str; default=’‘
a comment for the card
-
eid
= None¶ Surface element ID number for a side of an element. (0 < Integer < 100,000,000)
-
eid2
= None¶ A heat conduction element identification
-
hex_map
= {1: [4, 3, 2, 1], 2: [1, 2, 6, 5], 3: [2, 3, 7, 6], 4: [3, 4, 8, 7], 5: [4, 1, 5, 8], 6: [5, 6, 7, 8]}¶
-
iview_back
= None¶ A VIEW entry identification number for the back face
-
iview_front
= None¶ A VIEW entry identification number for the front face
-
node_ids
¶
-
nodes
¶
-
pent_map
= {1: [3, 2, 1], 2: [1, 2, 5, 4], 3: [2, 3, 6, 5], 4: [3, 1, 4, 6], 5: [4, 5, 6]}¶
-
rad_mid_back
= None¶ RADM identification number for back face of surface element (Integer > 0)
-
rad_mid_front
= None¶ RADM identification number for front face of surface element (Integer > 0)
-
side
= None¶ A consistent element side identification number (1 < Integer < 6)
-
side_maps
= {'CHEXA': {1: [4, 3, 2, 1], 2: [1, 2, 6, 5], 3: [2, 3, 7, 6], 4: [3, 4, 8, 7], 5: [4, 1, 5, 8], 6: [5, 6, 7, 8]}, 'CPENTA': {1: [3, 2, 1], 2: [1, 2, 5, 4], 3: [2, 3, 6, 5], 4: [3, 1, 4, 6], 5: [4, 5, 6]}, 'CQUAD4': [1, 2, 3, 4], 'CTETRA': {1: [1, 3, 2], 2: [1, 2, 4], 3: [2, 3, 4], 4: [3, 1, 4]}, 'CTRIA3': [1, 2, 3]}¶
-
tet_map
= {1: [1, 3, 2], 2: [1, 2, 4], 3: [2, 3, 4], 4: [3, 1, 4]}¶
-
type
= 'CHBDYE'¶
-
class
pyNastran.bdf.cards.thermal.thermal.
CHBDYG
(eid, surface_type, nodes, iview_front=0, iview_back=0, rad_mid_front=0, rad_mid_back=0, comment='')[source]¶ Bases:
pyNastran.bdf.cards.thermal.thermal.ThermalElement
Defines a boundary condition surface element without reference to a property entry.
1 2 3 4 5 6 7 8 9 CHBDYG EID TYPE IVIEWF IVIEWB RADMIDF RADMIDB G1 G2 G3 G4 G5 G6 G7 G8 -
_properties
= ['node_ids']¶
-
classmethod
add_card
(card, comment='')[source]¶ Adds a CHBDYG card from
BDF.add_card(...)
Parameters: - card : BDFCard()
a BDFCard object
- comment : str; default=’‘
a comment for the card
-
cross_reference
(self, model)[source]¶ Cross links the card so referenced cards can be extracted directly
Parameters: - model : BDF()
the BDF object
-
eid
= None¶ Surface element ID
-
iview_back
= None¶ A VIEW entry identification number for the back face
-
iview_front
= None¶ A VIEW entry identification number for the front face
-
node_ids
¶
-
nodes
= None¶ Grid point IDs of grids bounding the surface (Integer > 0)
-
rad_mid_back
= None¶ RADM identification number for back face of surface element (Integer > 0)
-
rad_mid_front
= None¶ RADM identification number for front face of surface element (Integer > 0)
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
surface_type
= None¶ Surface type
-
type
= 'CHBDYG'¶
-
-
class
pyNastran.bdf.cards.thermal.thermal.
CHBDYP
(eid, pid, surface_type, g1, g2, g0=0, gmid=None, ce=0, iview_front=0, iview_back=0, rad_mid_front=0, rad_mid_back=0, e1=None, e2=None, e3=None, comment='')[source]¶ Bases:
pyNastran.bdf.cards.thermal.thermal.ThermalElement
Defines a boundary condition surface element with reference to a PHBDY entry
1 2 3 4 5 6 7 8 9 CHBDYP EID PID TYPE IVIEWF IVIEWB G1 G2 G0 RADMIDF RADMIDB GMID CE E1 E2 E3 Creates a CHBDYP card
Parameters: - eid : int
Surface element ID
- pid : int
PHBDY property entry identification numbers. (Integer > 0)
- surface_type : str
Surface type Must be {POINT, LINE, ELCYL, FTUBE, TUBE}
- iview_front : int; default=0
A VIEW entry identification number for the front face.
- iview_back : int; default=0
A VIEW entry identification number for the back face.
- g1 / g2 : int
Grid point identification numbers of grids bounding the surface
- g0 : int; default=0
Orientation grid point
- rad_mid_front : int
RADM identification number for front face of surface element
- rad_mid_back : int
RADM identification number for back face of surface element.
- gmid : int
Grid point identification number of a midside node if it is used with the line type surface element.
- ce : int; default=0
Coordinate system for defining orientation vector
- e1 / e2 / e3 : float; default=None
Components of the orientation vector in coordinate system CE. The origin of the orientation vector is grid point G1.
- comment : str; default=’‘
a comment for the card
-
Type
¶
-
_properties
= ['node_ids']¶
-
classmethod
add_card
(card, comment='')[source]¶ Adds a CHBDYP card from
BDF.add_card(...)
Parameters: - card : BDFCard()
a BDFCard object
- comment : str; default=’‘
a comment for the card
-
ce
= None¶ Coordinate system for defining orientation vector. (Integer > 0; Default = 0
-
cross_reference
(self, model)[source]¶ Cross links the card so referenced cards can be extracted directly
Parameters: - model : BDF()
the BDF object
-
e1
= None¶ Components of the orientation vector in coordinate system CE. The origin of the orientation vector is grid point G1. (Real or blank)
-
eid
= None¶ Surface element ID
-
g0
= None¶ Orientation grid point. (Integer > 0; Default = 0)
-
g1
= None¶ Grid point identification numbers of grids bounding the surface. (Integer > 0)
-
g2
= None¶ Grid point identification numbers of grids bounding the surface. (Integer > 0)
-
gmid
= None¶ Grid point identification number of a midside node if it is used with the line type surface element.
-
iview_back
= None¶ A VIEW entry identification number for the back face.
-
iview_front
= None¶ A VIEW entry identification number for the front face.
-
node_ids
¶
-
nodes
¶
-
pid
= None¶ PHBDY property entry identification numbers. (Integer > 0)
-
rad_mid_back
= None¶ RADM identification number for back face of surface element. (Integer > 0)
-
rad_mid_front
= None¶ RADM identification number for front face of surface element. (Integer > 0)
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
type
= 'CHBDYP'¶
-
class
pyNastran.bdf.cards.thermal.thermal.
CONV
(eid, pconid, ta, film_node=0, cntrlnd=0, comment='')[source]¶ Bases:
pyNastran.bdf.cards.thermal.thermal.ThermalBC
Specifies a free convection boundary condition for heat transfer analysis through connection to a surface element (CHBDYi entry).
Creates a CONV card
Parameters: - eid : int
element id
- pconid : int
Convection property ID
- mid : int
Material ID
- ta : List[int]
Ambient points used for convection 0’s are allowed for TA2 and higher
- film_node : int; default=0
Point for film convection fluid property temperature
- cntrlnd : int; default=0
Control point for free convection boundary condition
- comment : str; default=’‘
a comment for the card
-
classmethod
add_card
(card, comment='')[source]¶ Adds a CONV card from
BDF.add_card(...)
Parameters: - card : BDFCard()
a BDFCard object
- comment : str; default=’‘
a comment for the card
-
cntrlnd
= None¶ Control point for free convection boundary condition.
-
cross_reference
(self, model)[source]¶ Cross links the card so referenced cards can be extracted directly
Parameters: - model : BDF()
the BDF object
-
eid
= None¶ CHBDYG, CHBDYE, or CHBDYP surface element identification number. (Integer > 0)
-
film_node
= None¶ Point for film convection fluid property temperature
-
pconid
= None¶ Convection property identification number of a PCONV entry
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
type
= 'CONV'¶
-
class
pyNastran.bdf.cards.thermal.thermal.
CONVM
(eid, pconvm, ta1, film_node=0, cntmdot=0, ta2=None, mdot=1.0, comment='')[source]¶ Bases:
pyNastran.bdf.cards.thermal.thermal.ThermalBC
Specifies a forced convection boundary condition for heat transfer analysis through connection to a surface element (CHBDYi entry).
1 2 3 4 5 6 7 8 CONVM EID PCONID FLMND CNTMDOT TA1 TA2 Mdot CONVM 101 1 201 301 20 21 Creates a CONVM card
Parameters: - eid : int
element id (CHBDYP)
- pconid : int
property ID (PCONVM)
- mid : int
Material ID
- ta1 : int
ambient point for convection
- ta2 : int; default=None
None : ta1 ambient point for convection
- film_node : int; default=0
- cntmdot : int; default=0
control point used for controlling mass flow 0/blank is only allowed when mdot > 0
- mdot : float; default=1.0
a multiplier for the mass flow rate in case there is no point associated with the CNTRLND field required if cntmdot = 0
- comment : str; default=’‘
a comment for the card
-
_properties
= ['film_node_id', 'pconvm_id']¶
-
classmethod
add_card
(card, comment='')[source]¶ Adds a CONVM card from
BDF.add_card(...)
Parameters: - card : BDFCard()
a BDFCard object
- comment : str; default=’‘
a comment for the card
-
cross_reference
(self, model)[source]¶ Cross links the card so referenced cards can be extracted directly
Parameters: - model : BDF()
the BDF object
-
film_node_id
¶
-
pconvm_id
¶
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
type
= 'CONVM'¶
-
class
pyNastran.bdf.cards.thermal.thermal.
PCONV
(pconid, mid=None, form=0, expf=0.0, ftype=0, tid=None, chlen=None, gidin=None, ce=0, e1=None, e2=None, e3=None, comment='')[source]¶ Bases:
pyNastran.bdf.cards.thermal.thermal.ThermalProperty
Specifies the free convection boundary condition properties of a boundary condition surface element used for heat transfer analysis.
Format (MSC 2005.2)
1 2 3 4 5 6 7 8 9 PCONV PCONID MID FORM EXPF FTYPE TID CHLEN GIDIN CE E1 E2 E3 PCONV 38 21 2 54 2.0 235 0 1.0 0.0 0.0 Alternate format (MSC 2005.2):
1 2 3 4 5 6 7 8 9 PCONV PCONID MID FORM EXPF 3 H1 H2 H3 H4 H5 H6 H7 H8 PCONV 7 3 10.32 10.05 10.09 10.37 Todo
alternate format is not supported; NX not checked
Creates a PCONV card
Parameters: - pconid : int
Convection property ID
- mid : int
Material ID
- form : int; default=0
Type of formula used for free convection Must be {0, 1, 10, 11, 20, or 21}
- expf : float; default=0.0
Free convection exponent as implemented within the context of the particular form that is chosen
- ftype : int; default=0
Formula type for various configurations of free convection
- tid : int; default=None
Identification number of a TABLEHT entry that specifies the two variable tabular function of the free convection heat transfer coefficient
- chlen : float; default=None
Characteristic length
- gidin : int; default=None
Grid ID of the referenced inlet point
- ce : int; default=0
Coordinate system for defining orientation vector.
- e1 / e2 / e3 : List[float]; default=None
Components of the orientation vector in coordinate system CE. The origin of the orientation vector is grid point G1
- comment : str; default=’‘
a comment for the card
-
classmethod
add_card
(card, comment='')[source]¶ Adds a PCONV card from
BDF.add_card(...)
Parameters: - card : BDFCard()
a BDFCard object
- comment : str; default=’‘
a comment for the card
-
ce
= None¶ Coordinate system for defining orientation vector. (Integer > 0;Default = 0
-
chlen
= None¶ Characteristic length
-
e1
= None¶ Components of the orientation vector in coordinate system CE. The origin of the orientation vector is grid point G1. (Real or blank)
-
expf
= None¶ Free convection exponent as implemented within the context of the particular form that is chosen
-
form
= None¶ Type of formula used for free convection. (Integer 0, 1, 10, 11, 20, or 21)
-
ftype
= None¶ Formula type for various configurations of free convection
-
gidin
= None¶ Grid ID of the referenced inlet point
-
mid
= None¶ Material property identification number. (Integer > 0)
-
pconid
= None¶ Convection property identification number. (Integer > 0)
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
tid
= None¶ Identification number of a TABLEHT entry that specifies the two variable tabular function of the free convection heat transfer coefficient
-
type
= 'PCONV'¶
-
class
pyNastran.bdf.cards.thermal.thermal.
PCONVM
(pconid, mid, coeff, form=0, flag=0, expr=0.0, exppi=0.0, exppo=0.0, comment='')[source]¶ Bases:
pyNastran.bdf.cards.thermal.thermal.ThermalProperty
Specifies the free convection boundary condition properties of a boundary condition surface element used for heat transfer analysis.
1 2 3 4 5 6 7 8 9 PCONVM PCONID MID FORM FLAG COEF EXPR EXPPI EXPPO PCONVM 3 2 1 1 0.023 0.80 0.40 0.30 Creates a PCONVM card
Parameters: - pconid : int
Convection property ID
- mid: int
Material ID
- coeff: float
Constant coefficient used for forced convection
- form: int; default=0
Type of formula used for free convection Must be {0, 1, 10, 11, 20, or 21}
- flag: int; default=0
Flag for mass flow convection
- expr: float; default=0.0
Reynolds number convection exponent
- exppi: float; default=0.0
Prandtl number convection exponent for heat transfer into the working fluid
- exppo: float; default=0.0
Prandtl number convection exponent for heat transfer out of the working fluid
- comment : str; default=’‘
a comment for the card
-
classmethod
add_card
(card, comment='')[source]¶ Adds a PCONVM card from
BDF.add_card(...)
Parameters: - card : BDFCard()
a BDFCard object
- comment : str; default=’‘
a comment for the card
-
coef
= None¶ Constant coefficient used for forced convection
-
exppi
= None¶ Prandtl number convection exponent for heat transfer into the working fluid. (Real > 0.0; Default = 0.0)
-
exppo
= None¶ Prandtl number convection exponent for heat transfer out of the working fluid. (Real > 0.0; Default = 0.0)
-
expr
= None¶ Reynolds number convection exponent. (Real > 0.0; Default = 0.0)
-
flag
= None¶ Flag for mass flow convection. (Integer = 0 or 1; Default = 0)
-
form
= None¶ Type of formula used for free convection. (Integer 0, 1, 10, 11, 20, or 21)
-
mid
= None¶ Material property identification number. (Integer > 0)
-
pconid
= None¶ Convection property identification number. (Integer > 0)
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
type
= 'PCONVM'¶
-
class
pyNastran.bdf.cards.thermal.thermal.
PHBDY
(pid, af=None, d1=None, d2=None, comment='')[source]¶ Bases:
pyNastran.bdf.cards.thermal.thermal.ThermalProperty
A property entry referenced by CHBDYP entries to give auxiliary geometric information for boundary condition surface elements
1 2 3 4 5 PHBDY PID AF D1 D2 PHBDY 2 0.02 1.0 1.0 Creates a PHBDY card
Parameters: - eid : int
element id
- pid : int
property id
- af : int
Area factor of the surface used only for CHBDYP element Must be {POINT, LINE, TUBE, ELCYL} TUBE : constant thickness of hollow tube
- d1, d2 : float; default=None
Diameters associated with the surface Used with CHBDYP [ELCYL, TUBE, FTUBE] surface elements
- comment : str; default=’‘
a comment for the card
-
classmethod
add_card
(card, comment='')[source]¶ Adds a PHBDY card from
BDF.add_card(...)
Parameters: - card : BDFCard()
a BDFCard object
- comment : str; default=’‘
a comment for the card
-
af
= None¶ Area factor of the surface used only for CHBDYP element TYPE = ‘POINT’, TYPE = ‘LINE’, TYPE = ‘TUBE’, or TYPE = ‘ELCYL’. For TYPE = ‘TUBE’, AF is the constant thickness of the hollow tube. (Real > 0.0 or blank)
-
d1
= None¶ Diameters associated with the surface. Used with CHBDYP element TYPE=’ELCYL’,’TUBE’,’FTUBE’
-
pid
= None¶ Property identification number. (Unique Integer among all PHBDY entries). (Integer > 0)
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
type
= 'PHBDY'¶
-
class
pyNastran.bdf.cards.thermal.thermal.
TEMPBC
(sid, Type, nodes, temps, comment='')[source]¶ Bases:
pyNastran.bdf.cards.thermal.thermal.ThermalBC
-
_properties
= ['eid']¶
-
classmethod
add_card
(card, comment='')[source]¶ Adds a TEMPBC card from
BDF.add_card(...)
Parameters: - card : BDFCard()
a BDFCard object
- comment : str; default=’‘
a comment for the card
-
eid
¶
-
type
= 'TEMPBC'¶
-