bdf2dat module

Modules for converting BDF file to DAT file.

Revision: 1.0.0 $Date: 24/01/2023 13:58$

History

  1. 1.0.0 - Initial Class Creation

To Do:

  • So many

bdf2dat.count_ncards(model, card)[source]

Counter of cards

Parameters
  • model (object) – BDF file object of pyNastran

  • card (string) – name of cards

Returns

number of cards

Return type

ncards (int)

Documentation last updated: Jan. 24, 2023 - Shugo Date

bdf2dat.count_nspcs(model)[source]

Counter of spcs

Parameters

model (object) – BDF file object of pyNastran

Returns

number of spc cards

Return type

ncards (int)

Caution

Multiple SPCS can be defined at the same time. index arguments should be added.

Documentation last updated: Jan. 24, 2023 - Shugo Date

bdf2dat.count_nmpcs(model)[source]

Counter of mpcs

Parameters

model (object) – BDF file object of pyNastran

Returns

number of mpc cards

Return type

ncards (int)

Note

This function is under development. Anyone who use MPC should add this function.

Danger

Multiple MPCs can be defined at the same time. index arguments should be added.

Documentation last updated: Jan. 24, 2023 - Shugo Date

bdf2dat.main()[source]

convert BDF(Nastran etc.) to DAT(NLFEASTR)

Procedure
  1. read bulk data

  2. convert nodes

  3. convert elements

  4. convert materials

  5. convert properties

  6. convert spcs

  7. convert forces

  8. convert gravities

Parameters

None

Returns

None

Documentation last updated: Jan. 24, 2023 - Shugo Date