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

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
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

raw_fields()[source]
type = 'AXIC'
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.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.

cidint

Fluid coordinate system identification number. (Integer > 0)

Gfloat

Value of gravity for fluid elements in the axial direction. (Real)

drhofloat

Default mass density for fluid elements. (Real > 0.0 or blank)

dbfloat

Default bulk modulus for fluid elements.

no_symstr

Request for nonsymmetric (sine) terms of series. {YES, NO}

Fstr; default=None

Flag specifying harmonics. (Blank if harmonic is specified, or Character: ‘NONE’)

NiList[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
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

raw_fields()[source]
type = 'AXIF'
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.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
eidint

element id

pidint

property id (PCONEAX)

nidsList[int, int]

node ids

commentstr; 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
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

cross_reference(model: BDF) → None[source]
property node_ids
property nodes
raw_fields()[source]
repr_fields()[source]

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

property ring_ids
safe_cross_reference(model: BDF, xref_errors)[source]
type = 'CCONEAX'
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.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
pidint

PCONEAX property id for a CCONEAX.

mid1int

Membrane material id

mid2int

bending material id

mid3int

transverse shear material id

t1float

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

t2float

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

Ifloat

Moment of inertia per unit width.

nsmfloat

Nonstructural mass per unit area.

z1, z2float

Fiber distances from the middle surface for stress recovery.

phiList[float]

Azimuthal coordinates (in degrees) for stress recovery.

commentstr; default=’’

a comment for the card

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

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

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

type = 'PCONEAX'
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.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
nidint

Point identification number.

ringaxint

Identification number of a RINGAX entry.

phifloat

Azimuthal angle in degrees.

commentstr; 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
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

raw_fields()[source]
type = 'POINTAX'
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.axisymmetric.axisymmetric.RINGAX(nid: int, R: float, z: float, ps: Optional[str] = None, comment: str = '')[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
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

nid = None

Node ID

ps = None

local SPC constraint

raw_fields()[source]

Gets the fields in their unmodified form

Returns
fieldsList[varies]

the fields that define the card

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

The writer method used by BDF.write_card()

Parameters
sizeint; default=8

the size of the card (8/16)

class pyNastran.bdf.cards.axisymmetric.axisymmetric.RINGFL(ringfl: int, xa: float, xb: float, comment: str = '')[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
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

raw_fields()[source]

Gets the fields in their unmodified form

Returns
fieldsList[varies]

the fields that define the card

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

The writer method used by BDF.write_card()

Parameters
sizeint; default=8

the size of the card (8/16)