Commit Graph

1300 Commits

Author SHA1 Message Date
Martin Diehl 41832fb554 no need for two variables
only resulted in confusing code
2019-01-29 07:24:06 +01:00
Martin Diehl a24d8b86bf convergence of plastic state can be done earlier 2019-01-29 07:24:06 +01:00
Martin Diehl 4a69032637 better readable 2019-01-29 07:24:06 +01:00
Martin Diehl 1e4da6fbdb nonlocal convergence check in function 2019-01-29 07:24:06 +01:00
Martin Diehl 3fdf8e19bb further simplifications 2019-01-29 07:24:06 +01:00
Martin Diehl 4967ac0132 need to check for significant stress only once 2019-01-29 07:22:56 +01:00
Martin Diehl 9892da717a bugfix: missing initialization 2019-01-29 07:06:16 +01:00
Martin Diehl c10922de2b vector notation easier to read 2019-01-29 07:06:01 +01:00
Martin Diehl a46b4a52a8 sanity checks in more sensible order 2019-01-29 06:41:27 +01:00
Martin Diehl 918860ab38 easier to store atomic volume instead of scaling factor 2019-01-29 06:14:58 +01:00
Martin Diehl ee586dfa0c avoid code duplication 2019-01-29 00:46:57 +01:00
Martin Diehl 2cf44f4060 shorter 2019-01-29 00:39:44 +01:00
Martin Diehl 2f9a571b96 no need for 2 variables 2019-01-29 00:38:18 +01:00
Martin Diehl b62232022b polishing 2019-01-29 00:27:58 +01:00
Martin Diehl cd3cbf473c Merge remote-tracking branch 'origin/46-simplification-of-crystallite-f90-NEW5' into development 2019-01-29 00:18:46 +01:00
Franz Roters 8a2524b5d2 requiredShape outdated: use requiredSize 2019-01-28 15:56:05 +01:00
Franz Roters cf3efaaa02 Merge remote-tracking branch 'remotes/origin/42-new-coding-style-for-homogenization-NEW' into development 2019-01-28 15:51:34 +01:00
Martin Diehl 95cb404f81 further cleaning 2019-01-28 11:49:24 +01:00
Martin Diehl 8c2d6400b1 cleaning 2019-01-28 11:28:46 +01:00
Martin Diehl ef06e7c4fd cleaning 2019-01-27 23:36:34 +01:00
Martin Diehl 3fb99b06ca avoid calculation in output routine 2019-01-27 22:13:45 +01:00
Martin Diehl 35972fbb8e output would need to be store on demand 2019-01-27 22:12:27 +01:00
Martin Diehl 6983718685 dst for "dependentState" 2019-01-27 22:08:36 +01:00
Martin Diehl 5630b38962 stress induced transformation was never really implemented 2019-01-27 22:06:08 +01:00
Martin Diehl 4b3efac4e5 simplified 2019-01-27 19:44:53 +01:00
Martin Diehl 5903e19e18 signature as in disloUCLA 2019-01-27 16:59:44 +01:00
Martin Diehl 3fcb7d72c8 shortened 2019-01-27 16:39:36 +01:00
Martin Diehl 3843bf599c removed
- accumulatedshear_twin: linearly depends on twin volume fraction
- output of further derived quantities
2019-01-27 15:14:50 +01:00
Martin Diehl aecb5f20bf shortened 2019-01-27 12:18:42 +01:00
Martin Diehl 8c18b29420 mutual unification 2019-01-27 11:37:50 +01:00
Martin Diehl fc9e80b3c2 using real name, not compatibility aliases 2019-01-27 10:48:27 +01:00
Martin Diehl 7484849b22 Merge remote-tracking branch 'origin/development' into 42-new-coding-style-for-homogenization-NEW 2019-01-27 08:44:46 +01:00
Martin Diehl 4b2da52e87 following example of disloUCLA 2019-01-27 08:35:07 +01:00
Martin Diehl 3b5a6b2877 have internal functions at the end of the module 2019-01-27 08:17:08 +01:00
Martin Diehl e9c1299a30 requiredShape makes no sense
the return value is always a 1D array, only its size might change
2019-01-26 09:02:44 +01:00
Martin Diehl e9087f83fe small improvements
checking size of arguments (not shape)
length of lattice structure not limited to 3 any more
2019-01-25 14:01:17 +01:00
Martin Diehl 99ef353446 more sanity checks
structure string can be now of arbitrary length (technically)
only fcc,hex,bcc,bct,ort are accepted labels
2019-01-25 13:42:38 +01:00
Martin Diehl f2882f195a fuction for convergence check
avoid code repetition
2019-01-25 07:20:05 +01:00
Martin Diehl 7f6408966b Merge branch '46-simplification-of-crystallite-f90-NEW5' into development 2019-01-25 06:49:43 +01:00
Satya Gupta 1c4dc2e05f material_allocatePlasticState now takes care of setting offsetDeltaState 2019-01-24 19:18:11 -05:00
Martin Diehl 13f66c9ca0 Merge branch '44-column-major-access-to-interaction-matrices' into 'development'
Resolve "column-major access to interaction matrices"

See merge request damask/DAMASK!55
2019-01-24 23:14:16 +01:00
Martin Diehl f4fef6448d stress integration for all points in one function 2019-01-24 17:59:38 +01:00
Martin Diehl fcdab21565 avoid flush of full array
more clear logic
2019-01-24 14:15:26 +01:00
Martin Diehl 30dc8b4831 delta state update for all points
replaced stateJump, which works only on one point
2019-01-24 11:33:04 +01:00
Martin Diehl c3b48c3484 WIP: update_deltaState 2019-01-24 07:34:30 +01:00
Martin Diehl a8a5c8eec0 preparing function for deltaState
essential a "stateJump" over all points
2019-01-24 07:12:20 +01:00
Martin Diehl a458dc831b prepare for consistent use of full tensor representation 2019-01-24 06:56:43 +01:00
Martin Diehl 1cccd761cd variables were not used 2019-01-23 23:18:14 +01:00
Martin Diehl ae931c49a1 more "building block" separation 2019-01-23 23:02:21 +01:00
Martin Diehl c60bb2edd3 function for update of dependent state
not introduced everywhere
2019-01-23 18:04:19 +01:00
Martin Diehl 0a6bcadafe using a function for state update
avoids a lot of code repetition
2019-01-23 11:51:43 +01:00
Martin Diehl b1522b1b9d common function to update dot state 2019-01-23 06:14:19 +01:00
Martin Diehl ac9d49f6be state = subState0 + doState * dt
this is the usual state update used in all other integrators. also
in-line with logic in crystallite_stress
2019-01-22 23:23:48 +01:00
Martin Diehl 443519be72 cleaning
no reason to assume that the math functions are not thread safe
2019-01-19 10:02:04 +01:00
Martin Diehl 1be4426dc5 not needed 2019-01-19 09:54:37 +01:00
Martin Diehl 6fe099b978 [skip ci] re-ordered functions
internal/private functions at the end
2019-01-19 09:35:45 +01:00
Martin Diehl 30f28c9f4e do concurrent causes problems on some Intel compilers
use forall instead.
Mandel/Plain prefixes not needed any more
2019-01-18 23:20:44 +01:00
Martin Diehl 695b331db0 takeover from old 46-XXX branch 2019-01-18 23:09:46 +01:00
Martin Diehl 221c587362 using separate functions for stress and tangent
extensively tested in 46-simplification-of-crystallite-f90-NEW3 already
2019-01-18 15:30:50 +01:00
Martin Diehl 406a2cc542 further separation
still using old combined function
2019-01-18 14:42:44 +01:00
Martin Diehl e433aea193 preparing for separation of stress calculation and tangent calculatin 2019-01-18 12:18:13 +01:00
Philip Eisenlohr f81c25bb58 [skip ci] allow strain softening in phenopowerlaw, i.e. xi_sat might be less than xi_0 2019-01-17 17:51:38 -05:00
Martin Diehl 11e0297bf6 Merge branch '46-simplification-of-crystallite-f90-NEW4' into development 2019-01-16 15:33:14 +01:00
Martin Diehl c39b642a7d Merge remote-tracking branch 'origin/46-simplification-of-crystallite-f90-NEW4' into development 2019-01-16 08:36:59 +01:00
Martin Diehl c231c808da Merge branch 'tensor-conversion-rename' into development 2019-01-15 11:43:45 +01:00
Martin Diehl 6049e292c1 no need to store converged tangent 2019-01-15 08:04:50 +01:00
Martin Diehl 80dca6d304 also not needed
was a remainder from time syncinc
2019-01-15 07:52:01 +01:00
Martin Diehl daaa7cc2ba internal (private) functions at the end
ordered state integrators according to their id
2019-01-15 04:27:57 +01:00
Martin Diehl 54bb6a5eb6 more verbose name
credits to Franz
2019-01-14 16:36:08 +01:00
Martin Diehl 43f9d043d2 removed time syncing 2019-01-14 12:56:46 +01:00
Martin Diehl adb68ff792 avoid converstions and use of global variables 2019-01-14 12:45:07 +01:00
Martin Diehl 3b27af3f94 cross-checking with Danny's thesis 2019-01-14 11:06:18 +01:00
Martin Diehl f82a422e21 do concurrent causes problems on matesting/Intel 18.0.1 2019-01-14 09:34:14 +01:00
Martin Diehl 3f40eeacf9 disorientation was never use
not even for nonlocal, but it slows down calculation a lot
2019-01-14 07:44:36 +01:00
Martin Diehl 01a2fffd3c clearer naming for vector <-> tensor conversion
and a bunch of other improvements
2019-01-14 07:27:18 +01:00
Martin Diehl 619baefe19 some comments
calling a conversion "Mandel" that does not follow the Mandel convention
(at least according to wikipedia) is not really intuitive
2019-01-13 18:54:20 +01:00
Martin Diehl 9058587a2b test failed with Intel 18.0.1
don't know what is going on here. 18.0.3 and gfortran work fine. Bug?
2019-01-13 18:13:00 +01:00
Martin Diehl aaea11d96b make similarity of state/param structure clear 2019-01-13 17:03:49 +01:00
Martin Diehl 6b6a26eb18 less 'use' statements 2019-01-13 09:53:37 +01:00
Martin Diehl 49ef8e70d6 no need to prefix private functions 2019-01-13 09:48:47 +01:00
Martin Diehl 57c6271894 using less global variables 2019-01-13 09:33:47 +01:00
Martin Diehl 11bb6f1f47 limit size to actual Ngrains, not potential maximum 2019-01-13 09:14:23 +01:00
Martin Diehl fe28e0d739 better follow the same conventions everywhere 2019-01-13 08:47:01 +01:00
Martin Diehl 7f459e85f1 no need to be real state 2019-01-12 23:22:13 +01:00
Martin Diehl 837699e6c1 polishing 2019-01-12 23:07:35 +01:00
Martin Diehl e43057adb3 cleaning 2019-01-12 22:04:03 +01:00
Martin Diehl 3d95d05e19 Merge remote-tracking branch 'origin' into 42-new-coding-style-for-homogenization-NEW 2019-01-12 20:52:48 +01:00
Martin Diehl f0a1cc4351 Merge branch 'development' into 44-column-major-access-to-interaction-matrices 2019-01-08 20:28:43 +01:00
Martin Diehl 070952dbb8 Merge branch 'NewStyleKinematicHardening-3' into development 2019-01-08 01:12:05 +01:00
Martin Diehl 996d686a89 slip suffix not needed for slip only models 2019-01-07 08:15:27 +01:00
Martin Diehl 995122504e cross comparing 2019-01-07 08:04:02 +01:00
Martin Diehl e06fc036c5 have dotState after Lp/Li 2019-01-07 07:36:11 +01:00
Martin Diehl 4037085f6c whitespace not needed 2019-01-07 07:24:02 +01:00
Martin Diehl 705d55a3a5 re-enabled sanity checks + slight adjustments to layout 2019-01-07 07:20:13 +01:00
Martin Diehl 2aa2373432 Merge branch 'development' into NewStyleKinematicHardening-3 2019-01-07 07:09:28 +01:00
Martin Diehl aa5d3bf9a3 simplifications 2019-01-07 07:07:55 +01:00
Martin Diehl 15d1789a19 following best practise from phenopowerlaw 2019-01-06 21:55:33 +01:00
Martin Diehl ebf028421b corrected unit 2019-01-06 20:57:40 +01:00
Martin Diehl 1192f16582 Merge remote-tracking branch 'origin/development' into 56-parallel-hdf5 2019-01-06 20:56:36 +01:00
Martin Diehl cc858d3139 Merge branch 'development' into 44-column-major-access-to-interaction-matrices 2019-01-06 08:17:23 +01:00