How to get elements inside Database cross section plane

Tamilvanan
Tamilvanan Altair Community Member
edited October 2020 in Community Q&A

In dyna, I have a finite *DATABASE_CROSS_SECTION_PLANE. It is cutting some elements in the model. I would like get the elements cut by the cross section.

 

The cross section will have the following information.

1. Base node of cross section.

2. Plane vector

3. orientation vector

4. Size of the plane

<?xml version="1.0" encoding="UTF-8"?>Capture.PNG

Answers

  • llyle_20499
    llyle_20499 New Altair Community Member
    edited August 2019

    Hi, 

     

    *createmark elems 1 'on plane' 'x y z i j k tol plane touching'

     

    image.png.d8aa8e60dbaeaf5e9f5d64081f3d6946.png'

  • Tamilvanan
    Tamilvanan Altair Community Member
    edited August 2019

    This command will select all the entities cut by the specified plane normal. But I should be able to select elements only cut by the plane. 

  • llyle_20499
    llyle_20499 New Altair Community Member
    edited August 2019

    I was able to do it with this command.

     *createmark elems 1 'on plane' 0 6 0 0 1 0 1 1 1 hm_highlightmark elems 1 h

    <?xml version="1.0" encoding="UTF-8"?>image.thumb.png.dc7cfed843e9dd6c6fee3f646bd3b40e.png

  • Tamilvanan
    Tamilvanan Altair Community Member
    edited August 2019

    I think i have not explained the problem correctly. 

     

    In attached image, I would like to get only the elems cut by the cross section i.e only the red comp elements.

     

    I used the command provided, it is giving all the elems in the plane as highlighted in the image.

    <?xml version="1.0" encoding="UTF-8"?>Capture.PNG

  • llyle_20499
    llyle_20499 New Altair Community Member
    edited August 2019

    have you tried creating a mark by box? 

     

    *createmark elems 1 'by box' x0 y0 z0 x1 y1 z1 syst location contained all tol

  • Tamilvanan
    Tamilvanan Altair Community Member
    edited August 2019

    Thank you livil. its working 

     

  • tinh
    tinh Altair Community Member
    edited September 2019

    I think i have not explained the problem correctly. 

     

    In attached image, I would like to get only the elems cut by the cross section i.e only the red comp elements.

     

    I used the command provided, it is giving all the elems in the plane as highlighted in the image.

    <?xml version="1.0" encoding="UTF-8"?>Capture.PNG

     

     

    You can indicate selection on red comp only by

    *createmark elems 1 'on plane' .....

    *createmark elems 2 'by comp name' red_comp

    *markintersection elems 1 elems 2