Skip to content

Commit

Permalink
Updated and added jupyter notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
AHartmaier committed Feb 11, 2024
1 parent b9946d8 commit 73cd2d6
Show file tree
Hide file tree
Showing 8 changed files with 26,158 additions and 292 deletions.
8,094 changes: 8,094 additions & 0 deletions docs/dispersed_phase.html

Large diffs are not rendered by default.

8,485 changes: 8,485 additions & 0 deletions docs/ebsd2rve.html

Large diffs are not rendered by default.

8,330 changes: 8,330 additions & 0 deletions docs/generate_rve.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/RVE_generation/create_rve.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
# create and visualize synthetic RVE
# create kanapy microstructure object
ms = knpy.Microstructure(descriptor=ms_elong, name=matname + '_' + texture + '_texture')
ms.init_RVE() # initialize RVE including particle distribution and structured mesh
ms.init_RVE() # initialize RVE including particle distribution
ms.plot_stats_init() # plot initial statistics of equivalent grain diameter and aspect ratio
ms.pack() # perform particle simulation to distribute grain nuclei in RVE volume
ms.plot_ellipsoids() # plot final configuration of particles
ms.voxelize() # assign voxels to grains according to particle configuration
ms.voxelize() # create structured mesh and assign voxels to grains according to particles
ms.plot_voxels(sliced=True) # plot voxels colored according to grain number
ms.generate_grains() # generate a polyhedral hull around each voxelized grain
ms.plot_grains() # plot polyhedral grains
Expand Down
604 changes: 604 additions & 0 deletions examples/notebooks/dispersed_phase.ipynb

Large diffs are not rendered by default.

446 changes: 270 additions & 176 deletions examples/notebooks/ebsd2rve.ipynb

Large diffs are not rendered by default.

482 changes: 369 additions & 113 deletions examples/notebooks/generate_rve.ipynb

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
" The basic steps of using Kanapy to generate synthetic representative volume elements (RVE) are demonstrated. The RVE can be exported in standard FEA formats.\n",
"\n",
" - [ebsd2rve.ipynb](examples/notebooks/ebsd2rve.ipynb) \n",
" An EBSD map aof a austenitic steel produced by additive manufacturing is analyzed with respect to statistical microstructure descriptors. The descriptors are the basis to build an RVE.\n"
" An EBSD map aof a austenitic steel produced by additive manufacturing is analyzed with respect to statistical microstructure descriptors. The descriptors are the basis to build an RVE.\n",
"\n",
" - [ebsd2rve.ipynb](examples/notebooks/dispersed_phase.ipynb) \n",
" A polycrystal with a second phase dispersed along the grain boundaries is generated.\n"
]
}
],
Expand Down

0 comments on commit 73cd2d6

Please sign in to comment.