umvarma / pynastran

Automatically exported from code.google.com/p/pynastran
1 stars 0 forks source link

bdf.bdf.readBDF and/or writeBDF drop fields in PBUSH and CBUSH cards #113

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
using pyNastran 0.5 (r981) on Python 2.7.3 (Windows 7)

reading the attached deck example_in.dat using bdf.bdf.BDF.readBDF and then 
writing it out using writeBDF drops fields in PBUSH and CBUSH cards.

Running the attached pbush_cbush_error_example.py produces an output deck 
example.out.dat that should contain the exact same cards as example_in.dat, but 
some fields in the PBUSH and CBUSH cards are missing:

code produces:

PBUSH         10       K    1.+9    1.+9    1.+9    500.      1.

which should be:

PBUSH         10       K    1.+9    1.+9    1.+9    500.      1.    500.     

and code produces:

CBUSH          1      10       1       2
              .5      -1

which should be:

CBUSH          1      10       1       2                               0

Original issue reported on code.google.com by jeffrey....@gmail.com on 15 Oct 2012 at 7:20

Attachments:

GoogleCodeExporter commented 9 years ago
There was an error with the cid field (the default is not 0 for the CBUSH)

This should be fixed now.  Please test it and then I'll close it.

Original comment by mesheb82 on 16 Oct 2012 at 8:59

GoogleCodeExporter commented 9 years ago

Original comment by mesheb82 on 23 Oct 2012 at 11:54

GoogleCodeExporter commented 9 years ago
closing b/c inaction

Original comment by mesheb82 on 23 Oct 2012 at 11:54