bugpyFormex - Bugs: bug #37116, Using fe_abq.writeBoundaries to...

 
 

bug #37116: Using fe_abq.writeBoundaries to specify boundary conditions in history data does not work

Submitted by:  Tran Phuong Toan <phuotran>
Submitted on:  Thu 16 Aug 2012 08:42:59 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Functionality errorStatus: Fixed
Privacy: PublicAssigned to: Tran Phuong Toan <phuotran>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 17 Aug 2012 11:33:00 AM UTC, comment #1:

Seems like a bug and a good fix. Thx for spotting it!
You can commit the changes

Sander De Bock <sdebock>
Project Member
Thu 16 Aug 2012 08:42:59 AM UTC, original submission:

To define boundary conditions in history data (inside a step) in an Abq input file, data lines must have the format : SET, FIRST DOF, LAST DOF, ABSOLUTE_VALUE. The docstring of fe_abq.writeBoundaries() describes a way to specify boundary conditions (associated with an amplitude) in this format. It requires the use of tuples. However,
- properties.nodeProp() doesn't accept list of tuples when checking the format of the parameter bound (line 207 in attached file)
- fe_abq.writeBoundaries() raises an error if BC are specified by a list of tuples.

To correct this,
- I redefined properties.nodeProp() to accept list of tuples (see attached file)
- I changed the end of fe_abq.writeBoundaries to

instead of

Are these bugs? Or do I use these functions in a wrong way?

Tran Phuong Toan <phuotran>
Project MemberIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #26369:  testAbq_RP.py added by phuotran (8KiB - text/x-python)
file #26370:  geom.pgf added by phuotran (901B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by sdebock (Posted a comment)
  • -unavailable- added by phuotran (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 17 Aug 2012 11:33:37 AM UTCsdebockStatusNone=>Fixed
      Assigned toNone=>phuotran
      Open/ClosedOpen=>Closed
    Thu 16 Aug 2012 08:42:59 AM UTCphuotranAttached File-=>Added testAbq_RP.py, #26369
      Attached File-=>Added geom.pgf, #26370

    Back to the top


    Powered by Savane 3.1-cleanup1