Plot Taylor Factor

175 views
Skip to first unread message

pab...@gmail.com

unread,
Dec 4, 2018, 3:12:50 AM12/4/18
to MTEX
Hi. How can I plot Taylor factor? I use these commands for Taylor factor calculation:
>> q = 0.5;
>> epsilon = strainTensor(diag([1 -q -(1-q)]))
>> ori= odf.calcOrientations(10000)
 
>> [M,b,mori] = calcTaylor(inv(ori)*epsilon,sS.symmetrise);

Ralf Hielscher

unread,
Dec 4, 2018, 3:15:47 AM12/4/18
to mtex...@googlegroups.com
I guess you want to plot the Taylor factor in dependency of orientation. But how?

As a function of the three Euler angles in a 3d plot? 
In phi2 section? 

Ralf.




********************************************************************
Ralf Hielscher                   Tel: +371-531-38556
Fakultät für Mathematik               +371-531-22200 (Sekr.)
Technische Universität Chemnitz  Fax: +371-531-22109
Reichenhainer Str. 39            E-mail: ralf.hi...@mathematik.tu-chemnitz.de
D-09126 Chemnitz                 http://www.tu-chemnitz.de/~rahi
********************************************************************


--
If you want to reduce the number of emails you get through this forum login to https://groups.google.com/forum/?fromgroups=#!forum/mtexmail, click "My membership" and select "Don't send me email updates". You can still get emails on selected topics by staring them.
---
You received this message because you are subscribed to the Google Groups "MTEX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mtexmail+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/mtexmail.
For more options, visit https://groups.google.com/d/optout.

ali hosseinabadi

unread,
Dec 4, 2018, 3:19:55 AM12/4/18
to mtex...@googlegroups.com
yes of course

Paul black

unread,
Dec 4, 2018, 3:22:06 AM12/4/18
to mtex...@googlegroups.com
absolutely yes

Ralf Hielscher

unread,
Dec 4, 2018, 3:28:21 AM12/4/18
to mtex...@googlegroups.com

Ralf.

********************************************************************
Ralf Hielscher                   Tel: +371-531-38556
Fakultät für Mathematik               +371-531-22200 (Sekr.)
Technische Universität Chemnitz  Fax: +371-531-22109
Reichenhainer Str. 39            E-mail: ralf.hi...@mathematik.tu-chemnitz.de
D-09126 Chemnitz                 http://www.tu-chemnitz.de/~rahi
********************************************************************

Paul black

unread,
Dec 4, 2018, 3:50:41 AM12/4/18
to mtex...@googlegroups.com
yes, I've seen that but I have a problem with this. it doesn't work for me. I change my pole fig data but every time it plots the same figs.

Ralf Hielscher

unread,
Dec 4, 2018, 7:12:19 AM12/4/18
to mtex...@googlegroups.com
Hi Paul,

please explain a bit more in detail what you want to do. According to what I guessed you wanted to plot the Taylor factor as a function of the orientation, e.g. in phi2 section. How this is explained in section "The orientation dependence of the Taylor factor" in the link I posted above. 

* If this does not work for you then their is probably an error message. Please post it.
* If this is not what you wanted to plot - try to explain your problem in more detail.

Ralf.







********************************************************************
Ralf Hielscher                   Tel: +371-531-38556
Fakultät für Mathematik               +371-531-22200 (Sekr.)
Technische Universität Chemnitz  Fax: +371-531-22109
Reichenhainer Str. 39            E-mail: ralf.hi...@mathematik.tu-chemnitz.de
D-09126 Chemnitz                 http://www.tu-chemnitz.de/~rahi
********************************************************************

Paul black

unread,
Dec 4, 2018, 11:06:39 AM12/4/18
to mtex...@googlegroups.com
Dear Ralf,
Actually, I use "The orientation dependence of the Taylor factor" and it plots a Taylor factor that I attach it here. when I use this for another sample, it plots the same Taylor factor again without any changes. one Taylor factor for two different samples.!! 
taylor 1.jpg

ruediger Kilian

unread,
Dec 4, 2018, 11:16:07 AM12/4/18
to mtex...@googlegroups.com
Hi Paul,
it might be helpful to attach the exact code you use.
Cheers,
Rüdiger



Paul black

unread,
Dec 4, 2018, 12:15:28 PM12/4/18
to mtex...@googlegroups.com

Pole Figure

>> pf;

>> pf(pf.intensities<0)=0;

>> pf_back = correct(pf,'background');

>> pf_def = correct(pf_back,'def');

>> pf_norm = normalize(pf_def);

>> plot(pf_norm,'contourf')

>> CLim(gcm,'equal');

 

ODF

>> odf = calcODF(pf_norm);

>> plotSection(odf,'phi1','sections',9,'silent')

 

Slip systems of hcp

sSBasal = slipSystem.basal(CS);
sSBasalSym = sSBasal.symmetrise('antipodal')
 
sSPrismatic = slipSystem.prismaticA(CS)
sSPrismaticSym = sSPrismatic.symmetrise('antipodal')
 
sSPyramidal = slipSystem.pyramidalCA(CS)
sSPyramidalSym = sSPyramidal.symmetrise('antipodal')
 
sSPyramidal2 = slipSystem.pyramidal2CA(CS)
sSPyramidal2Sym = sSPyramidal2.symmetrise('antipodal')
 
sS= [sSBasalSym; sSPrismaticSym; sSPyramidalSym; sSPyramidal2Sym]

 

Taylor factor calculation (compression) 

>> q = 0.5;
>> epsilon = strainTensor(diag([1 -q -(1-q)]))
>> ori= odf.calcOrientations(10000)
 
>> sP = phi1Sections(CS,specimenSymmetry('mmm'));
>> sP.phi1 = (0:10:90)*degree;
 
>> oriGrid = sP.makeGrid('resolution',2.5*degree);
>> oriGrid.SS = specimenSymmetry;
 
tic
[M,~,mori] = calcTaylor(inv(oriGrid)*epsilon,sS.symmetrise);
toc
sP.plot(M,'smooth')

 

sP.plot(M,'smooth')

 

mtexColorbar

 

 

 


ruediger Kilian

unread,
Dec 4, 2018, 12:36:38 PM12/4/18
to mtex...@googlegroups.com
Hi Paul,
I believe you must have something else wrong, using two different input pf gives two different results.
Are you sure the input you are using is distinct?
Cheers,
Rüdiger

Paul black

unread,
Dec 4, 2018, 12:42:55 PM12/4/18
to mtex...@googlegroups.com
yes, I'm sure. could you please check this code that I use? 

ruediger Kilian

unread,
Dec 4, 2018, 1:07:15 PM12/4/18
to mtex...@googlegroups.com
That's what I did. Your polefigures and sections look different?
Cheers,
Rüdiger


Paul black

unread,
Dec 5, 2018, 12:24:35 AM12/5/18
to mtex...@googlegroups.com
Yes. They look different but Taylor factor is the same. 

Ralf Hielscher

unread,
Dec 5, 2018, 12:56:25 AM12/5/18
to mtex...@googlegroups.com
Hi Paul,

I think there is an understanding problem. You need to distinguish two things:

1. For each orientation you have a certain Taylor factor. This dependency can be visualized - as you did in your code. This dependency has nothing to do with the texture of you specimen. It is a purely geometrical model about how certain orientation deform under strain. Hence, your pole figures have now influence on the result. If you look through your code you will observe that the simulated orientations ori are not used anywhere.

2. You might be interested in the Taylor factor of the whole specimen. This value depends on the actual texture and  hence on the pole figures. But this is only a single number - so plotting makes sense here.

You see how important it is to explain clearly what you want to do. Because otherwise we are guessing all the time, which is not very efficient. 

Ralf.




********************************************************************
Ralf Hielscher                   Tel: +371-531-38556
Fakultät für Mathematik               +371-531-22200 (Sekr.)
Technische Universität Chemnitz  Fax: +371-531-22109
Reichenhainer Str. 39            E-mail: ralf.hi...@mathematik.tu-chemnitz.de
D-09126 Chemnitz                 http://www.tu-chemnitz.de/~rahi
********************************************************************

Reply all
Reply to author
Forward
0 new messages