neperfepx / neper

Polycrystal generation and meshing
http://neper.info
GNU General Public License v3.0
199 stars 53 forks source link

Can neper plot the crystal orientation distribution? #249

Closed fzw9381 closed 3 years ago

fzw9381 commented 3 years ago

Can neper plot the crystal orientation distribution? I saw the distribution map of the crystal orientation on the official website. Is that one generated by neper?

CsatiZoltan commented 3 years ago

Yes, it can. If the orientations are given in your mesh file within the

$ElsetOrientations
...
$EndElsetOrientations

section, you can colour the element sets based on the crystal orientations by using

neper -V your_mesh.msh -dataelset3dcol ori -print output

Check Section 5.1.5 in the manual.

mkasemer commented 3 years ago

Perhaps @fzw9381 is referring to "orientation distributions", for example on pole figures (fiber distributions), rather than spatial distributions of orientations plotted on the FE mesh?

yguilhem commented 3 years ago

That might have been generated using mtex (matlab toolbox) or something similar.

rquey commented 3 years ago

Pole figures (and other orientation figures) are plotted using an in-house code. That in-house code generates top-quality figures in vectorial format (with Latex fonts). Something I can push to Neper in the mid term if there is interest.