axisymmetric Module

Inheritance diagram of pyNastran.bdf.cards.axisymmetric.axisymmetric
All axisymmetric shell elements are defined in this file. This includes:
  • AXIC
  • AXIF
  • CCONEAX
  • PCONEAX
  • POINTAX
  • RINGFL
  • RINGAX
  • PRESAX
class pyNastran.bdf.cards.axisymmetric.axisymmetric.AXIC(nharmonics, comment='')[source]

Bases: pyNastran.bdf.cards.base_card.BaseCard

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

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

Parameters:
card : BDFCard()

a BDFCard object

comment : str; default=’‘

a comment for the card

raw_fields(self)[source]
type = 'AXIC'
write_card(self, size=8, is_double=False)[source]

Writes the card with the specified width and precision

Parameters:
size : int (default=8)

size of the field; {8, 16}

is_double : bool (default=False)

is this card double precision

Returns:
msg : str

the string representation of the card

class pyNastran.bdf.cards.axisymmetric.axisymmetric.AXIF(cid, g, drho, db, no_sym, f, n, comment='')[source]

Bases: pyNastran.bdf.cards.base_card.BaseCard

AXIF CID G DRHO DB NOSYM F
N1 N2 N3 N4 N5 etc.
cid : int
Fluid coordinate system identification number. (Integer > 0)
G : float
Value of gravity for fluid elements in the axial direction. (Real)
drho : float
Default mass density for fluid elements. (Real > 0.0 or blank)
db : float
Default bulk modulus for fluid elements.
no_sym : str
Request for nonsymmetric (sine) terms of series. {YES, NO}
F : str; default=None
Flag specifying harmonics. (Blank if harmonic is specified, or Character: ‘NONE’)
Ni : List[int]
Harmonic numbers for the solution, represented by an increasing sequence of integers. On continuation entries, without the ‘THRU’ option, blank fields are ignored. ‘THRU’ implies all numbers including upper and lower harmonics. (0 < Integer < 100, or Character: ‘THRU’, ‘STEP’ or blank)
classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

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

Parameters:
card : BDFCard()

a BDFCard object

comment : str; default=’‘

a comment for the card

raw_fields(self)[source]
type = 'AXIF'
write_card(self, size=8, is_double=False)[source]

Writes the card with the specified width and precision

Parameters:
size : int (default=8)

size of the field; {8, 16}

is_double : bool (default=False)

is this card double precision

Returns:
msg : str

the string representation of the card

class pyNastran.bdf.cards.axisymmetric.axisymmetric.CCONEAX(eid, pid, rings, comment='')[source]

Bases: pyNastran.bdf.cards.base_card.Element

1 2 3 4 5
CCONEAX EID PID N1 N2

Creates a CCONEAX card

Parameters:
eid : int

element id

pid : int

property id (PCONEAX)

nids : List[int, int]

node ids

comment : str; default=’‘

a comment for the card

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

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

Parameters:
card : BDFCard()

a BDFCard object

comment : str; default=’‘

a comment for the card

cross_reference(self, model)[source]
node_ids
nodes
raw_fields(self)[source]
repr_fields(self)[source]

Gets the fields in their simplified form

Returns:
fields : List[varies]

the fields that define the card

ring_ids
safe_cross_reference(self, model, xref_errors)[source]
type = 'CCONEAX'
uncross_reference(self)[source]

Removes cross-reference links

write_card(self, size=8, is_double=False)[source]

Writes the card with the specified width and precision

Parameters:
size : int (default=8)

size of the field; {8, 16}

is_double : bool (default=False)

is this card double precision

Returns:
msg : str

the string representation of the card

class pyNastran.bdf.cards.axisymmetric.axisymmetric.PCONEAX(pid, mid1, t1=None, mid2=0, i=None, mid3=None, t2=None, nsm=0.0, z1=None, z2=None, phi=None, comment='')[source]

Bases: pyNastran.bdf.cards.base_card.Property

1 2 3 4 5 6 7 8 9
PCONEAX ID MID1 T1 MID2 I MID3 T2 NSM
  Z1 Z2 PHIl PHI2 PHI3 PHI4 PHI5 PHI6
  PHI7 PHI8 PHI9 PHI10 PHI11 PHI12 PHI13 PHI14
PCONEAX 2 4 1.0 6 16.3 8 2.1 0.5
  0.001 -0.002 23.6 42.9        

Creates a PCONEAX

Parameters:
pid : int

PCONEAX property id for a CCONEAX.

mid1 : int

Membrane material id

mid2 : int

bending material id

mid3 : int

transverse shear material id

t1 : float

Membrane thickness. (Real > 0.0 if MID1 = 0)

t2 : float

Transverse shear thickness. (Real > 0.0 if MID3 = 0)

I : float

Moment of inertia per unit width.

nsm : float

Nonstructural mass per unit area.

z1, z2 : float

Fiber distances from the middle surface for stress recovery.

phi : List[float]

Azimuthal coordinates (in degrees) for stress recovery.

comment : str; default=’‘

a comment for the card

Mid1(self)[source]
Mid2(self)[source]
Mid3(self)[source]
Mids(self)[source]
classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

Adds a PCONEAX 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_ref
raw_fields(self)[source]
repr_fields(self)[source]

Gets the fields in their simplified form

Returns:
fields : List[varies]

the fields that define the card

type = 'PCONEAX'
uncross_reference(self)[source]

Removes cross-reference links

write_card(self, size=8, is_double=False)[source]

Writes the card with the specified width and precision

Parameters:
size : int (default=8)

size of the field; {8, 16}

is_double : bool (default=False)

is this card double precision

Returns:
msg : str

the string representation of the card

class pyNastran.bdf.cards.axisymmetric.axisymmetric.POINTAX(nid, ringax, phi, comment='')[source]

Bases: pyNastran.bdf.cards.base_card.BaseCard

1 2 3 4
POINTAX ID RID PHI
POINTAX 2 3 30.0

Creates a POINTAX card

Parameters:
nid : int

Point identification number.

ringax : int

Identification number of a RINGAX entry.

phi : float

Azimuthal angle in degrees.

comment : str; default=’‘

a comment for the card

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

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

Parameters:
card : BDFCard()

a BDFCard object

comment : str; default=’‘

a comment for the card

raw_fields(self)[source]
type = 'POINTAX'
write_card(self, size=8, is_double=False)[source]

Writes the card with the specified width and precision

Parameters:
size : int (default=8)

size of the field; {8, 16}

is_double : bool (default=False)

is this card double precision

Returns:
msg : str

the string representation of the card

class pyNastran.bdf.cards.axisymmetric.axisymmetric.PRESAX(sid, pressure, rid1, rid2, phi1=0.0, phi2=360.0, comment='')[source]

Bases: pyNastran.bdf.cards.base_card.BaseCard

1 2 3 4 5 6 7
PRESAX SID P RID1 RID2 PHI1 PHI2
PRESAX 3 7.92 4 3 20.6 31.4
PRESAX 300 .1 2 1 -90. +90.
classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

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

Parameters:
card : BDFCard()

a BDFCard object

comment : str; default=’‘

a comment for the card

cross_reference(self, model)[source]
raw_fields(self)[source]
type = 'PRESAX'
write_card(self, size=8, is_double=False)[source]

Writes the card with the specified width and precision

Parameters:
size : int (default=8)

size of the field; {8, 16}

is_double : bool (default=False)

is this card double precision

Returns:
msg : str

the string representation of the card

class pyNastran.bdf.cards.axisymmetric.axisymmetric.RINGAX(nid, R, z, ps=None, comment='')[source]

Bases: pyNastran.bdf.cards.base_card.BaseCard

Defines a ring for conical shell problems.

1 2 3 4 5 6 7 8
RINGAX MID   R Z     PS

Creates the RINGAX card

R = None

Radius

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

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

Parameters:
card : BDFCard()

a BDFCard object

comment : str; default=’‘

a comment for the card

nid = None

Node ID

ps = None

local SPC constraint

raw_fields(self)[source]

Gets the fields in their unmodified form

Returns:
fields : List[varies]

the fields that define the card

type = 'RINGAX'
write_card(self, size=8, is_double=False)[source]

The writer method used by BDF.write_card()

Parameters:
size : int; default=8

the size of the card (8/16)

class pyNastran.bdf.cards.axisymmetric.axisymmetric.RINGFL(ringfl, xa, xb, comment='')[source]

Bases: pyNastran.bdf.cards.base_card.BaseCard

Creates the RINGFL card

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

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

Parameters:
card : BDFCard()

a BDFCard object

comment : str; default=’‘

a comment for the card

raw_fields(self)[source]

Gets the fields in their unmodified form

Returns:
fields : List[varies]

the fields that define the card

type = 'RINGFL'
write_card(self, size=8, is_double=False)[source]

The writer method used by BDF.write_card()

Parameters:
size : int; default=8

the size of the card (8/16)

class pyNastran.bdf.cards.axisymmetric.axisymmetric.TEMPAX(sid, ring, phi, temperature, comment='')[source]

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

Defines temperature sets for conical shell problems.

1 2 3 4 5 6 7 8 9
TEMPAX SID RID1 PHI1 T1 SID RID2 PHI2 T2
TEMPAX 4 7 30.0 105.3        

Creates a TEMPAX card

Parameters:
sid : int

Load set identification number

temperatures : dict[nid]
nid : int

node id

temperature : float

the nodal temperature

comment : str; default=’‘

a comment for the card

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

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

Parameters:
card : BDFCard()

a BDFCard object

icard : int; default=0

???

comment : str; default=’‘

a comment for the card

cross_reference(self, model)[source]
get_loads(self)[source]
raw_fields(self)[source]

Writes the TEMPAX card

repr_fields(self)[source]

Writes the TEMP card

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

Load set identification number. (Integer > 0)

type = 'TEMPAX'
uncross_reference(self)[source]

Removes cross-reference links

write_card(self, size=8, is_double=False)[source]

Writes the card with the specified width and precision

Parameters:
size : int (default=8)

size of the field; {8, 16}

is_double : bool (default=False)

is this card double precision

Returns:
msg : str

the string representation of the card