Post26 APDL Command
I am doing a 2D static structural analysis with 2 steps and 80 substeps. My main outcomes are the penetration results of a contact pair (from the Solution Contact Tool). I am doing a parametric study and for each design point I need to export a text file with the penetration results and the time value for all 80 substeps.
I thought the best way to do that would be a Post26 APLD command added under Solution but I can't get the command to work properly. The code I am using is the following:
dpFolder = '\dp'
dpLoc = STRPOS(_wb_SolverFiles_dir(1),dpFolder)
CutPath = STRSUB(_wb_SolverFiles_dir(1),dpLoc+3,6)
DirSepLoc = STRPOS(CutPath,'\')
dpNb = STRSUB(CutPath,1,DirSepLoc-1)
In the solver output, after the "esol" function I an getting the warning "No data points are saved during this storage step." Doesn't the results file store the contact tool solution too?
The other issue is that I need the penetration result for the whole edge of the contact pair not only one element or node. Is this feasible in an APDL command?
Thank you in advance for you help!