Initializing contact stresses

The BLOCK INSITU command is used to initialize stresses in zones and contacts. Sometimes you may want to set zone stresses using FISH or by importing from a file. If you do this, the contact forces will not be initialized. Here is a function you can use to set the subcontact stresses based on the stresses of the surrounding zones.
compute_cx_stress.dat (2.9 KB)