Commit Graph

3904 Commits

Author SHA1 Message Date
Sharan Roongta 4669c289c7 Merge remote-tracking branch 'origin/development' into Fortran-cleaning 2021-05-28 15:00:06 +02:00
Martin Diehl 0240bec5b3 consistent reporting 2021-05-27 08:25:48 +02:00
Martin Diehl bdb4029fb5 tI symmetry of 2nd order tensor is equivalent to hP 2021-05-26 22:49:53 +02:00
Martin Diehl 16128c257a Merge branch 'development' into fix-thermalexpansion 2021-05-26 22:49:39 +02:00
Martin Diehl 95f7f3c6ed Merge remote-tracking branch 'origin/development' into simplify-cmake 2021-05-26 19:11:20 +02:00
Martin Diehl adb1e51e24 support for 2D tensor in load case
currently optional, but should become mandatory after a transition
period
2021-05-26 08:04:14 +02:00
Martin Diehl 019159d328 WIP 2021-05-26 06:31:11 +02:00
Martin Diehl 24e862105c ensuring correct lattice symmetries 2021-05-25 06:05:51 +02:00
Martin Diehl 299c47fd6f prepare for varying C66
- check structure centrally
- pure function with guaranteed return/no stop
2021-05-24 20:33:50 +02:00
Martin Diehl f525999f52 updated tests 2021-05-24 20:12:34 +02:00
Martin Diehl f44edb31fc polishing 2021-05-24 17:20:33 +02:00
Martin Diehl fe281f4592 only Hooke as model
and this model should take care of the elastic constants, not lattice
2021-05-24 17:19:38 +02:00
Martin Diehl 0d0bc188eb potentially less error prone (and easier to read) 2021-05-24 17:17:27 +02:00
Martin Diehl 40698740aa fixed symmetry handling
- ort not tested, no examples, no documentation => removed
- aP is the opposite of isotropic => removed

isostropic materials can be easily specified as cI or cF, using C_44 =
1/2 * (C_11 - C_12). Acceptable extra effort for special use case

orthorhombic can be easily implemented if needed, but needs test,
documentation, and examples
2021-05-24 15:45:25 +02:00
Martin Diehl ab070a3c13 data for thermal expansion 2021-05-24 10:31:56 +02:00
Martin Diehl b0f4ea45a4 Merge branch 'simplify-cmake' into fix-thermalexpansion 2021-05-23 22:07:58 +02:00
Martin Diehl 4d889e0b1b Merge remote-tracking branch 'origin/development' into Fortran-cleaning 2021-05-23 21:24:53 +02:00
Martin Diehl 78799f9794 fix for openMP 2021-05-23 18:44:24 +02:00
Martin Diehl 7afb1d28cc easier to read 2021-05-23 15:04:55 +02:00
Martin Diehl 4713e0e85d new names and mappings 2021-05-23 13:14:57 +02:00
Martin Diehl 62c9761a05 Merge remote-tracking branch 'origin/development' into simplify-cmake 2021-05-23 12:31:42 +02:00
Martin Diehl c4d1969150 easier to read
and faster for multiphase materials
2021-05-23 09:15:03 +02:00
Martin Diehl 8dcf4354e1 more logical structure 2021-05-23 08:19:43 +02:00
Martin Diehl 72ab936ec3 cleaning 2021-05-23 00:12:55 +02:00
Martin Diehl af9fa9e9a1 using current naming scheme 2021-05-23 00:04:12 +02:00
Martin Diehl ee80efd705 using new mappings 2021-05-22 22:52:05 +02:00
Martin Diehl 0b80252d97 Merge remote-tracking branch 'origin/123_bccSlipSystem' into development 2021-05-22 22:40:33 +02:00
Martin Diehl d41f3a5490 consistent data structure 2021-05-22 21:53:39 +02:00
Martin Diehl 6d31f77deb natural data structure 2021-05-22 17:54:42 +02:00
Martin Diehl 212c4296cf need to loop over ip, el 2021-05-22 16:45:49 +02:00
Vitesh Shah cc9a0e4865 Merge branch 'development' into fix-Intel2021 2021-05-22 14:51:25 +02:00
Martin Diehl fc4bdfb374 simplified 2021-05-22 12:03:13 +02:00
Martin Diehl d2855913b5 new mappings 2021-05-22 11:48:42 +02:00
Sharan Roongta 7440cc32a0 Merge branch 'internal-restructure' into 'development'
Internal restructure

See merge request damask/DAMASK!384
2021-05-22 09:38:33 +00:00
Martin Diehl 77d1ed465e divide and test 2021-05-22 11:09:50 +02:00
Martin Diehl 00fcf069fb clearer names and reporting 2021-05-22 09:33:58 +02:00
Martin Diehl 37d511062d simplified (using new mapping) 2021-05-22 09:33:33 +02:00
Philip Eisenlohr e79c17ecbc Merge branch 'fix_typo_dislotungsten' into 'development'
fixed typo

See merge request damask/DAMASK!385
2021-05-21 20:29:21 +00:00
Martin Diehl 801e9f512b simplified state initialization
- not needed for damage (is an intial value problem, will trickle down)
- plastic initializes state, copy to state0 (centrally)
2021-05-21 22:07:55 +02:00
Martin Diehl 2aa78a710b correct capitalization 2021-05-21 22:05:09 +02:00
Martin Diehl 47e69019b6 matching name 2021-05-21 21:53:37 +02:00
Sharan Roongta fa3b077b72 Merge remote-tracking branch 'origin/development' into internal-restructure 2021-05-21 12:32:59 +02:00
Martin Diehl 3ee22cfc59 circumvent bug in Intel compiler 2021.2
explicit "result" looks anyways better
thanks to Jonathan from University of Alabama for reporting
2021-05-21 07:15:46 +02:00
f.basile 10c6070873 added {123} slips systems of bcc 2021-05-20 18:45:15 +02:00
Eureka Pai Kulyadi 798a0ef73f fixed typo 2021-05-20 11:58:42 -04:00
Sharan Roongta 125e8fb9e2 Merge remote-tracking branch 'origin/development' into internal-restructure 2021-05-20 10:41:59 +02:00
Sharan Roongta 106f687e97 not needed 2021-05-19 22:43:21 +02:00
Sharan Roongta c24d41ac4d Merge remote-tracking branch 'origin/development' into internal-restructure 2021-05-19 22:26:38 +02:00
Martin Diehl 67352d9ec7 location depends on PETSC_ARCH (if set) 2021-05-19 19:22:06 +02:00
Martin Diehl 49d51e196c no hope for GPI
flang will hopefully work in the near future
2021-05-19 13:42:14 +02:00
Martin Diehl 2648464525 relax tolerances for quaternion initialization
we read in ASCII/YAML files, 1e-8 must be enough
2021-05-19 09:46:02 +02:00
Martin Diehl 9a37b6ddbe support windows line endings
if first line ends with CRLF, convert all CR to ' ' (trailing spaces
will cause no harm)
2021-05-19 09:08:41 +02:00
Sharan Roongta e3506576e7 isobrittle handles stiffness degradation implicitly 2021-05-10 14:37:09 +02:00
Martin Diehl 053c427509 adjusting to new interaction matrices 2021-05-09 14:50:55 +02:00
Martin Diehl c9c8631e7b including documentation from damask.mpie.de 2021-05-09 10:58:43 +02:00
Martin Diehl 693c2f4e3f Merge remote-tracking branch 'origin/development' into MatrixInteraction_clean 2021-05-09 08:04:15 +02:00
Franz Roters 43db3bd8d3 Merge branch 'improved-thermal-solver-options' into 'development'
better numerical parameters for thermal solver/PETSc

See merge request damask/DAMASK!379
2021-05-07 14:16:22 +00:00
Martin Diehl 7774ca7211 Merge remote-tracking branch 'origin/internal-restructure' into development 2021-05-07 12:42:12 +02:00
f.basile 8277d88799 new interaction matrix for bcc from Madec2017 2021-05-07 10:42:47 +02:00
f.basile cc855be822 new interaction matrix for FCC, 1,2,3,4 are unchanged, 5 can now be 5 or 6, old 6-12 are add +1 and now are 7-13 2021-05-07 10:32:31 +02:00
f.basile d64ad82ce0 use negative numbers to have unique names for the {112} slip system in BCC 2021-05-07 10:24:04 +02:00
Martin Diehl 1eb1e54f78 adjustment to new structure/names was missing
reason: test missing/not good
2021-05-06 08:47:30 +02:00
Martin Diehl c8cdd7e622 better numerical parameters for thermal solver/PETSc
works for realistic values for thermal problems
parameters copied from spectral_damage
2021-05-05 18:14:53 +02:00
Martin Diehl b353f8ed92 workaround for HDF5: https://forum.hdfgroup.org/t/6186
writing chunked/compressed data can cause problems with MPI. Even though not 100%
clear from the reference, it seems that the issue only appears for HDF5
< 1.12.
Of special importance for Ubuntu since the Debian package is still at 1.10.6
2021-05-03 18:19:06 +02:00
Sharan Roongta 6c92e8d2cc belongs to elastic submodule 2021-04-29 16:16:51 +02:00
Sharan Roongta e795e72df7 new names 2021-04-29 14:24:19 +02:00
Sharan Roongta 7e9133621a Merge remote-tracking branch 'origin/development' into internal-restructure 2021-04-28 23:24:02 +02:00
Philip Eisenlohr e9cfb2f968 Merge branch 'drop-old-DADF5-support' into 'development'
Improvements to damask.Result

See merge request damask/DAMASK!373
2021-04-27 00:33:41 +00:00
Franz Roters 55333f7e3e Merge branch 'no-shell-variables' into 'development'
KISS: no shell variables

See merge request damask/DAMASK!370
2021-04-26 15:48:58 +00:00
Sharan Roongta 478665b7cd polishing 2021-04-26 15:10:45 +02:00
Martin Diehl 62c987badf add tracer to vtk files 2021-04-25 23:54:33 +02:00
Martin Diehl d0b86f54fb consistent with new naming scheme 2021-04-25 08:16:26 +02:00
Martin Diehl 74dd9bf589 use sensible defaults if shell NUM_THREADS is not given 2021-04-22 08:04:02 +02:00
Sharan Roongta d83c746a17 polishing 2021-04-15 12:07:33 +02:00
Martin Diehl 34dc4fda13 needs rework 2021-04-14 19:58:58 +02:00
Martin Diehl 285889b48e merge evaluates both expression, can lead to division by zero 2021-04-13 23:23:39 +02:00
Martin Diehl 1762245b69 merge not needed 2021-04-13 19:26:35 +02:00
Martin Diehl 248bc539cc new mappings 2021-04-13 12:40:58 +02:00
Martin Diehl 74548d5f51 new names (as in HDF5 out) 2021-04-12 21:29:04 +02:00
Martin Diehl 887524bcc1 polishing 2021-04-11 16:09:29 +02:00
Martin Diehl f655a6fe5c store data locally 2021-04-11 14:30:10 +02:00
Martin Diehl b2292986f4 distributing responsibilities 2021-04-11 13:42:50 +02:00
Martin Diehl 8ec2d3a9ce bugfix: mixed up order 2021-04-11 12:49:28 +02:00
Martin Diehl 9d90ed525e YAML structure allows more than one mechanism 2021-04-11 12:42:57 +02:00
Martin Diehl 081d51f224 multiple damage mechanisms currently not supported 2021-04-11 12:37:46 +02:00
Martin Diehl 071c1a5ad4 avoid repetition 2021-04-11 12:18:26 +02:00
Martin Diehl 8b7f777186 probably not needed 2021-04-11 11:17:52 +02:00
Martin Diehl b67e837548 needs broadcast, otherwise rank>0 fail 2021-04-11 09:58:40 +02:00
Martin Diehl 547f2ffa69 cleaning 2021-04-11 09:46:11 +02:00
Martin Diehl b55e721ec4 standard name 2021-04-11 09:25:45 +02:00
Martin Diehl 34bb4c65a9 distributing responsibility 2021-04-11 08:58:40 +02:00
Martin Diehl 4b89e2f40c sorted and documented 2021-04-11 08:32:13 +02:00
Martin Diehl a386b82f74 distributing responsibility 2021-04-11 08:14:39 +02:00
Martin Diehl d488f1708a consistent naming 2021-04-11 07:41:59 +02:00
Martin Diehl 97d426718a following renames and access pattern 2021-04-10 21:16:57 +02:00
Martin Diehl 690777ac88 base access on cell numbers
DAMASK does not care about elem, IP, etc..
2021-04-10 21:16:10 +02:00
Martin Diehl 4d9949547c more systematic name 2021-04-10 21:04:33 +02:00
Martin Diehl 80dd16ed55 Merge branch 'development' into Fortran-cleaning 2021-04-10 14:18:09 +02:00
Philip Eisenlohr 73b07eda4a Merge branch 'Results.read-.place' into 'development'
simplified handling of Result class

See merge request damask/DAMASK!363
2021-04-09 22:47:05 +00:00
Martin Diehl 5f608ed572 only 2 and 3 dimension can be 1 2021-04-09 08:25:30 +02:00
Martin Diehl 1b89032086 names as in DAMASK paper 2021-04-08 23:45:26 +02:00
Martin Diehl c4765d3742 following paper 2021-04-08 13:31:21 +02:00
Martin Diehl d59051f576 systematic names 2021-04-07 22:42:10 +02:00
Martin Diehl 0fc7f66ef8 consistent names 2021-04-07 21:25:11 +02:00
Martin Diehl c4b4ea8c21 avoid invalid access in case of no damage 2021-04-07 20:52:25 +02:00
Martin Diehl bbb292d093 polishing 2021-04-07 20:39:29 +02:00
Martin Diehl 1851b66cb4 use new data container 2021-04-07 14:56:11 +02:00
Martin Diehl c4942e3f82 part of damage init 2021-04-07 13:22:22 +02:00
Martin Diehl 16f7af4c27 consistent interface 2021-04-07 13:02:42 +02:00
Martin Diehl 5eb44969cc no need to do this globally 2021-04-07 11:48:04 +02:00
Martin Diehl cdae867beb simplified
damage currently works only for single constituent
2021-04-07 09:11:40 +02:00
Martin Diehl c53927ad6f not needed 2021-04-07 08:47:46 +02:00
Martin Diehl 1fbf14c148 encapsulation and namespace-like names 2021-04-07 07:53:24 +02:00
Martin Diehl cb6b7a5fb9 standardized names 2021-04-07 07:26:54 +02:00
Martin Diehl 5a361c12f8 bugfix: corrected name 2021-04-06 15:53:06 +02:00
Martin Diehl c80774f3d2 Merge branch 'development' into Fortran-cleaning 2021-04-06 15:40:51 +02:00
Martin Diehl 0d974648f0 part of damage, not of eigen 2021-04-06 12:18:48 +02:00
Martin Diehl d56f1acf36 shorter names
need to prefix 'pass' to avoid name clashes that result in errors during
compilation
2021-04-06 12:05:47 +02:00
Martin Diehl 49804c6e44 preparing split 2021-04-06 11:55:30 +02:00
Martin Diehl 330803881b variable 'damage' is not occupied anymore 2021-04-06 11:41:45 +02:00
Martin Diehl 869976c7a0 new names 2021-04-06 11:38:44 +02:00
Franz Roters 39f4efa55a Merge branch 'cleaning' into 'development'
Superfluous F_e calculation

See merge request damask/DAMASK!361
2021-04-06 08:35:51 +00:00
Martin Diehl 2b798589ce modularizing 2021-04-06 10:22:47 +02:00
Martin Diehl b797d9d76b not needed 2021-04-06 10:14:52 +02:00
Martin Diehl 65b03aeb2d Merge remote-tracking branch 'origin/development' into Results.read-.place 2021-04-05 10:22:49 +02:00
Martin Diehl 2bfed863ba line was to long
macro was changed in PETSc 3.15
2021-04-05 09:04:44 +02:00
Martin Diehl 445e934102 Merge branch 'development' into spring-cleaning 2021-04-03 23:28:59 +02:00
Martin Diehl 857a990a0e avoid long lines 2021-04-03 20:39:07 +02:00
Martin Diehl 09beb8f38c white space adjustments 2021-04-03 18:00:41 +02:00
Philip Eisenlohr 8ac4850dd3 more consistent error messages 2021-03-31 10:55:25 -04:00
Sharan Roongta 7e8f630a62 consistent 2021-03-29 21:44:37 +02:00
Sharan Roongta c8e48090a2 Merge remote-tracking branch 'origin/development' into YAML-error-message 2021-03-29 21:38:35 +02:00
Sharan Roongta 295c036644 not required (checking) 2021-03-29 20:10:57 +02:00
Sharan Roongta aa5cd76d33 function not needed 2021-03-29 13:47:23 +02:00
Martin Diehl 2e96fcf768 Merge branch 'development' into spring-cleaning 2021-03-29 07:26:17 +02:00
Martin Diehl 5bf4553882 following naming of interaction coefficients 2021-03-29 07:25:55 +02:00
Martin Diehl b44864355d no need for subscript, following dislotwin 2021-03-29 07:20:06 +02:00
Martin Diehl e6143f6eec source not needed here
I don't think 'shape' is possible without full inspection of the stored
data structure
2021-03-29 06:40:33 +02:00
Martin Diehl 710f5b74b2 Merge remote-tracking branch 'origin/development' into 2d-table-yaml 2021-03-29 00:00:39 +02:00
Sharan Roongta ecf5639360 Merge remote-tracking branch 'origin/development' into YAML-error-message 2021-03-28 21:59:08 +02:00
Martin Diehl 84e383964b polishing/fixing tests 2021-03-27 23:58:49 +01:00
Martin Diehl 0072ebfa64 polishing 2021-03-27 23:17:04 +01:00
Martin Diehl 20c9549198 polishing
thread sanitizer throws warnings, probably because off 'terminallyIll'
2021-03-27 18:00:13 +01:00
Martin Diehl 7072ab0984 non-converging simulation is an error 2021-03-27 17:07:36 +01:00
Sharan Roongta 7c96d49b08 remove extra lines 2021-03-27 13:44:29 +01:00
Sharan Roongta f909aee835 Merge remote-tracking branch 'origin/output-rename' into internal-restructure 2021-03-27 13:40:15 +01:00
Martin Diehl 4d046e4e16 no plastic model as default 2021-03-27 06:06:27 +01:00
Martin Diehl ac310ee760 elastic constants with source 2021-03-26 20:12:30 +01:00
Martin Diehl 3b6c97edb0 adjusting names 2021-03-26 17:39:21 +01:00
Martin Diehl 949c37c4d0 bugfix
incorrect handling of NonSchmid behavior
2021-03-26 13:51:09 +01:00