Commit Graph

1662 Commits

Author SHA1 Message Date
Martin Diehl aabd98bee9 no need to repeat the same code 2019-01-31 09:14:02 +01:00
Martin Diehl cbeb3dcff0 use the same formulation for convergence every where 2019-01-31 09:12:44 +01:00
Martin Diehl 5eaeb37ea4 just polishing 2019-01-31 06:04:49 +01:00
Martin Diehl 3b13a1af63 calculated convergence criteria wrongly 2019-01-30 17:04:58 +01:00
Martin Diehl e1c2747393 logic error for nonlocal 2019-01-30 16:06:14 +01:00
Martin Diehl fe88e5bf9c [skip ci] cleaning 2019-01-30 14:52:12 +01:00
Martin Diehl 1d88057ce4 avoid superflous variables 2019-01-30 13:24:35 +01:00
Martin Diehl 64b89484d2 logic better visible 2019-01-30 13:19:05 +01:00
Martin Diehl 39e766bba0 improved readability 2019-01-30 12:36:02 +01:00
Martin Diehl 3dd21177a0 no need to store relative residual pointwise 2019-01-30 11:28:41 +01:00
Martin Diehl fd069a96cd unifying name 2019-01-30 10:51:24 +01:00
Martin Diehl 4ec0fd70a2 only one variable needed 2019-01-30 10:48:59 +01:00
Martin Diehl 0876787e3c avoid loops 2019-01-30 10:46:53 +01:00
Martin Diehl 72c4f2b25f same names everywhere if possible 2019-01-30 10:37:18 +01:00
Martin Diehl 0745d7ebc2 convergence flag is set only later 2019-01-30 10:33:57 +01:00
Martin Diehl 46be595ea8 no need to store relative residual for all points 2019-01-30 10:28:47 +01:00
Martin Diehl 31906e3ebd no need for 2 loops 2019-01-30 09:21:50 +01:00
Martin Diehl df6ec59f76 use "s" for source 2019-01-30 09:21:50 +01:00
Martin Diehl ca7c105f36 only one loop needed 2019-01-30 09:21:50 +01:00
Martin Diehl 462b1b7c18 sorted according to importance 2019-01-30 06:47:36 +01:00
Martin Diehl 5908e3fd34 wrong tolerance selection 2019-01-30 06:44:26 +01:00
Martin Diehl 370b23d5da Merge branch '46-simplification-of-crystallite-f90-NEW5' into development 2019-01-30 06:29:41 +01:00
Martin Diehl 77f1f45c23 just figured out that RK4 integrator is totally broken
readable code helps ;)
2019-01-30 00:17:04 +01:00
Martin Diehl a09036ff48 on-the-fly initialization 2019-01-30 00:11:10 +01:00
Martin Diehl 1a66f976b7 common variable name 2019-01-30 00:01:40 +01:00
Martin Diehl 6a3dac1df2 still improving readability 2019-01-29 23:45:41 +01:00
Martin Diehl bdd193fbd7 now readable (kind of) 2019-01-29 23:31:26 +01:00
Martin Diehl eade54a68f consistent variable names 2019-01-29 23:04:50 +01:00
Martin Diehl 1408d66c0c s is used for source 2019-01-29 23:02:59 +01:00
Martin Diehl 0be05b3ee1 one variable is enough 2019-01-29 22:46:21 +01:00
Martin Diehl b4afc303be clearer logic 2019-01-29 22:40:18 +01:00
Martin Diehl 73f39136c4 taking over from old branch 2019-01-29 22:19:38 +01:00
Martin Diehl 38d8e429ff layout adjustments 2019-01-29 22:07:31 +01:00
Philip Eisenlohr 27b034eb76 fixed bug in recursiveRead that failed to properly {include} in the last line of a file 2019-01-29 12:32:11 -05:00
Martin Diehl 066c598203 wrong dot product in state damper 2019-01-29 10:52:00 +01:00
Martin Diehl 34f3c15552 no need for temp variables 2019-01-29 07:24:06 +01:00
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
Martin Diehl 346561beed fixed dependencies 2019-01-28 18:46:47 +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
navyanthkusam 09dc1041a5 variable attributes adjusted
compiles now
2019-01-28 14:36:44 +01:00
navyanthkusam 848a81fd39 :Merge branch '53-separate-mesh-for-different-solvers-3' of magit1.mpie.de:damask/DAMASK into 53-separate-mesh-for-different-solvers-3 2019-01-28 14:25:16 +01:00
navyanthkusam 5101a3796f tMesh_abaqus object extends tMesh
Functionality seperated for mesh_abaqus
2019-01-28 13:59:54 +01:00
navyanthkusam 3ebc0c2e37 tMesh_marc object extends tMesh
Functionality seperated for mesh_marc
2019-01-28 13:53:44 +01:00
Martin Diehl 9260af2eaa Merge branch 'development' into 53-separate-mesh-for-different-solvers-3 2019-01-28 12:53:09 +01:00
Martin Diehl ab93a86b3e initialize element where defined 2019-01-28 12:52:28 +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 42cc9b8d2b dependency was missing 2019-01-25 00:15:46 +01: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 5c2020c3b4 initialize element 2019-01-24 16:17:20 +01:00
Martin Diehl 7d3ae1673f not needed 2019-01-24 16:16:41 +01:00
Martin Diehl cda85b0d2d might be needed somewhere 2019-01-24 15:51:03 +01:00
Martin Diehl 738114bc27 clean and initialize element 2019-01-24 15:19:17 +01:00
Martin Diehl 7e039dff67 verbose initialization 2019-01-24 15:18:53 +01:00
Martin Diehl 8f106ca8c4 base class for mesh
no functions defined yet, only common variables
2019-01-24 14:53:23 +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 badf9e9cca object oriented element definitions 2019-01-24 10:24:10 +01:00
Martin Diehl 55845d222d function was removed 2019-01-24 10:13:40 +01:00
Martin Diehl f6cd37f11a removing non-grid(spectral) related functionality 2019-01-24 10:12:27 +01:00
Martin Diehl 012759d036 remove non-marc specific code 2019-01-24 10:04:43 +01:00
Martin Diehl 612fa31188 preparing solver-specific mesh functionality 2019-01-24 09:52:18 +01:00
Martin Diehl 558a610df1 underscore for separation 2019-01-24 09:49:21 +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 854afb7107 removed on output too much 2019-01-15 15:54:05 +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 efb07e0b93 only output direct quantities
derived quantities can be easily calculated during post processing
2019-01-15 04:55:40 +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
Martin Diehl 19df6f8a71 general polishing 2019-01-05 23:55:10 +01:00
Martin Diehl 77a0cfd7a2 also adjusted plastic_isotropic 2019-01-05 23:41:13 +01:00
Martin Diehl dc64841f15 mutual best practise phenopowerlaw <-> disloUCLA 2019-01-05 23:40:59 +01:00
Martin Diehl f354f04f49 Merge remote-tracking branch 'origin/development' into NewStyleKinematicHardening-3 2019-01-05 21:21:02 +01:00
Martin Diehl c2affa9974 Merge branch 'development' into 22-NewStyle_disloUCLA-2 2019-01-05 15:40:08 +01:00
Martin Diehl 2f3b518562 rename was missing 2019-01-05 10:06:37 +01:00
Martin Diehl 4d0166351e missing initialization caused segmentation fault 2018-12-31 11:35:01 +01:00
Martin Diehl 9d2c60e943 don't read material.config during init 2018-12-30 22:30:21 +01:00
Martin Diehl ced7da4d62 avoid mappings in bottom end functions 2018-12-30 21:54:50 +01:00
Martin Diehl fd4ae71279 takeover from 40_XX and 41_XX branch
easier to focus on damage instead of doing all kinematics and sources
together
2018-12-30 21:08:48 +01:00
Martin Diehl e0fa3e0b26 takeover from 40_XX and 41_XX branch
easier to focus on thermal instead of doing all kinematics and sources
together
2018-12-30 20:58:38 +01:00
Martin Diehl c5dd8d1265 unified style 2018-12-30 18:11:03 +01:00
Martin Diehl 53d2d4e23d re-enabled debug output 2018-12-30 16:09:51 +01:00
Martin Diehl 2000eff578 re-enabled debug 2018-12-30 15:39:48 +01:00
Martin Diehl 311b8be715 simplifying 2018-12-30 15:14:43 +01:00
Martin Diehl e217ce3a25 fixed output
and a few more changes following phenopowerlaw
2018-12-30 15:04:04 +01:00
Martin Diehl 892ba86d26 consistent API 2018-12-30 14:37:31 +01:00
Martin Diehl b53cda6411 figuring out "instance" and "of" centrally 2018-12-30 14:01:05 +01:00
Martin Diehl 8f99f1ce61 avoid conversion 33<->6 3333<->9 2018-12-30 12:35:26 +01:00
Martin Diehl c8dc2cb137 best practises from phenopowerlaw 2018-12-30 11:33:27 +01:00
Martin Diehl ed79c7f75c all not compatible with new structure 2018-12-30 10:41:11 +01:00
Martin Diehl fa88065591 small polishing 2018-12-25 14:20:01 +01:00
Martin Diehl e5ef7edbd2 kinetics similar to phenopowerlaw 2018-12-22 15:22:41 +01:00
Martin Diehl b46a5b3135 save space 2018-12-22 14:47:02 +01:00
Martin Diehl c97a46826a simplified 2018-12-22 14:42:10 +01:00
Martin Diehl 8a27431c6d bugfix
bracket falsely removed in last commit
2018-12-22 13:28:16 +01:00
Martin Diehl d1e6541c14 Merge branch 'development' into 42-new-coding-style-for-homogenization-NEW 2018-12-22 12:50:13 +01:00
Martin Diehl 13f321d992 cleaning almost done 2018-12-22 09:05:46 +01:00
Martin Diehl 1520adb3fb not compatible with generalized solute flux 2018-12-22 08:37:58 +01:00
Martin Diehl 708fc9f6b3 not compatible with generalized solution handling 2018-12-22 08:32:47 +01:00
Martin Diehl 226bbad013 don't waste character space 2018-12-22 08:31:13 +01:00
Martin Diehl e083520c73 trans systems now handled centrally
remove inactive (= untested) definitions.
2018-12-22 07:49:52 +01:00
Martin Diehl e6d5992bb4 poviding stiffness for transformation as function 2018-12-22 00:19:51 +01:00
Martin Diehl f4cf38fa22 implementing C66 rotation for transformation 2018-12-21 23:53:21 +01:00
Martin Diehl b3d14b00b6 cleaning 2018-12-21 23:07:31 +01:00
Martin Diehl 9094bb9a64 private functions at the end 2018-12-21 22:41:39 +01:00
Martin Diehl b6cb456b27 function description as for phenopowerlaw 2018-12-21 18:15:56 +01:00
Martin Diehl d8a7fdd01d function description was wrong 2018-12-21 18:14:54 +01:00
Martin Diehl 2d47af7f56 shortened 2018-12-21 18:10:18 +01:00
Martin Diehl 939cd0e5bf cleaning/adjusting names to paper 2018-12-21 16:01:16 +01:00
Martin Diehl dcd22ccb6a put private functions at the end
for easy separation
2018-12-21 14:56:32 +01:00
Martin Diehl da3f105875 cleaner interface to kinetics 2018-12-21 14:28:25 +01:00
Martin Diehl 24ddd8362d cleaning and simplifying 2018-12-21 12:47:09 +01:00
Martin Diehl 2e8072b768 simplifying 2018-12-21 12:33:31 +01:00
Martin Diehl 8832c04dd0 more sanity checks
number of arguments for values per system needs to match the number of
systems that are defined
2018-12-21 11:52:23 +01:00
Martin Diehl d4c7e8f33b Merge branch 'development' into 22-NewStyle_disloUCLA-2 2018-12-21 06:46:35 +01:00
Martin Diehl fe1183e010 polishing 2018-12-21 06:15:01 +01:00
Philip Eisenlohr a1ff380ef4 slightly better aligned debug output 2018-12-20 17:14:55 -05:00
Martin Diehl 2476dd4d8b shearRates more similar to kinetics 2018-12-19 07:47:13 +01:00
Martin Diehl 89196b953f simplified 2018-12-19 06:57:28 +01:00
Martin Diehl f4cd4bbac5 cleaning 2018-12-18 18:17:06 +01:00
Martin Diehl 4caf93a22f Merge branch 'development' into 42-new-coding-style-for-homogenization-NEW 2018-12-18 17:57:29 +01:00
Franz Roters cd8ee4503b Merge branch '22-NewStyle_disloUCLA-2' into 'development'
Resolve "New coding style for plastic_disloUCLA"

See merge request damask/DAMASK!51
2018-12-18 15:02:12 +01:00
Martin Diehl 0e4dede606 slowly approaching style of phenopowerlaw 2018-12-18 09:52:13 +01:00
Martin Diehl 63c417fbe0 failed if dataset does not exists
empty datasets are not written out
2018-12-18 08:44:11 +01:00
Martin Diehl 27322847a4 reporting command line call 2018-12-17 21:30:30 +01:00
Martin Diehl d00154299b missing information on increment cause HDF5 error
mistook write() statement with a left-over debug message
2018-12-17 20:13:45 +01:00
Martin Diehl 3f3e23c2c8 polished addAttribute and use it to store meta data 2018-12-17 16:15:16 +01:00
Martin Diehl b2062f2a12 label were stored including [] and comments 2018-12-17 16:11:01 +01:00
Martin Diehl 36c7157ee9 vectorized 2018-12-17 08:33:46 +01:00
Vitesh Shah 3e38c4ef8c The attribute interface works for single processor output and single valued attribute 2018-12-15 17:21:03 +01:00
Vitesh Shah d2c7b33cf6 New files made nonexecutable 2018-12-14 11:39:08 +01:00
Vitesh Shah 669d0c6c8f made it nonexecutable 2018-12-14 11:37:44 +01:00
Vitesh Shah 7e41ae264d Made changes with the calling signature 2018-12-14 11:35:41 +01:00
Martin Diehl 4dd064a275 polishing 2018-12-14 09:23:52 +01:00
Martin Diehl 25bd6faf7c left over "if" caused wrong coordinate systems for hex 2018-12-14 06:39:49 +01:00
Martin Diehl 85f1368480 Merge branch 'development' into NewStyleKinematicHardening-2 2018-12-14 06:21:08 +01:00
Martin Diehl 8bea82c72f Merge branch 'development' into 19-NewStylePhenopowerlaw 2018-12-14 05:49:34 +01:00
Martin Diehl 4edaab6da6 definition of cleavage systems did not work
bct definition was overly complicated
2018-12-13 11:11:45 +01:00
Martin Diehl 3352cbac4b segmentation fault
expected instance but passed in phase
2018-12-13 10:51:35 +01:00
Martin Diehl 20671b8ed3 cleaning 2018-12-13 09:51:43 +01:00
Martin Diehl 416d3411c1 leaner APIs 2018-12-13 09:34:40 +01:00
Martin Diehl 98cc79d629 ph not needed any more 2018-12-13 09:14:57 +01:00
Martin Diehl d99778dd96 further cleaning 2018-12-13 08:43:26 +01:00
Martin Diehl a7351deab0 simplified 2018-12-13 08:36:01 +01:00
Martin Diehl 6b5131e0f3 no need to have as a separate state 2018-12-13 07:06:12 +01:00
Martin Diehl dfafddec57 simplifying 2018-12-13 06:59:56 +01:00
Martin Diehl 2aa6b12126 IMPORTANT Behavior change: Slip (Lp) happens in twinned volume fraction
aliases for associate do not have to be defined
2018-12-12 16:13:57 +01:00
Martin Diehl 3bab08fdeb Merge branch 'development' into 56-parallel-hdf5 2018-12-12 07:46:02 +01:00
Martin Diehl fd2d4d856b cleaned + suggested structure to write data 2018-12-12 07:45:20 +01:00
Martin Diehl cb28d10d79 dummy structure to write plasticity results 2018-12-12 06:40:57 +01:00
Martin Diehl 1446e9f4ab polished
sanity checks + documentation
2018-12-12 00:30:20 +01:00
Martin Diehl bf2b074787 make parameters obvious 2018-12-11 23:11:59 +01:00
Martin Diehl c29240c1c8 forestprojection can be calculated centrally 2018-12-11 23:00:56 +01:00
Martin Diehl ef23095332 using function for cleavage system definition
only internally since damage related constitutive laws will be
re-written anyway
2018-12-11 08:03:40 +01:00
Martin Diehl 754e5a960b polishing
sometimes gives segmentation fault/division by zero.
probably the usual problem of dislotwin when running without friction
coefficient B
2018-12-11 07:22:48 +01:00
Martin Diehl 1bcf41100d [skip ci] WIP: cleaning
contains a few bugs
2018-12-11 07:05:37 +01:00
Martin Diehl ee60ce0d98 further simplifications 2018-12-11 01:35:36 +01:00
Martin Diehl 2fac481a26 polishing/sorting 2018-12-11 00:39:50 +01:00
Martin Diehl cee905443b cleaner and safer
- use functions from lattice instead of repeating code
- sanity check for twin nucleation
2018-12-10 08:34:24 +01:00
Martin Diehl 51d8011afe cleaned
- only define variables that are needed
- define variables where they are needed
2018-12-10 08:33:20 +01:00
Martin Diehl efbd50c931 parameters in bold allow easy distinction 2018-12-10 05:52:36 +01:00
Martin Diehl 0f106e77d9 cleaning 2018-12-09 22:20:18 +01:00
Martin Diehl 95826d094c not needed anymore 2018-12-09 22:00:04 +01:00
Martin Diehl 1b571d33a7 using trans-trans interactions from lattice 2018-12-09 21:10:14 +01:00
Martin Diehl 8424ba76ac never used 2018-12-09 20:54:49 +01:00
Martin Diehl 132f417dee Merge remote-tracking branch 'origin/development' into 44-column-major-access-to-interaction-matrices 2018-12-09 20:33:28 +01:00
Martin Diehl 6256de8785 re-implemented sanity checks 2018-12-09 17:53:20 +01:00
Martin Diehl aa9cacdcb0 naming as in dislotwin+phenopowerlaw 2018-12-09 17:36:01 +01:00
Martin Diehl 9e03aae3bf vectorized 2018-12-09 17:35:48 +01:00
Martin Diehl ddecacb172 ready for vectorization 2018-12-09 16:35:28 +01:00
Martin Diehl accd39b27f structuring 2018-12-09 15:58:51 +01:00
Martin Diehl e0cd88d98a preparing for vectorization 2018-12-09 15:38:02 +01:00
Martin Diehl a0b389776d same structure as for dislotwin 2018-12-09 15:00:37 +01:00
Martin Diehl 331a2b9b78 simplified 2018-12-09 14:49:08 +01:00
Martin Diehl 89b054e67b ordered 2018-12-09 14:29:19 +01:00
Martin Diehl 58862a939d initial handling of symmetry introduced 2018-12-08 15:54:59 +01:00
Martin Diehl 5d6faff4d6 moving nice initializers to orientation 2018-12-08 15:44:00 +01:00
Martin Diehl ccdf1e5e8e polishing 2018-12-08 13:49:42 +01:00
Martin Diehl c1e5f66d77 make quaternion accesible
output as usual array to completly hide the internal representation
2018-12-08 13:03:27 +01:00
Martin Diehl 9686014ce0 polishing 2018-12-08 12:52:52 +01:00
Martin Diehl 5cdd603671 dummy orientations module
needs to be extendend to include symmetry
2018-12-08 11:40:27 +01:00
Martin Diehl 40d38ebf55 added rotation conversions
modified versions from 3Drotations code (available on GitHub) by Marc De Graef
2018-12-08 08:02:55 +01:00
Martin Diehl 5768356642 PGI compatible 2018-12-06 01:12:15 +01:00
Martin Diehl 72304638f9 PGI fails if optional argument is not present 2018-12-06 00:43:32 +01:00
Martin Diehl 0ed1bd11bd need to write out total increments
otherwise, group/folder of the same name would exist
2018-12-05 13:54:56 +01:00
Martin Diehl deedbc4fda standard conforming line continuation 2018-12-05 08:59:32 +01:00
Martin Diehl 49af6c70a7 PGI compiler complained about kind mismatch 2018-12-05 08:56:26 +01:00
Martin Diehl adffe41ffe writing group structure in file root 2018-12-05 00:05:43 +01:00
Martin Diehl ecb00af147 cleaning and separating functions 2018-12-04 23:09:25 +01:00
Martin Diehl 8f26fc9358 Merge remote-tracking branch 'origin/development' into 56-parallel-hdf5 2018-12-04 22:34:29 +01:00
Martin Diehl 9caa91ee14 polishing 2018-12-04 22:30:07 +01:00
Martin Diehl a34e27cfcd dependentState is more descriptive than microstructure 2018-12-04 21:53:22 +01:00
Martin Diehl 10445606ba simplified API + general polishing 2018-12-04 21:33:32 +01:00
Martin Diehl 3afb14bea1 simplified 2018-12-04 21:05:34 +01:00
Martin Diehl 0a02939138 vectorized 2018-12-04 20:50:02 +01:00
Martin Diehl 91a2748131 simplifying 2018-12-04 20:33:28 +01:00
Martin Diehl e604a3d9cc simplified 2018-12-04 00:09:11 +01:00
Martin Diehl 49b5271ca4 simplified 2018-12-03 11:25:29 +01:00
Martin Diehl fb651e24ef same structure as in phenopowerlaw 2018-12-03 10:48:37 +01:00
Martin Diehl 4b8f150731 Merge branch 'development' into 22-NewStyle_disloUCLA-2 2018-12-03 06:54:52 +01:00
Martin Diehl 17716b4fa7 Merge branch 'NOSlipFCC' into development 2018-12-03 06:35:29 +01:00
Vitesh Shah 801e472497 Made it non-executable 2018-11-30 17:34:26 +01:00
Vitesh Shah e3d8022776 Read and write works for all types of data in parallel with test module passed 2018-11-30 17:33:30 +01:00
Vitesh Shah 508d6cf9ef After merge 2018-11-30 15:25:58 +01:00
Martin Diehl bbba201362 simpler API 2018-11-30 10:38:05 +01:00
Vitesh Shah ab59274c35 Able to read the independent datasets (outside the groups) in parallel 2018-11-30 10:16:04 +01:00
Martin Diehl f02fa9b7b0 no need to parse the file 2018-11-30 08:36:56 +01:00
Martin Diehl 4e86d239de simplified 2018-11-30 08:25:23 +01:00
Martin Diehl c4df2eeac4 no need to know the phase id 2018-11-30 08:02:28 +01:00
Martin Diehl 47e32b39b9 avoid unallocated array for elasticity only 2018-11-30 07:27:23 +01:00
Martin Diehl 0ea5b58338 Merge remote-tracking branch 'origin/development' into 44-column-major-access-to-interaction-matrices 2018-11-29 11:00:36 +01:00
Martin Diehl 0387486a52 same name as in dislotwin 2018-11-29 10:37:06 +01:00
Martin Diehl 39c1df7542 further simplifications 2018-11-29 10:31:02 +01:00
Martin Diehl bbddb2558c cleaning 2018-11-29 09:22:56 +01:00
Martin Diehl 64e9c7fb77 mean free path and threshold stres don't have to be part of the state 2018-11-29 09:10:22 +01:00
Martin Diehl 28ec50a6a9 simpler reading in 2018-11-29 08:44:31 +01:00
Martin Diehl 252f1a6a75 invlabmdaslip does not need to be stored 2018-11-29 08:32:15 +01:00
Martin Diehl 228ef831f0 cleanding
dependentState/microstructure don't need to be part of the complex state
handling
2018-11-29 08:14:20 +01:00
Martin Diehl 9aec5f6db0 shorter notation 2018-11-29 07:27:35 +01:00
Martin Diehl c0663b9fba storing per family makes loops obsolete 2018-11-29 00:04:01 +01:00
Martin Diehl 5dc696c24e calculating Lp is simple if appropriate data structures are used 2018-11-28 22:40:29 +01:00
Martin Diehl 0649eafded simpler way of Lp calculation 2018-11-28 22:22:13 +01:00
Martin Diehl b917ae2cca function to initialize absolute tolerance for state not needed 2018-11-28 17:12:06 +01:00
Martin Diehl 5983496c35 get output from config module 2018-11-28 16:45:45 +01:00
Martin Diehl 6af633aa28 going towards the new API (ipc,ip,el not of interest) 2018-11-28 07:18:50 +01:00
Martin Diehl b923839b1d no need for conversion 33<->6 2018-11-28 06:44:32 +01:00
Martin Diehl 6e22a76a91 parameters from old 22-NewStyle branch 2018-11-28 06:24:58 +01:00
Martin Diehl e4c801d635 introducing parameter structure 2018-11-27 20:00:45 +01:00
Martin Diehl e305e99541 cleaning 2018-11-27 19:49:04 +01:00
Martin Diehl 6c23e9feb8 be lazy, use a function 2018-11-27 19:28:00 +01:00
Martin Diehl 01bc945579 avoid code duplication 2018-11-27 19:19:36 +01:00
Martin Diehl 87b7569eb5 preparing use of kinetics function 2018-11-27 19:01:55 +01:00
Martin Diehl d06dbf2e47 don't need to repeat code 2018-11-27 18:53:01 +01:00
Vitesh Shah d33df38b42 made it non-executable 2018-11-27 18:52:54 +01:00
Vitesh Shah 0265732e08 Parallel writing and reading of integer datasets working 2018-11-27 18:50:51 +01:00
Martin Diehl d89dc6cc00 preparing for the use of kinetics 2018-11-27 18:41:33 +01:00
Martin Diehl d451a3a7a0 calculation of shearrates etc in one function 2018-11-27 18:25:06 +01:00
Martin Diehl bfad81848a kinetics similar to phenopowerlaw 2018-11-26 22:36:32 +01:00
Yi-Chin Yang c13b9718f6 Merge remote-tracking branch 'origin/development' into NOSlipFCC 2018-11-26 16:10:14 +01:00
Vitesh Shah ef1e9cce0d Functionality to avoid creating datasets in HDF5 of zero dimensions 2018-11-26 15:38:31 +01:00
Martin Diehl cf4a0a69fd Intel compiler detected use of unallocated variable
bug was in for a while
2018-11-26 09:15:44 +01:00
Martin Diehl c63d297145 copied from phenopowerlaw 2018-11-26 07:10:43 +01:00
Martin Diehl 8f59a40f48 using new parameter structure for output 2018-11-26 01:34:38 +01:00
Martin Diehl 4c46f3daa5 adopting argument parsing to Phenopowerlaw 2018-11-26 00:14:27 +01:00
Martin Diehl 9f81fa8e9a prevent segmentation fault
post_results better readable
2018-11-25 21:39:59 +01:00
Martin Diehl 6f93f8de04 starting to introduce parallel structure for new style parameter reading 2018-11-25 19:37:46 +01:00
Martin Diehl 2b9a34eac4 Merge remote-tracking branch 'origin/development' into 20-NewStyleDislotwin 2018-11-25 17:12:26 +01:00
Martin Diehl 7cc2892e64 no need to calculate twinned volume fraction as state 2018-11-25 16:14:46 +01:00
Martin Diehl 8a253856f1 no need to perform the state integration 2018-11-25 15:38:14 +01:00
Martin Diehl 8ccec40e35 Merge remote-tracking branch 'origin/development' into 19-NewStylePhenopowerlaw 2018-11-25 13:39:34 +01:00
Martin Diehl 1808b37357 can be easily computed during postprocessing 2018-11-25 11:17:12 +01:00
Martin Diehl 917453d191 polishing 2018-11-25 11:14:09 +01:00
Martin Diehl c0ce95183c can be easily calculated during post processing
and does not have to be a state
2018-11-25 10:59:36 +01:00
Martin Diehl 1d936fc5f2 simple variable rename causes problem with GCC 7.3
probalby a compiler bug
2018-11-24 09:53:18 +01:00
Yi-Chin Yang efe90f86e2 missing comma 2018-11-23 19:00:37 +01:00
Yi-Chin Yang f0359d36b6 adding FCC {110}<110> family 2018-11-23 18:53:50 +01:00
Vitesh Shah e7581f06d9 Fixed error with parallel write 2018-11-23 17:54:02 +01:00
Vitesh Shah 0e55bd6140 started read parallelization but getting errors 2018-11-23 15:49:43 +01:00
Franz Roters 9760b138c2 added link lost during merge 2018-11-23 15:02:35 +01:00
Franz Roters a498e5580a Merge remote-tracking branch 'remotes/origin/54-populate-grains-deprecated' into development 2018-11-23 14:38:22 +01:00
Martin Diehl c7fb868b40 state layout was broken 2018-11-23 07:01:04 +01:00
Martin Diehl 6df68d9428 no need do constantly convert 3x3 matrix <-> 6 vector 2018-11-23 06:04:39 +01:00
Martin Diehl 8b4781cf28 no need to repeat code 2018-11-23 05:37:31 +01:00
Vitesh Shah a6bc2a16f1 Parallel works for groups and included write function for integer data 2018-11-21 19:35:37 +01:00
Vitesh Shah 5cc6d86c61 Added the parallelized functionality for integer datatypes (works for groups?) 2018-11-21 16:57:36 +01:00
Vitesh Shah d00e3105ed Made hdferr < 0 and removed the unnecessary call to h5getspace in hyperslab 2018-11-21 16:10:17 +01:00
Martin Diehl e2e045f75b using 'service function' for allocation of state 2018-11-20 19:46:55 +01:00
Martin Diehl d0be1d61db Merge branch 'development' into 20-NewStyleDislotwin 2018-11-20 19:41:30 +01:00
Martin Diehl ecde7e5953 Merge remote-tracking branch 'origin/development' into 20-NewStyleDislotwin 2018-11-20 19:38:18 +01:00
Martin Diehl baf56a0e94 respect dependencies of inclusion 2018-11-20 15:27:32 +01:00
Martin Diehl 50a1ba6287 hdferr needs to be integer type during compile time of HDF5 library 2018-11-20 15:26:49 +01:00
Vitesh Shah c0481307ee Changed the intent of input argument of dataset to inout 2018-11-20 11:54:51 +01:00
Martin Diehl be8e6cbe57 Merge branch 'development' into 19-NewStylePhenopowerlaw 2018-11-19 20:27:10 +01:00
Martin Diehl ba5b623f14 Merge branch 'development' into improved-HDF5 2018-11-18 19:44:36 +01:00
Martin Diehl dd6f6bba9d planning the forwarding of the results 2018-11-18 12:41:05 +01:00
Martin Diehl dfd624e520 create results file 2018-11-18 11:58:49 +01:00
Martin Diehl fb5b1bfd8e compile results module 2018-11-18 11:32:53 +01:00
Martin Diehl 35211a8468 compilation order should reflect dependency 2018-11-18 11:24:55 +01:00
Martin Diehl 366c63e273 CONFIG is a keyword for Cmake 2018-11-18 11:21:43 +01:00
Martin Diehl 8b1785c05c parallel writing for pReal 2018-11-18 09:47:50 +01:00
Martin Diehl 73ca289322 F_aim was wrong in case of MPI parallelization 2018-11-17 16:50:19 +01:00
Martin Diehl d8a425b464 prevent error
h5close_f will give an error if h5open_f was not called.
according to the manual, calling h5open_f multiple time is not a problem
2018-11-17 15:00:51 +01:00
Martin Diehl 89504c3c52 will not work with python3 2018-11-17 08:08:27 +01:00
Martin Diehl d5963b403a setting the property when opening the file 2018-11-16 07:05:43 +01:00
Martin Diehl 9b32fe6dbd MPI file access needed for output 2018-11-15 07:28:34 +01:00
Martin Diehl b48bd3a082 keep only general functionality in HDF5_results 2018-11-15 07:07:59 +01:00
Martin Diehl 58f2a25ffd clearer separation of tasks
1) general HDF5_utilities (for results, restart, ...)
2) results related helpers (based on HDF5_utilities)
2018-11-15 06:49:31 +01:00
Martin Diehl e6c7a73886 first step to include HDF5 in MSC.Marc 2018-11-14 13:12:08 +01:00
Martin Diehl fc5300817d Merge remote-tracking branch 'origin/development' into 42-new-coding-style-for-homogenization-NEW 2018-11-13 23:42:39 +01:00
Franz Roters 174997563e Merge branch '47-save-restart-information-in-hdf5' into 'development'
Resolve "save restart information in HDF5"

See merge request damask/DAMASK!44
2018-11-12 08:42:22 +01:00
Franz Roters 475ca29f3c close all objects of type integer(HID_T) created by native hdf5 routines 2018-11-09 16:11:19 +01:00
Franz Roters 71cb635b10 missing link 2018-11-07 15:13:16 +01:00
Franz Roters e18f39d64c added support for Marc 2018.1 2018-11-07 14:11:10 +01:00
Martin Diehl 7386c6ff9c no need for "use" statements
will be inherited from outer function
2018-11-04 20:16:12 +01:00
Martin Diehl 811a02eb51 better readable 2018-11-04 09:19:24 +01:00
Martin Diehl c863419a0b cleaning 2018-11-04 09:00:35 +01:00
Martin Diehl 7a37ea25f3 cleaning 2018-11-04 08:49:40 +01:00
Martin Diehl 78f4d4c5ee simplified 2018-11-04 08:22:59 +01:00
Martin Diehl ff2b693f1e simplified 2018-11-04 07:56:27 +01:00
Martin Diehl 572576cf88 these functions have no side effects 2018-11-04 07:33:57 +01:00
Martin Diehl 4dc3761fea setting of (random) cluster orientations remove
can be easily done in a pre processing step
2018-11-04 07:29:39 +01:00
Martin Diehl f471911e01 fixed array out of bounds during initialization
happened for inactive homogenization
2018-11-04 07:27:25 +01:00
Martin Diehl 3c11905f63 cleaning 2018-11-03 23:43:25 +01:00
Martin Diehl 8127d85be1 simplifying 2018-11-03 23:13:20 +01:00
Martin Diehl 078729bfa3 using dependent state 2018-11-03 22:43:52 +01:00
Martin Diehl 70998f7f9a cleaning 2018-11-03 22:00:40 +01:00
Martin Diehl 69079b6558 was not used at all 2018-11-03 21:16:36 +01:00
Martin Diehl 0aa21e507a functions only used within updatestate 2018-11-03 21:11:43 +01:00
Martin Diehl c16fdec749 misplaced debug statement
debugging the individual constituents should be done by the constitutive
laws
2018-11-03 21:00:54 +01:00
Martin Diehl 85a2f19b18 wrong averaging 2018-11-03 20:03:23 +01:00
Martin Diehl 0447ea9d74 starting to introduce state pointers 2018-11-03 20:00:02 +01:00