**process GB_distance#
Description#
This post-processing calculates, for each Gauss point within a grain, the distance to the nearest grain boundary and, optionally, to the free surface. These distances are output along with selected additional variables if specified.
Syntax#
**process GB_distance
\(~\,\) *file file-name
\(~\,\) *elset elset-name
[ *free_surface_plane free-surf-normal free-surf-offset ]
[ *free_surface_nset free-surf-nset-name ]
[ *list_var list-var ]
[ *output_coord ]
[ *precision precision ]
[ *optimizer ]
[ *store ]
*filefile-namename of the output file
*elsetelset-namename of the elset defining the grain
*free_surface_plane- free-surf-normal
vector defining the free surface normal
- free-surf-offset
distance from the origin to the free surface plane
*free_surface_nsetfree-surf-nset-namename of the nset defining the free surface
*list_varlist-varlist of desired output variables
*output_coordoutput also the XYZ coordinates of the Gauss points
*precisionprecisionnumber of significant digits in the output file. By default 6.
*optimizerdo not print the header in the output file
*storestore the distances in the post-processor result file
Example#
****post_processing
***global_post_processing
**file integ
**process GB_distance
****return