From be355c8f40e7dfa574eeb765215ee798060d385c Mon Sep 17 00:00:00 2001 From: Taymor El Achkar Date: Thu, 24 May 2012 16:00:32 +0000 Subject: [PATCH] updated reference result for compile test added dislotwin law to hex elastic test and drastically increased loading time. still the question why Young's modulo is increasing. added possibility to add crystallite microstructure in material.py --- lib/damask/config/material.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/damask/config/material.py b/lib/damask/config/material.py index 3a91cb0cb..f59720fc5 100644 --- a/lib/damask/config/material.py +++ b/lib/damask/config/material.py @@ -220,14 +220,15 @@ class Material(): microstructure = Microstructure() - for property in ['phase','texture','fraction']: + for property in ['phase','texture','fraction','crystallite']: if type(components[property]) is not list: components[property] = [components[property]] - for (phase,texture,fraction) in zip(components['phase'],components['texture'],components['fraction']): - microstructure.add_multiKey('constituent','phase %i\ttexture %i\tfraction %g'%( + for (phase,texture,fraction,crystallite) in zip(components['phase'],components['texture'],components['fraction'],components['crystallite']): + microstructure.add_multiKey('constituent','phase %i\ttexture %i\tfraction %g\ncrystallite %i'%( self.data['phase']['__order__'].index(phase)+1, self.data['texture']['__order__'].index(texture)+1, - fraction)) + fraction, + self.data['crystallite']['__order__'].index(crystallite)+1)) self.add_section('microstructure',section,microstructure)