3.5. Spectral solver geometry file format


Purpose

The geometry file describes a (periodic) volume element on a regular grid.


parent_gray

Content

A geometry description file contains [optional] information on the
  • number of grid points in each direction
  • physical size of the box
  • homogenization index to be used
  • [coordinate origin of the box]
  • [maximum microstructure index],
  • [arbitrary comments], and
  • a list of microstructure indices ordered with x as fastest and z as slowest varying coordinate.
Indices of homogenization and microstructure refer, respectively, to sections within the <homogenization> and <microstructure> part of the material configuration file.

The number of microstructure indices per line is arbitrary (but the total line length should not exceed 8192 characters). In the examples below it corresponds to the number of grid points along the x direction to give a visual clue of the underlying microstructure.


parent_gray

File compression

  • A continuous sequence from N to M can be abbreviated as »N to M«, e.g. »11 to 444« instead of »11 12 13 ... 443 444«.
  • N multiples of the same number x can be shortened as »N of x«, e.g., »5 of 4« instead of »4 4 4 4 4«.
  • Only a single packing statement is valid per line:
       8 of 3
       1 2 2 1 3 3 4 4
       4 to 11 


parent_gray

Examples

Minimalistic

A minimalistic example as shown in Figure 1 featuring eight regularly shaped grains in a cubic volume with
  • 4 x 4 x 4 grid points
  • size of 1 x 1 x 1
  • using the first homogenization available in material.config
would read:

volume element with eight 2x2x2 voxel grains
Figure 1: Volume element containing eight grains of 2 x 2 x 2 voxels each. Darkest blue (not visible) to darkest red span range between microstructure indices 1 to 8.
3   header       # subsequent header lines
grid     a 4    b 4    c 4
size     x 1   y 1   z 1
homogenization   1
1 1 2 2
1 1 2 2
3 3 4 4
3 3 4 4
1 1 2 2
1 1 2 2
3 3 4 4
3 3 4 4
5 5 6 6
5 5 6 6
7 7 8 8
7 7 8 8
5 5 6 6
5 5 6 6
7 7 8 8
7 7 8 8

Full-fledged

A more complex example with irregularly shaped grains in a hexahedral volume element with
  • 22 grains numbered from 1 to 22
  • 16 x 32 x 8 grid points
  • size of 0.1 x 0.2 x 0.05, i.e., same grid point distance in all three spatial directions
  • origin at coordinates (1.0, 0.0, -0.5) and
  • using the second homogenization available in material.config
would read:
7   header       # number of subsequent header lines
grid     a 16    b 32    c 8
origin   x 1.0   y 0.0   z -0.5
size     x 0.1   y 0.2   z 0.05
this is just a comment ;) It shouldn't start with a valid keyword---so be safe and start with #...
# like here!
microstructures 22
homogenization   2
 12  12   8   8   8  14  11  11  11  11   7   7   2   2   2   2
 12  12  12   8   8  14  11  11  11   3   7   7   7   2   2   2
...

Topic revision: r13 - 01 Apr 2015, MartinDiehl


  • News
14 Sep 2020
CMCn2020 & DAMASK user meeting to be hosted at Max-Planck-Institut für Eisenforschung (cancelled)
22 Aug 2020
Release of first preview version of DAMASK 3
19 Feb 2020
DAMASK made it to the Advanved Engineering Materials Hall of Fame
26 Mar 2019
DREAM.3D 6.5.119
(released 2019/03/22) comes with a DAMASK export filter
25 Mar 2019
Release of version v2.0.3
21 Jan 2019
DAMASK overview paper finally published with full citation information available
01 Dec 2018
DAMASK overview paper now online
17 Sep 2018
CMCn2018 & DAMASK user meeting to be hosted at Max-Planck-Institut für Eisenforschung
22 May 2018
Release of version v2.0.2
01 Sep 2016
CMCn2016 & DAMASK user meeting to be hosted at Max-Planck-Institut für Eisenforschung
25 Jul 2016
Release of version v2.0.1
08 Mar 2016
Release of version v2.0.0
22 Feb 2016
New webserver up and running
09 Feb 2016
Migrated code repository from Subversion to GitLab
17 Dec 2014
Release of revision 3813
14 May 2014
Release of revision 3108
02 Apr 2014
Release of revision 3062
16 Oct 2013
Release of revision 2689
15 Jul 2013
Release of revision 2555
15 Feb 2013
Release of revision 2174
13 Feb 2013
Doxygen documentation
16 Dec 2012
Powered by MathJax rendering
23 Nov 2012
Release of revision 1955
15 Nov 2012
Release of revision 1924
01 Nov 2012
Updated sidebar
30 Oct 2012
Significant website updates and content extensions


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