Commit Graph

100 Commits

Author SHA1 Message Date
Martin Diehl 0e17b17b90 using full precision 2018-10-07 18:40:02 +02:00
Martin Diehl 3a2f86df1c non-schmid is always bcc 2018-10-05 23:04:06 +02:00
Martin Diehl 2a51e528bd Merge branch 'development' into 44-column-major-access-to-interaction-matrices 2018-10-05 11:11:20 +02:00
Martin Diehl 47a748831f Cannot write out resolved stress including non schmid
Would need to write out tau_pos and tau_neg separately, so limit to
resolved stress in the sense of Schmid
2018-10-05 07:26:13 +02:00
Martin Diehl 6ccbc5e4e6 characteristing shear is defined per system 2018-10-05 07:20:51 +02:00
Martin Diehl e74a852ef7 new style is noticable slower
runtime (polycrystal example) increased from 70s to 90s.
Need to figure out how to write readable AND fast code
2018-10-05 06:38:20 +02:00
Martin Diehl 3a00fcde16 WIP: characteristic shear calculated in lattice 2018-10-05 05:09:31 +02:00
Martin Diehl fda2676365 calculate only if required 2018-10-05 04:54:47 +02:00
Martin Diehl 79b0efc678 also using nonSchmid matrix from lattice 2018-10-04 21:20:42 +02:00
Martin Diehl 35956ce0c8 needs to be multiplikative 2018-10-04 21:06:57 +02:00
Martin Diehl cd7f285686 prevent use of unallocated array
interaction matrices are used even if no slip/twin systems defined
2018-10-04 07:17:00 +02:00
Martin Diehl f494803c76 fixed tangent calculation 2018-10-03 16:40:40 +02:00
Martin Diehl 103b46ecbb don't repeate code over different plastic_xxx modules 2018-10-03 07:58:02 +02:00
Martin Diehl 0cac6ce0d2 allocating to wrong size 2018-10-03 07:36:57 +02:00
Martin Diehl ba383336f5 only one projection matrix required for all (non)schmid projections
following the example from plastic_nonlocal
2018-10-03 07:23:18 +02:00
Martin Diehl d718521890 polishing 2018-10-03 07:13:30 +02:00
Martin Diehl 384a785805 more sevice functions use
still trying
2018-10-01 23:02:31 +02:00
Martin Diehl ff2614b757 using 'service functions' from lattice
get rid of many global array on the long run
2018-10-01 22:48:14 +02:00
Martin Diehl e6fa3f3d35 correct stress in postResults 2018-09-16 22:57:50 +02:00
Martin Diehl cea2fba063 don't repeat code that can be handled centrally 2018-09-16 22:38:57 +02:00
Martin Diehl 9570fb894a correct names and no superflous conversions anymore 2018-09-16 22:31:55 +02:00
Martin Diehl 25a38ad438 initialization broken
- need to consider case of no twin/slip active
- state0 needs to be initialized
2018-09-15 05:45:10 +02:00
Martin Diehl 9f16cefd9f renaming in accordance with the DAMASK paper 2018-09-14 11:17:14 +02:00
Martin Diehl af32b3d85b reordering for easier overview 2018-09-14 10:51:44 +02:00
Martin Diehl 3dd47eade9 just renaming, better readable... 2018-09-14 10:18:44 +02:00
Martin Diehl 07b0ddf711 polishing 2018-09-14 10:08:36 +02:00
Martin Diehl 18858301d5 using consistently i as first running index and j as second 2018-09-14 09:59:04 +02:00
Martin Diehl b165e48d9f non-Schmid contribution were ignored in test
reverted, just to ensure that the results have not changed: Never
polishing and change physics at the same time
2018-09-14 05:21:05 +02:00
Martin Diehl 8ecb019566 real must be pReal for MSC.Marc 2018-09-13 05:51:58 +02:00
Martin Diehl 4266872965 array out of bounds was possible for Ntwin =0
in postResults(c+1:c+prm%totalNtwin) c+1 will be out of bounds if
c is already size(postResults)
2018-09-13 05:41:44 +02:00
Martin Diehl 3068caa9a3 [skip sc] resolved stress not needed
using kinetics_xxx as in disloUCLA
compiles on gfortran but pre-receive hook with intel compiler (MSC.Marc)
fails
2018-09-12 21:05:40 +02:00
Martin Diehl edebe4d1ed vectorization error 2018-09-12 12:26:33 +02:00
Martin Diehl c9b5b3fb7b should be always set, even if no twinning is enabled
fixes NaN in dotState
2018-09-12 12:08:03 +02:00
Martin Diehl 253f318e55 preventing NaN in dotState 2018-09-12 11:47:35 +02:00
Martin Diehl 2337dde525 cleaning 2018-09-12 11:26:59 +02:00
Martin Diehl 8a406150f8 polishing 2018-09-12 10:06:04 +02:00
Martin Diehl 3352611267 cleaning 2018-09-12 09:59:09 +02:00
Martin Diehl c9208315f5 avoid repeated calculations
does not save so much here, but avoids having inconsistent calculation
(e.g. nonSchmid effects) and serves as a template for more complex
models
2018-09-12 09:23:11 +02:00
Martin Diehl cf65aae92a correct names 2018-09-01 06:49:03 +02:00
Martin Diehl b163a8aaa0 Non-schmid activated again
internally, no need for long name plastic_phenopowerlaw_postResults
2018-08-30 00:57:15 +02:00
Martin Diehl 6d28883db5 starting to include non-Schmid terms (again) 2018-08-29 12:07:51 +02:00
Martin Diehl 922273f230 does not make sense to store and use the 6-vector version of the Schmid
matrix
2018-08-29 12:03:31 +02:00
Martin Diehl baeb449e07 WIP: debugging 2018-08-29 11:44:39 +02:00
Martin Diehl 0041d21777 output was screwed up 2018-08-26 06:20:48 +02:00
Martin Diehl 4f1becb503 cleaning and fixing bugs (wrong indices) 2018-08-25 21:27:14 +02:00
Martin Diehl f458de82fa simplified 2018-08-25 21:13:32 +02:00
Martin Diehl 3ff7c9c0eb extendend to Schmid_twin 2018-08-25 20:55:15 +02:00
Martin Diehl fbaac484ea extended to postResults 2018-08-25 20:32:01 +02:00
Martin Diehl 780699740d internal (non)-Schmid definitions also in dotState 2018-08-25 20:19:02 +02:00
Martin Diehl ba9330c8dd early rename 2018-08-25 20:08:46 +02:00