Slave surface create in HW2019 - Radioss profile

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

Dear all,

I am tryting to update a slave contact surface on HW2019.

This is part of a bigger routine, it works on older HW versions (untill 2017) but now it is not working anymore.

I can not understand why it doesn't work.

For HW2017 I wrote the following:

 

#procedure to create slave contact - nodes selected by a sfphere with R 0.200
proc slavecontatto {} {

# Update of a contact nodes by inserting all the ndes of the model in as slave
*startnotehistorystate {Modified gr_nod1  S of group}
*setvalue groups id=1 slaveentityids={nodes 0}
*endnotehistorystate {Modified gr_nod1  S of group}
*startnotehistorystate {Updated 'slaveentityids' of Groups}
*createmark groups 1
*clearmark groups 1
*createmark groups 1 'Striker'
*clearmark groups 1
*createmark groups 1
*clearmark groups 1
*createmark groups 1 'Striker'
*clearmark groups 1
*endnotehistorystate {Updated 'slaveentityids' of Groups}
    *interfacedefinition 'Striker' 0 'elem'
    *createmark nodes 1 'by sphere' 0.200 $yp2 0 0.200 inside 0 0 0
    *interfaceadd 'Striker' 0 nodes 1 0
    *clearmark nodes 1
}

 

Thanks a lot for your help.

 

Fabio

 

 

Tagged: