Failed to include URL https://damask2.mpie.de/pub/damask_docu/processing/pre/geom_canvas.txt Can't connect to damask2.mpie.de:443 (certificate verify failed)


parent_gray

Example

> geom_canvas --grid 16 12 16 --offset 0 -4 0 --fill 0 < micro.geom > micro_supported.geom

This example demonstrates the combination of cropping and the addition of a supporting layer to an existing geometry of eight (periodic) grains discretized by 16 x 16 x 8 voxels.

The original geometry (Figure 1 (a)) is taken from micro.geom. Resulting geometry (Figure 1 (b)) is output to micro_supported.geom.

Option --fill 0 assigns to the new volume an index one larger than the maximum index found in the original geom file. Here, the maximum grain count was 8, hence the new (red) volume is filled with index 9 = 8+1.

original
(a) Eight (periodic) grains discretized with 16 by 16 by 8 voxels

(b) Grain patch after cropping, offsetting, and addition of supporting layer (all in one step) now discretized with 16 by 12 by 16 voxels
Figure 1: Original grain patch and resulting patch changed in one step

This topic: Documentation > Processing > PreProcessing > GeomCanvas
Topic revision: 09 Dec 2021, FranzRoters
This site is powered by FoswikiCopyright by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding DAMASK? Send feedback
§ Imprint § Data Protection