solid
Module¶
- All solid properties are defined in this file. This includes:
- PCOMPS
- PLSOLID
- PSOLID
All solid properties are Property objects.
-
class
pyNastran.bdf.cards.properties.solid.
PCOMPS
(pid, global_ply_ids, mids, thicknesses, thetas, cordm=0, psdir=13, sb=None, nb=None, tref=0.0, ge=0.0, failure_theories=None, interlaminar_failure_theories=None, souts=None, comment='')[source]¶ Bases:
pyNastran.bdf.cards.base_card.Property
-
classmethod
add_card
(card, comment='')[source]¶ Adds a PCOMPS card from
BDF.add_card(...)
Parameters: - card : BDFCard()
a BDFCard object
- comment : str; default=’‘
a comment for the card
-
material_ids
¶
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
type
= 'PCOMPS'¶
-
classmethod
-
class
pyNastran.bdf.cards.properties.solid.
PIHEX
(pid, mid, cordm=0, integ=None, stress=None, isop=None, fctn='SMECH', comment='')[source]¶ Bases:
pyNastran.bdf.cards.properties.solid.PSOLID
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
type
= 'PIHEX'¶
-
-
class
pyNastran.bdf.cards.properties.solid.
PLSOLID
(pid, mid, stress_strain='GRID', ge=0.0, comment='')[source]¶ Bases:
pyNastran.bdf.cards.base_card.Property
Defines a fully nonlinear (i.e., large strain and large rotation) hyperelastic solid element.
1 2 3 4 PLSOLID PID MID STR PLSOLID 20 21 Creates a PLSOLID card
Parameters: - pid : int
property id
- mid : int
material id
- stress_strain : str
Location of stress and strain output valid types = {GRID, GAUSS}
- ge : float; default=0.
damping coefficient
- comment : str; default=’‘
a comment for the card
-
classmethod
add_card
(card, comment='')[source]¶ Adds a PLSOLID 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
-
mid
= None¶ Material ID
-
pid
= None¶ Property ID
-
stress_strain
= None¶ Location of stress and strain output
-
type
= 'PLSOLID'¶
-
class
pyNastran.bdf.cards.properties.solid.
PSOLID
(pid, mid, cordm=0, integ=None, stress=None, isop=None, fctn='SMECH', comment='')[source]¶ Bases:
pyNastran.bdf.cards.base_card.Property
1 2 3 4 5 6 7 8 PSOLID PID MID CORDM IN STRESS ISOP FCTN PSOLID 1 1 0 PSOLID 2 100 6 TWO GRID REDUCED Creates a PSOLID card
Parameters: - pid : int
property id
- mid : int
material id
- cordm : int; default=0
material coordinate system
- integ : int; default=None
None-varies depending on element type 0, ‘BUBBLE’ 1, ‘GAUSS’ 2, ‘TWO’ 3, ‘THREE’ REDUCED FULL
- stress : int/str; default=None
None/GRID, 1-GAUSS
- isop : int/str; default=None
0-REDUCED 1-FULL
- fctn : str; default=’SMECH’
PFLUID/SMECH
- comment : str; default=’‘
a comment for the card
-
classmethod
add_card
(card, comment='')[source]¶ Adds a PSOLID card from
BDF.add_card(...)
Parameters: - card : BDFCard()
a BDFCard object
- comment : str; default=’‘
a comment for the card
-
classmethod
export_to_hdf5
(h5_file, model, pids)[source]¶ exports the properties in a vectorized way
-
mid
= None¶ Material ID
-
pid
= None¶ Property ID
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
type
= 'PSOLID'¶