Commit Graph

122 Commits

Author SHA1 Message Date
Martin Diehl c2e86a2b2a lessons learned from compilation with Intel 2021.3 2021-08-10 23:47:13 +02:00
Martin Diehl 00a053c4c8 Merge remote-tracking branch 'origin/development' into initial-eigenstrain 2021-08-05 16:25:27 +02:00
Sharan Roongta ac6d31b1f9 Merge branch 'polishing' into 'development'
Polishing

See merge request damask/DAMASK!418
2021-07-26 13:09:49 +00:00
Abisheik Panneerselvam 6a9c892d7b Merge branch 'write_ipdisplacements' into 'development'
Write ip displacements

See merge request damask/DAMASK!414
2021-07-26 09:01:04 +00:00
Martin Diehl a98ae267a0 option to initialize F_i
start simulation with eigenstrain. Works only for moderate
eigentstrains, reaching the plastic limit is most likely an issue.
2021-07-24 18:47:45 +02:00
Martin Diehl eef7b8f0a9 nothing to select anymore 2021-07-24 15:16:30 +02:00
Martin Diehl d87b10bfe7 symbolic names 2021-07-24 15:03:26 +02:00
Martin Diehl 5ac592eb9e initialize L_(i/p), L_(i,p)0 2021-07-22 12:31:10 +02:00
Martin Diehl aa03e59306 same statement, different syntax but silences gfortran runtime warning
with automated LHS, compiling in DEBUG mode (tested for mesh solver)
gives:
home/m/DAMASK/src/phase_mechanical.f90:1010:43: runtime error: signed integer overflow:
-9223372036854775808 - 1 cannot be represented in type 'integer(kind=8)'
2021-07-22 11:24:10 +02:00
Martin Diehl 8feeda6f05 phase_mechanical_elastic should store data related to elasticity 2021-07-21 16:23:21 +02:00
Martin Diehl c109d5a37b better have different physics separated 2021-07-17 14:06:48 +02:00
Martin Diehl f9edeb40a5 descriptive names 2021-07-17 11:50:21 +02:00
Martin Diehl fc735d6391 substate0 only needed for staggered state-stress integration 2021-07-16 23:19:48 +02:00
Martin Diehl 594ad2c310 semi-separate handling of damage 2021-07-16 22:22:41 +02:00
Martin Diehl 2b24224c7e more meaningful name 2021-07-16 20:52:41 +02:00
Martin Diehl cd9d704aae bug fixes:
invalid material.yaml, detect such errors in future
2021-07-05 11:30:52 +02:00
Martin Diehl 6651656903 isoductile is not working 2021-06-28 23:13:56 +02:00
Martin Diehl b4265149c8 simplified 2021-06-24 15:08:31 +02:00
Martin Diehl fada9a7f6c more meaningful order 2021-06-01 17:05:13 +02:00
Martin Diehl 5d0fc4fca3 more meaningful order
and intent(out) variables for read are at the front
2021-06-01 16:46:24 +02:00
Martin Diehl 431416b5ba Separating functionality
lattice should become a module with static data and functions
2021-06-01 07:56:55 +02:00
Sharan Roongta 77a0d5999b not needed 2021-05-28 19:24:38 +02:00
Sharan Roongta 4669c289c7 Merge remote-tracking branch 'origin/development' into Fortran-cleaning 2021-05-28 15:00:06 +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 4d889e0b1b Merge remote-tracking branch 'origin/development' into Fortran-cleaning 2021-05-23 21:24:53 +02:00
Martin Diehl 4713e0e85d new names and mappings 2021-05-23 13:14:57 +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
Martin Diehl d2855913b5 new mappings 2021-05-22 11:48:42 +02:00
Martin Diehl 37d511062d simplified (using new mapping) 2021-05-22 09:33:33 +02: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
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
Martin Diehl 285889b48e merge evaluates both expression, can lead to division by zero 2021-04-13 23:23:39 +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 0fc7f66ef8 consistent names 2021-04-07 21:25:11 +02:00
Martin Diehl c80774f3d2 Merge branch 'development' into Fortran-cleaning 2021-04-06 15:40:51 +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 b797d9d76b not needed 2021-04-06 10:14:52 +02:00
Sharan Roongta 295c036644 not required (checking) 2021-03-29 20:10:57 +02:00
Martin Diehl 2e96fcf768 Merge branch 'development' into spring-cleaning 2021-03-29 07:26:17 +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 f909aee835 Merge remote-tracking branch 'origin/output-rename' into internal-restructure 2021-03-27 13:40:15 +01:00
Martin Diehl ac310ee760 elastic constants with source 2021-03-26 20:12:30 +01:00
Martin Diehl 3b392281e4 consistent naming in HDF5 output 2021-03-25 19:22:59 +01:00
Martin Diehl 52a0f0aaa9 hickup 2021-03-18 08:02:12 +01:00
Sharan Roongta ef792a578b separate elastic submodule 2021-03-16 20:35:29 +01:00
Sharan Roongta ce91537b0f get_asXXs --> get_as1dXX 2021-03-11 18:40:16 +01:00
Martin Diehl f3558f19b6 standardizing
1) don't start with capital letters
2) mechanics -> mechanical, plasticity -> plastic, elasticity -> plastic
3) store results per top level group (no plasticity, only mechanics)
2021-03-10 22:38:29 +01:00
Philip Eisenlohr 5cd68dbddb fixed stray homogenization_Nmembers --> _Nconstituents 2021-03-04 15:36:36 -05:00
Philip Eisenlohr a7e2ed40dd rename Nconstituents --> Nmembers 2021-03-04 15:16:36 -05:00
Martin Diehl ae57ba9707 got random errors 'O not found'
might be related to use of pointers in openMP. Not nice, but openMP
during initialization is not really required
2021-02-28 20:10:12 +01:00
Sharan Roongta 89858543fa more cleaning; use 'ce', 'ph', 'me' wherever applicable
hide ip,el
2021-02-23 11:47:29 +01:00
Sharan Roongta 286f59ed8c fix for OpenMP 2021-02-23 10:47:04 +01:00
Sharan Roongta e249168189 modifying storing of orientations;
needed for nonlocal, and also to remove the use if ip,el at homogenization level.
ip, el should be used only for looping eventually.
2021-02-22 20:38:49 +01:00
Sharan Roongta 9f78e27724 use cell mapping 2021-02-15 18:43:51 +01:00
Martin Diehl 341e8ddd6a storing per instance does not add any value 2021-02-14 18:34:48 +01:00
Martin Diehl f46d212e47 simplified access pattern 2021-02-14 17:35:39 +01:00
Martin Diehl 4026881e5a clean interface
still need to get rid of internal converstion to instance and el,ip
arguments
2021-02-14 15:29:10 +01:00
Martin Diehl 18971d7d8b separation by instance does not add any value 2021-02-14 10:26:33 +01:00
Martin Diehl c09c2a6c8e easier to read without instance 2021-02-14 00:50:42 +01:00
Martin Diehl 9481b16878 missing renames 2021-02-13 19:10:13 +01:00
Martin Diehl 22a0aff488 separting thermal and damage sources 2021-02-13 18:41:30 +01:00
Martin Diehl b3dde6d722 only one damage mechanism per phase
material.yaml specification is designed to allow more than one, but that
requires to have two phase fields etc.
For the moment, keep it as simple as possible.
2021-02-13 09:55:17 +01:00
Martin Diehl f95e3bc08d simplified access pattern 2021-02-13 07:25:48 +01:00
Martin Diehl 7bec3e0363 use partitioned damage 2021-02-12 11:24:04 +01:00
Martin Diehl f6be3fe0b7 no need for pointer 2021-02-12 07:58:00 +01:00
Martin Diehl e855083964 systematic names 2021-02-11 14:19:04 +01:00