Creating Markers and a Deformable Surface

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

Hi,

 

i am trying to do rigid and flexible body contact. but getting error message, while creating Deformable surface through Macro - create Deformable surface from FEM as shown in picture.

 

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

can't read 'Num_Occ()': no such element in array
can't read 'Num_Occ()': no such element in array
    while executing
'if { $Num_Occ($NextRowPointer) == 1 } {
                            set MarkerNodeList([expr $NumMarkerRows + 1]) $NextRowPointer
                    ...'
    (procedure '::model::_private::Surface_Macro::CreateMarkers' line 264)
    invoked from within
'::model::_private::Surface_Macro::CreateMarkers'
    ('eval' body line 1)
    invoked from within
'# Compiled -- no source code available
error 'called a copy of a compiled script''
    (procedure '::hwt::ReleaseCanvasButton' line 1)
    invoked from within
'::hwt::ReleaseCanvasButton 0 .modelPanel.surfCreate.bottom.btnGenerate'
    (command bound to event)

 

Please give suggestions to eliminate this error.

 

 

Thanks,

Narasimhamurthy

 

Answers

  • Praful
    Praful
    Altair Employee
    edited December 2019

    Hello Narasimhamurthy - Could you please share the version of MotionView you are using and also share the fem file if possible ?

     

    regards

    Praful

     

  • narasimhamurthy
    narasimhamurthy Altair Community Member
    edited January 2020

    i am using 2019.1 version. 

     

    i do not have permission to share full model.

     

    please share case studies, which are related to Deformable surface.

  • Chris Coker_21312
    Chris Coker_21312 New Altair Community Member
    edited January 2020

    There are two tutorials in our Help that deal with deformable surfaces:

     

    MV-1028: Modeling Point-to-Deformable-Surface (PTdSF) Higher-Pair Constraint

    MV-1029: Modeling Point-to-Deformable-Surface Force (PTdSforce)

     

    If you search our help just for 'MV-1028' that should take you to the correct location.

     

    Chris Coker

     

  • PavolLukac
    PavolLukac Altair Community Member
    edited January 2020

    I have the same problem. 

     

    I was not able to import the FEM membrane when I created it in HyperMesh. (same error)

    I was only able to update the FEM membrane from the training model and used this. It's worked for a small model, but the biggest project coming. And I will need to solve this as soon as possible. 

     

    I have reviewed the help and I have found this information only:

     

    Important: This macro requires that the FEM model file have a constant number of nodes in each row

     

    But I don't understand the meaning of this limitation. Because I have created a rectangle shape as you can see below. And I was not able to import it via this macro.

    image.png.03c18f58fb1a9b18179fd91076853c97.png

     

    I suppose that there are other limitations for the FEM model to use it for this macro.

    Please let us know if you have any information which can help us. 

     

    Thank you. 

    Pavol