My question is how to use TCL scripts to swap master-slave surface. Like the figure attached, I want to swap master-slave surface of those highlighted contact pairs.
I want to use Young's modulus to decide which surface should be master, and the other to be slave. Master surface should have higher Young's modulus.
So, how can I write this if statement and swap the master-slave surface?
My model is also uploaded, and I have created the contact pairs. But the contact pairs have'nt been swapped.
<?xml version="1.0" encoding="UTF-8"?>
Unable to find an attachment - read this blog