Scale a PRM file to apply corrective distortion
prm_scale is a command-line tool used to create a new PRM file from an existing one by applying a corrective scaling factor. This should be used when simulation results consistently over or under predict experimentally measured distortion. Usage:
prm scale a1 a2 r2
a1: Input PRM file name
a2: Output PRM file name
r2: Scaling factor
For example, assume through repeated prints and measurements it is found that the generic Ti-6Al-4V PRM file is 23% high due to using slightly different processing conditions than the processing parameter was generated with, using a pulsed laser system, etc. The file would be scaled thusly:
prm scale Ti-6Al-4V generic.prm Ti-6Al-4V-Scaled.prm 0.77