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
dummy init
-
classmethod
add_card
(card, comment='')[source]¶ Adds a PCOMPS card from
BDF.add_card(...)
- Parameters
- cardBDFCard()
a BDFCard object
- commentstr; default=’’
a comment for the card
-
property
material_ids
¶
-
repr_fields
()[source]¶ Gets the fields in their simplified form
- Returns
- fieldsList[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
Creates a PSOLID card
- Parameters
- pidint
property id
- midint
material id
- cordmint; default=0
material coordinate system
- integint; default=None
None-varies depending on element type 0, ‘BUBBLE’ 1, ‘GAUSS’ 2, ‘TWO’ 3, ‘THREE’ REDUCED FULL
- stressint/str; default=None
None/GRID, 1-GAUSS
- isopint/str; default=None
0-REDUCED 1-FULL
- fctnstr; default=’SMECH’
PFLUID/SMECH
- commentstr; default=’’
a comment for the card
-
repr_fields
()[source]¶ Gets the fields in their simplified form
- Returns
- fieldsList[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
- pidint
property id
- midint
material id
- stress_strainstr
Location of stress and strain output valid types = {GRID, GAUSS}
- gefloat; default=0.
damping coefficient
- commentstr; default=’’
a comment for the card
-
classmethod
add_card
(card, comment='')[source]¶ Adds a PLSOLID 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
-
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
- pidint
property id
- midint
material id
- cordmint; default=0
material coordinate system
- integint; default=None
None-varies depending on element type 0, ‘BUBBLE’ 1, ‘GAUSS’ 2, ‘TWO’ 3, ‘THREE’ REDUCED FULL
- stressint/str; default=None
None/GRID, 1-GAUSS
- isopint/str; default=None
0-REDUCED 1-FULL
- fctnstr; default=’SMECH’
PFLUID/SMECH
- commentstr; default=’’
a comment for the card
-
classmethod
add_card
(card, comment='')[source]¶ Adds a PSOLID card from
BDF.add_card(...)
- Parameters
- cardBDFCard()
a BDFCard object
- commentstr; 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
()[source]¶ Gets the fields in their simplified form
- Returns
- fieldsList[varies]
the fields that define the card
-
type
= 'PSOLID'¶