Commit Graph

314 Commits

Author SHA1 Message Date
Martin Diehl 8b11af0d84 more sensible location 2021-01-25 15:13:17 +01:00
Martin Diehl fdc48a7987 not used 2021-01-25 14:43:09 +01:00
Martin Diehl 6292094a65 not needed
partitionedState was only for RGC-triggered cutback.
subState is for internal iteration, no need to store for all points
2021-01-25 14:03:49 +01:00
Martin Diehl 5592f5aa34 simplified 2021-01-25 13:49:29 +01:00
Martin Diehl 2f5c988a89 removed dead code
at least in the tests it was not used ...
2021-01-25 13:34:06 +01:00
Martin Diehl 6cca9202ad substepping seems to be inactive
even in RGC test
2021-01-25 07:52:22 +01:00
Martin Diehl 2533e0616d don't discriminate by number of constituents/grains 2021-01-25 07:28:47 +01:00
Martin Diehl 5a35c5ebc3 homogenization functionality 2021-01-24 22:44:47 +01:00
Martin Diehl 1f94a64ca6 part of homogenization 2021-01-24 18:47:19 +01:00
Martin Diehl b58465415b store damage parameter like temperature 2021-01-24 18:20:47 +01:00
Martin Diehl 26c7969837 not needed anymore 2021-01-24 17:12:34 +01:00
Martin Diehl 599dc2a2c6 base HDF5 output on new data 2021-01-24 16:34:51 +01:00
Martin Diehl c2ae2c919b use new structure 2021-01-24 15:19:57 +01:00
Martin Diehl e22d76be9e using new structure for thermal 2021-01-24 13:26:01 +01:00
Martin Diehl 9f3fc68325 partitionedState not needed 2021-01-24 12:14:45 +01:00
Martin Diehl c729e7d53f cell-based indexing 2021-01-24 09:39:40 +01:00
Martin Diehl 32bb0d8c6e new variables for damage 2021-01-20 21:37:43 +01:00
Martin Diehl 219529a402 field variables 2021-01-20 20:40:14 +01:00
Martin Diehl 9a7017484d wrapper for homogenization of temperature rate 2021-01-17 15:10:43 +01:00
Martin Diehl 833d25420b using new mapping
discrimination of integration point and element makes only sense for the
solver
2021-01-17 14:52:52 +01:00
Martin Diehl ca5409f0f1 similar structure as for mechanics 2021-01-17 13:20:17 +01:00
Martin Diehl 7c159366d5 simplified 2021-01-17 10:16:56 +01:00
Martin Diehl 79364beadc partition temperature and use it
further work required:
- homogenization_T does not have the correct value
- homogenization of rate needed
2021-01-17 10:10:30 +01:00
Martin Diehl c8be2b321c separat handling of thermal constitutive response 2021-01-17 09:38:37 +01:00
Martin Diehl 65bd880fdf clearerer names 2021-01-08 07:10:38 +01:00
Martin Diehl 27f4e4ce2a separate state for thermal 2021-01-07 22:23:13 +01:00
Martin Diehl 0dac5f84ef dummy data layout 2020-12-30 12:00:47 +01:00
Martin Diehl 9ce932a082 distributing tasks 2020-12-30 09:24:47 +01:00
Martin Diehl a5cdc8433f better readable 2020-12-29 13:01:33 +01:00
Martin Diehl 5f569b1412 explicit arguments instead of global variables 2020-12-29 00:39:23 +01:00
Martin Diehl d59cb81ca8 too early (depends on IP) 2020-12-28 10:56:55 +01:00
Martin Diehl 7d76752281 intended hierarchy 2020-12-28 10:01:04 +01:00
Martin Diehl 190df4830c simplified 2020-12-28 09:36:02 +01:00
Martin Diehl e6f27e91b1 consistent names 2020-12-28 09:18:20 +01:00
Martin Diehl 830e2a3a99 shortened 2020-12-28 09:13:56 +01:00
Martin Diehl f861120f91 separation of responsibility 2020-12-27 21:45:31 +01:00
Martin Diehl 4a839053eb not used
was only used for reporting (see v.2.0.0)
2020-12-27 21:26:35 +01:00
Martin Diehl a13a6624fe clearer logic 2020-12-27 21:20:54 +01:00
Martin Diehl 609d69a3e7 polishing 2020-12-27 13:36:02 +01:00
Martin Diehl e8ea815d92 simplified 2020-12-27 11:48:02 +01:00
Martin Diehl cee04c9b5f not needed 2020-12-27 10:22:03 +01:00
Martin Diehl ddb59b6ad0 simplified 2020-12-27 10:19:39 +01:00
Martin Diehl edef98fd06 proper indentation 2020-12-24 12:44:26 +01:00
Martin Diehl 895cad6506 only needed per point 2020-12-23 17:23:29 +01:00
Martin Diehl 18458d34e9 no global variables 2020-12-23 14:57:53 +01:00
Martin Diehl 12b1c7e641 one loop is enough 2020-12-23 14:37:12 +01:00
Martin Diehl be4616368b new names 2020-12-23 14:24:44 +01:00
Martin Diehl 8ac880c0ad don't clutter with statements that are never used 2020-12-23 14:10:26 +01:00
Martin Diehl b12f882ad4 avoid global variables 2020-12-23 12:25:56 +01:00
Martin Diehl 026ac07c9e better use one loop 2020-12-23 11:37:00 +01:00
Martin Diehl 73523c8f62 not a global variable 2020-12-23 11:24:02 +01:00
Martin Diehl 44d8210f2d not needed anymore 2020-12-23 11:07:57 +01:00
Martin Diehl a9b674b9e9 no need for separate loop 2020-12-23 10:11:21 +01:00
Martin Diehl 82eb532193 separating functionality 2020-12-23 06:58:54 +01:00
Martin Diehl fa3d7b8dc7 new name 2020-12-22 10:23:46 +01:00
Martin Diehl da558b31c1 clear responsibilities 2020-12-22 08:45:01 +01:00
Martin Diehl 2434712d7e better matching name 2020-12-21 23:33:32 +01:00
Martin Diehl 93b9677ec8 not needed anymore 2020-12-20 11:24:29 +01:00
Martin Diehl 9425184b52 using new functions 2020-12-20 09:31:02 +01:00
Martin Diehl 8dbc3d2d47 no special (untested) cases any more 2020-12-19 17:25:57 +01:00
Martin Diehl 3884549e19 store field variables as 1D array
first step of simplifying layout:
1) Solver translates from ip,el tuple (FEM) or cells(1),cells(2),cells(3) triple to list.
2) DAMASK iterates over all points
3) homogenization knows mapping (point,constituent) -> (instance,member)
2020-12-16 21:56:02 +01:00
Martin Diehl 5d9c931008 code follows structure 2020-12-16 11:27:42 +01:00
Martin Diehl 870c0f7aca removed aliases
required bump of DADF5 version
2020-11-18 14:53:11 +01:00
Martin Diehl 10b8a04d89 no need for fixed-length string 2020-11-06 00:59:12 +01:00
Martin Diehl 839be90943 consistent naming
Nxxxs => the number of xxx
2020-10-27 21:27:26 +01:00
Martin Diehl 9119254210 materialpoint => homogenization
especially as prefix for global data (clear name spaces)
2020-10-24 17:26:42 +02:00
Martin Diehl 68017e49b2 consistent name 2020-10-24 12:45:21 +02:00
Sharan Roongta 3e4330d10a partition, not partion 2020-10-07 22:15:13 +02:00
Martin Diehl 57174d0aba do not store dPdF at the crystallite level 2020-09-30 11:23:49 +02:00
Martin Diehl 7f8613f6ad always update dPdF (was the default anyways) 2020-09-30 10:24:24 +02:00
Martin Diehl d805887ef7 smaller, readable functions 2020-09-28 17:56:48 +02:00
Martin Diehl 41fbc58c1b standard conforming name 2020-09-22 13:09:12 +02:00
Martin Diehl 63f9078f04 don' hardcode output unit
replaced remaining write(6,..), flush(6) with write(OUTPUT_UNIT,...),
flush(OUTPUT_UNIT)
2020-09-22 12:15:36 +02:00
Martin Diehl 4a913c83e5 simplified print and format strings 2020-09-17 22:57:56 +02:00
Martin Diehl b499578a95 prefix should be name of the module
poor substitute for namespace
2020-09-13 10:39:17 +02:00
Sharan Roongta 7754a1ea56 Restructuring for material.yaml 2020-08-15 16:08:46 +02:00
Philip Eisenlohr c1358294f7 Corrected Kirchoff --> Kirchhoff 2020-08-12 15:14:00 -04:00
Sharan Roongta 48b42debe0 redundant 2020-07-03 20:55:05 +02:00
Martin Diehl 432609ec14 cleaning 2020-07-03 16:45:11 +02:00
Sharan Roongta 699af6a3f1 avoid variable name conflict with a module name 2020-07-02 01:25:24 +02:00
Sharan Roongta 02ee64bce4 make use of submodule property 2020-07-01 22:51:21 +02:00
Sharan Roongta c5bd45bf57 use submodule property; simplifying 2020-07-01 22:20:22 +02:00
Sharan Roongta 57e4d01a6b Merge branch 'development' into YAML-compatible-debug 2020-07-01 13:40:56 +02:00
Martin Diehl 640bc7b190 [skip ci] polishing 2020-06-29 15:09:13 +02:00
Sharan Roongta 14a4dc5184 Merge branch 'YAML-compatible-numerics' into YAML-compatible-debug 2020-06-27 21:48:59 +02:00
Sharan Roongta 77e7e3d3c4 polishing 2020-06-26 20:12:05 +02:00
Sharan Roongta 6f9f494654 minor polishing 2020-06-26 12:22:33 +02:00
Sharan Roongta 0cf06a77d4 bugfix 2020-06-18 18:14:53 +02:00
Sharan Roongta c987f55f69 DAMASK structure updated; define debug parameters when used by a module 2020-06-18 16:40:39 +02:00
Sharan Roongta 19c44d5e97 Read numerics.yaml once 2020-06-16 18:47:19 +02:00
Martin Diehl e952ab7127 bugfix
do not access unitinialized memory
2020-06-15 23:12:49 +02:00
Martin Diehl a4c52ec1fa extra variable not needed 2020-04-15 21:56:20 +02:00
Martin Diehl 6e48585de1 prefix for local variables not needed 2020-04-15 13:09:05 +02:00
Martin Diehl ae95a96c88 better readable 2020-04-15 08:53:25 +02:00
Martin Diehl c7e6277758 not needed
https://stackoverflow.com/questions/19687233
2020-04-14 15:34:38 +02:00
Martin Diehl bf970bb146 2 space indentation 2020-04-14 09:49:03 +02:00
Martin Diehl 9d831cf268 not needed as module variable 2020-04-14 09:43:43 +02:00
Martin Diehl 912c064b57 indicate read-only public variables 2020-04-14 09:38:48 +02:00
Martin Diehl 0de4520580 directly calculate subF 2020-04-14 08:24:28 +02:00
Martin Diehl 0894886744 can be calculated when needed 2020-04-14 07:57:25 +02:00
Martin Diehl d616c1dda8 better use explicit arguments 2020-04-14 07:45:39 +02:00
Martin Diehl 95e41e0b3f not needed (just linear interpolation) 2020-04-14 07:22:30 +02:00
Martin Diehl 11e58bcc2f not needed
why debugging allocate?
2020-03-29 22:37:48 +02:00
Martin Diehl 2a37acfe5e store data where it is needed 2020-03-29 20:04:51 +02:00
Martin Diehl 71d4de269a better store data locally 2020-03-17 00:39:32 +01:00
Martin Diehl 62898a70a0 use automated LHS allocation 2020-02-21 23:40:29 +01:00
Martin Diehl f72b856a18 no reason for critical
will always (and only) set to .true.
2020-02-21 23:37:35 +01:00
Franz Roters 47109b903b Merge branch 'plasticity-submodule' into 'development'
Plasticity submodule

See merge request damask/DAMASK!120
2020-02-06 10:13:48 +01:00
Martin Diehl e532641015 dependency on element not needed for homogeneous meshes 2020-01-25 09:24:42 +01:00
Martin Diehl bd67d2bb6a new mappings have clear name, not (1,2) 2020-01-23 13:16:45 +01:00
Martin Diehl cad6fc7843 Merge branch 'development' into plasticity-submodule 2020-01-13 20:57:12 +01:00
Martin Diehl f0d3b29b82 Merge branch 'development' into MiscImprovements 2019-12-21 06:53:56 +01:00
Martin Diehl befd4e2adf avoid imports 2019-12-19 07:49:53 +01:00
Martin Diehl f0ad075802 fixed indentation 2019-12-19 00:01:44 +01:00
Martin Diehl 4b6388fbb2 always use HDF5 output 2019-12-18 20:05:51 +01:00
Martin Diehl 9b67ead62f removed postResults completely 2019-12-11 00:10:02 +01:00
Martin Diehl 8fb8e9be6e write temperature to DADF5 2019-12-10 20:25:19 +01:00
Martin Diehl db91803b80 cleaning 2019-12-10 17:52:37 +01:00
Martin Diehl 5681e661e2 DADF5-results replaces postResults 2019-12-10 07:31:09 +01:00
Martin Diehl 1c18086402 not needed anymore 2019-12-09 05:58:27 +01:00
Martin Diehl 07ebd8d1b3 only damage/thermal 'homogenization' postResults is currently needed 2019-12-09 05:48:37 +01:00
Martin Diehl c36a5bdfbb bugfix: calculation of size of postResults was wrong 2019-12-02 23:06:28 +01:00
Martin Diehl 9882c3532a avoid use of low-level HDF5 routines 2019-12-02 22:26:08 +01:00
Martin Diehl f85ee7d7fb plasticity is postResults-free 2019-12-02 12:39:44 +01:00
Martin Diehl 67c8d3899d crystallite output fully removed 2019-11-25 08:44:44 +01:00
Martin Diehl e20477099e no crystallite output 2019-11-24 09:46:46 +01:00
Martin Diehl 032b65fe65 not needed 2019-09-27 14:33:56 -07:00
Martin Diehl 372536d57e unit test for rotation class 2019-09-22 06:53:03 -07:00
Martin Diehl 7ccc097406 for testing output of materialpoint results 2019-07-15 17:08:18 -07:00
Martin Diehl f54a6cdc3b white space adjustments 2019-06-15 16:42:16 +02:00
Martin Diehl 57a0d33293 consistent names 2019-06-15 14:33:20 +02:00
Martin Diehl 937a84231f material_phase is deprecated 2019-06-15 13:57:24 +02:00
Martin Diehl 9c4f92a01c substitute phasememberAt with material_phaseMemberAt
need to be clear where a global variable is defined
2019-06-14 09:09:16 +02:00
Martin Diehl 7a878cab3a phaseAt(c,i,e) substituted by material_phaseAt(c,e) 2019-06-14 09:02:28 +02:00
Martin Diehl b2409d6998 cleaning 2019-06-11 13:34:55 +02:00
Martin Diehl cfc1dcf04b mesh_elem and theMesh are deprecated 2019-06-06 22:49:17 +02:00
Martin Diehl 0720da29fb mesh_element is deprecated 2019-06-06 21:14:37 +02:00
Martin Diehl a5c6e4b17c do not clutter the code with use statements 2019-05-28 12:06:21 +02:00
Martin Diehl 60c2a5fc06 loop (forall) over integration points wrong
this was done for each integration point, but this was not detected for
the forall loop
2019-05-18 22:03:59 +02:00
Martin Diehl 34bcd38240 cleanup 2019-05-18 07:43:41 +02:00
Martin Diehl 2258bfb221 RGC as submodule
submodules inherit use-associated entities and implicit none/private
statements
2019-05-18 07:23:46 +02:00
Martin Diehl ed8af98d69 don't clutter with use statements 2019-05-18 06:54:45 +02:00
Martin Diehl dce4775c17 removal of RGC out led to undefined variable 2019-05-17 06:36:30 +02:00
Martin Diehl 6df563624d type needed for postResults 2019-05-16 21:57:20 +02:00
Martin Diehl 39a75c2015 phasing out postResults
starting with RGC because it is rarely used and removing it here allows
to go ahead with the submodule structure for homogenization
2019-05-16 10:23:23 +02:00
Martin Diehl 789420c9d6 Merge branch 'no-pInt-implicitNone' into 'development'
No pInt and implicit none

See merge request damask/DAMASK!81
2019-05-15 21:40:13 +02:00
Franz Roters d29967d8b2 Merge remote-tracking branch 'remotes/origin/improve-Lp-guessing' into development 2019-05-15 08:10:46 +02:00
Martin Diehl 346c7c4a7f one implicit none is enough 2019-05-14 23:12:32 +02:00
Philip Eisenlohr 9249b7f4af improved column alignment of indices such as (g,i,e) 2019-05-14 19:52:48 +02:00
Philip Eisenlohr f3d8b960fd included Li in list of protected quantities for fake cutback 2019-05-14 19:46:25 +02:00