Jump to content

Creating Markers and a Deformable Surface

Recommended Posts



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.



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
    ("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.






Share this post

Link to post
Share on other sites

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


Share this post

Link to post
Share on other sites

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.



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. 


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...