kun-Jiang / EBSD2AbaqusGeo

Abaqus script for generating Abaqus geometry model from EBSD data
MIT License
3 stars 2 forks source link

.geo file from MTEX2Gmsh #1

Open vvvvgit opened 8 months ago

vvvvgit commented 8 months ago

Hello, thanks for sharing. How do you get .geo file from MTEX2Gmsh? It seems MTEX2Gmsh is usually used to create mesh?

kun-Jiang commented 8 months ago

After you get the information of grains by the command

[grains,ebsd.grainId] = calcGrains(ebsd,'angle',5*degree);

Then you can get their geometry information and write them into .geo file by using

G=gmshGeo(grains); savegeo(G,'grains.geo');