bugpyFormex - Bugs: bug #53930, Tet10 elements are drawn...

 
 

bug #53930: Tet10 elements are drawn incorrectly

Submitter:  - <_90458>
Submitted:  Thu 17 May 2018 01:01:19 PM UTC
   
 
Category:  Core Severity:  2 - Minor
Item Group:  Functionality error Status:  Fixed
Privacy:  Public Assigned to:  bverheg
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 17 May 2018 01:46:09 PM UTC, comment #1: 

You are right. The bug has been fixed in 4b2491a0.

Benedict Verhegghe <bverheg>
Group administrator
Thu 17 May 2018 01:01:19 PM UTC, original submission:  

One of the faces of the Tet10 element type is drawn incorrectly. The script in attachment draws a single Tet10 element and its node numbers. Notice how the face bordered by nodes [1, 2, 3, 7, 8, 9] is incorrect (also see screenshot in attachment).

I believe the error may be traced to line 527 of module 'elements.py'. Instead of:


    faces = ('tri3', np.array([(0, 2, 1, 5, 7, 4), (0, 1, 3, 4, 9, 6), (0, 3, 2, 6, 8, 5), (1, 2, 3, 2, 7, 8)])[:, [(0, 3, 5), (3, 1, 4), (4, 2, 5), (3, 4, 5)]].reshape(-1, 3)),


This should probably be:


    faces = ('tri3', np.array([(0, 2, 1, 5, 7, 4), (0, 1, 3, 4, 9, 6), (0, 3, 2, 6, 8, 5), (1, 2, 3, 7, 8, 9)])[:, [(0, 3, 5), (3, 1, 4), (4, 2, 5), (3, 4, 5)]].reshape(-1, 3)),


At least, locally, this appears to fix the reported issue, but I am unsure about other effects.

- <_90458>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #44172:  tet10_example.py added by _90458 (331B - text/x-python)
file #44173:  tet10_screenshot.png added by _90458 (36KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bverheg (Posted a comment)
  • -email is unavailable- added by _90458 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-10-30 bverheg Open/ClosedOpen Closed
    2018-05-17 bverheg StatusNone Fixed
    2018-05-17 _90458 Attached File- Added tet10_example.py, #44172
        Attached File- Added tet10_screenshot.png, #44173

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code