material#

material is a list (starting at material ID=0). The number of list entries needs to be at least one more than the maximum material ID in the employed geometry. Example: a maximum material ID of 2 in the geometry requires a list with at least three entries, as those are addressed by ID=0, ID=1, and ID=2. Not every entry present in this list has to be referenced by the geometry.

Each list entry contains the specification of the employed homogenization referenced by its label and a list of constituents whose length matches N_constituents. Each constituent entry in turn contains the specification of the employed phase referenced by its label, the volume fraction v, and the crystallographic orientation O as a unit quaternion. Optionally, the initial eigenstrain can be specified via the keyword V_e.

It is recommended to use damask.ConfigMaterial.material_add() for the creation of material entries.

The basic layout is sketched in the following:

material:

 - homogenization: label_A
   constituents:
     - phase: label_1
       v: 1.0
       O: [1.0, 0.0, 0.0, 0.0]

 - homogenization: label_A
   constituents:
     - phase: label_1
       v: 0.4
       O: [0.0, 1.0, 0.0, 0.0]
     - phase: label_2
       v: 0.6
       O: [0.0, 0.0, 1.0, 0.0]
       V_e: [[0.01,  0.0  ,  0.0],
             [0.0 , -0.005,  0.0],
             [0.0 ,  0.0  , -0.005]]
 - ...