Commit Graph

1993 Commits

Author SHA1 Message Date
Martin Diehl 4c5f980d00 more systematic name 2023-11-27 23:14:23 +01:00
Franz Roters f67660902c corrected and adapted script for Marc2023.x 2023-10-27 17:18:02 +02:00
Martin Diehl 03a81b81e8 adopting to Python standards 2022-11-28 09:30:08 +01:00
Martin Diehl cfcb16be43 easier to find in flat layout 2022-11-28 09:11:34 +01:00
Martin Diehl 29cbf1304b grain growth not maintained and has issues
the grain growth model is based on the Voronoi Implicit Interface Method
(https://doi.org/10.1016/j.jcp.2012.04.004). The last step in this
algorithm is the assignment of the new phase/material ID to the voxels
in the 'thick boundary' which is done with distance_transform_edt from
ndimage. This problem can have multiple solution and can lead to the
translation of grains.

In the original publication, the position of the boundary is calculated
with subvoxel resolution by solving the eikonal equation. The following
python packages might help:
https://pypi.org/project/eikonalfm
https://pypi.org/project/scikit-fmm
https://github.com/malcolmw/pykonal
2022-01-12 07:48:09 +01:00
Martin Diehl b285702d84 functionality is availabe in grid_filters.py 2021-12-27 21:18:31 +01:00
Martin Diehl 96767e75a3 can be done directly in the python library:
P = damask.Orientation(lattice='cF').Schmid('slip')
sigma = np.array([[1,0,0],[0,0,0],[0,0,0]])
sigma_extended = np.broadcast_to(sigma.reshape(damask.util.shapeshifter(sigma.shape,P.shape)),
                                 P.shape)
tau = np.einsum('i...jk,i...jk->i...',sigma_extended,P)
2021-07-26 00:19:03 +02:00
Martin Diehl 63fee141b9 rubbish
neper offers advanced seeding/meshing methods
2021-07-16 10:37:09 +02:00
Martin Diehl adee729b83 better keep reference close to the code 2021-07-01 14:34:16 +02:00
Martin Diehl fd3d174f75 not needed anymore 2021-05-28 15:38:41 +02:00
Martin Diehl 111a1a76c6 cleaning 2021-03-27 07:35:49 +01:00
Martin Diehl 9fd244d8a0 cleaning 2021-03-26 20:59:49 +01:00
Martin Diehl d74c1534ed bug fixes 2021-03-26 12:48:20 +01:00
Martin Diehl 75fb080638 old shell scripts
- removed unmaintained scripts from 'legacy'
- pushed deprecated scripts to 'legacy'
2021-03-26 08:48:05 +01:00
Martin Diehl 3b392281e4 consistent naming in HDF5 output 2021-03-25 19:22:59 +01:00
Martin Diehl e61d86aa17 quick fix for deprecated shell script 2021-03-20 14:05:35 +01:00
Martin Diehl 0f6094890a simplified
damask.environment does not offer any advantage over os.environ for
variables. After 'root_dir' was removed, the whole module became
obsolete
2021-01-15 12:14:05 +01:00
Martin Diehl de1708b20a missing renames + better help 2020-12-08 00:36:41 +01:00
Martin Diehl 171d642dbd rename: Geom -> Grid 2020-12-04 07:50:47 +01:00
Martin Diehl 0fdefa5e78 renames:
after the rename of "grid" to "cell", the name cell should not be used
for the coordinates of the cell centers. In agreement with the names
x_p/u_p for point positions/displacements, now the "point" is used to
refer to the materialpoints (i.e. cell centers)

Additionally, "_node"/"_point" are now suffixes to
"coordinates"/"displacements".

Finally, "coords" is renamed to "coordinates"
2020-12-03 23:59:37 +01:00
Martin Diehl ac0a20696c rename: grid -> cells 2020-12-03 22:16:34 +01:00
Martin Diehl a65a47f6d7 single source of truth 2020-11-23 21:26:35 +01:00
Martin Diehl da654b7c91 vectorized 2020-11-23 21:23:45 +01:00
Martin Diehl 4e94118cfb don't use legacy format (tests are updated) 2020-11-23 21:15:00 +01:00
Martin Diehl 762ac0eb3c don't write out legacy file format 2020-11-23 20:54:07 +01:00
Martin Diehl 198736a859 volume mismatch is unreliable
the volume of a deformed hexahedron is not properly defined, the
approximation error is in the order of the deviation from 1.0 (for
typical crystal plasticity cases)
2020-11-23 20:47:05 +01:00
Martin Diehl 5d2d92ff6b shell wrapper to library functions not needed anymore 2020-11-23 20:45:55 +01:00
Martin Diehl faa83468d5 unclear behavior in case of unsorted coordinates
similar (tested and flexible) functionality is available in numpy/scipy
2020-11-23 20:44:17 +01:00
Martin Diehl cbe8160e13 Merge remote-tracking branch 'origin/development' into vector-mechanics 2020-11-23 19:55:34 +01:00
Franz Roters 7356330cf6 Merge remote-tracking branch 'origin/new_names_result' into development 2020-11-23 11:49:15 +01:00
Sharan Roongta 24fabdec22 Merge branch 'development' into vector-mechanics 2020-11-22 12:02:29 +01:00
Philip Eisenlohr 662a033d91 adapted to VTR geom files 2020-11-19 14:26:15 -05:00
Philip Eisenlohr 86dfb58732 adjust to renaming of from_Eulers/Rodrigues 2020-11-18 14:18:05 -05:00
Martin Diehl 870c0f7aca removed aliases
required bump of DADF5 version
2020-11-18 14:53:11 +01:00
Martin Diehl cd8434b991 Merge remote-tracking branch 'origin/development' into python-improvements 2020-11-16 22:57:49 +01:00
Martin Diehl 9160677ff3 no need for special damask class (no action=extend) 2020-11-14 19:00:51 +01:00
Martin Diehl 42e52fad66 not needed anymore 2020-11-12 21:48:13 +01:00
Martin Diehl e11391c750 easier to do directly on a numpy array 2020-10-31 10:36:50 +01:00
Martin Diehl 6f2c5231c2 shell script not needed anymore 2020-10-31 10:34:16 +01:00
Martin Diehl bac7ace413 Merge remote-tracking branch 'origin/general-N_constituents' into vtr-only 2020-10-13 17:39:19 +02:00
Martin Diehl ffabeacbcb removing functionality related to deprecated 'geom' format 2020-10-10 09:41:11 +02:00
Martin Diehl 06d11a72da better fitting name
load implies a more direct takeover.
2020-10-09 19:19:05 +02:00
Martin Diehl 952ad4f8fe functionality for geom generation in python lib 2020-10-08 18:39:05 +02:00
Martin Diehl 9e0222db71 just a wrapper to scipy, requires special layout 2020-10-05 22:41:12 +02:00
Philip Eisenlohr f204808795 adapted geom_fromMinimalSurface.py to new TPMS names 2020-09-30 17:45:02 -04:00
Martin Diehl 54e4943353 get rid of shell scripts 2020-09-30 07:11:33 +02:00
Martin Diehl d51a73958e don't rely on non-existing shell scripts 2020-09-25 14:18:20 +02:00
Martin Diehl 7dc8391c03 not needed anymore 2020-09-25 07:40:12 +02:00
Philip Eisenlohr 8c8db5b99f switched "Geom.materials" to "Geom.material" 2020-09-23 17:27:15 -04:00
Philip Eisenlohr 997f7dfa05 removed Geom.homogenization from shell scripts 2020-09-22 20:07:21 -04:00