Commit Graph

2086 Commits

Author SHA1 Message Date
Martin Diehl fdd5b93e7c avoid FPE exceptions 2019-04-17 15:19:41 +02:00
Martin Diehl a6e6db0559 more stable/robust conversions 2019-04-17 12:52:48 +02:00
Martin Diehl 5d23a61fb0 same order as in the python module
... and only one "implicit none"
2019-04-16 22:17:56 +02:00
Martin Diehl ed8270d432 need to read reference stiffness 2019-04-16 14:53:36 +02:00
Martin Diehl d0a4cbf8d5 one implicit none is enough 2019-04-15 16:41:54 +02:00
Martin Diehl 8f58f1348e _pInt not needed 2019-04-15 16:19:30 +02:00
Martin Diehl 19dfefc2f4 fixed deadlock in grid_mech_FEM 2019-04-15 16:16:14 +02:00
Martin Diehl 4793f964f8 unified style 2019-04-15 15:53:46 +02:00
Martin Diehl 18f9deef1a fixed deadlock 2019-04-15 15:27:58 +02:00
Martin Diehl 1e2766cda6 not needed 2019-04-13 15:37:34 +02:00
Martin Diehl c4784e6673 better readable 2019-04-13 15:34:51 +02:00
Martin Diehl 89679147e8 leaner group structure, centrally handled 2019-04-13 09:47:56 +02:00
Martin Diehl 1036c76ae0 to transpose already when constructing the interaction matrix 2019-04-13 00:46:27 +02:00
Martin Diehl ffdd3955a3 implicit none is not needed 2019-04-13 00:44:00 +02:00
Martin Diehl 0335207956 complex orientation initialization conflicts with phase field
- easier to do as pre processing (python)
- ensures same solution independently of random number
2019-04-13 00:37:51 +02:00
Vitesh Shah a59c5c30c9 some cleanup 2019-04-11 18:48:28 +02:00
Vitesh Shah 057bee92af adding C_ref to HDF5 file doesnt work 2019-04-11 18:43:20 +02:00
Vitesh Shah a5b3fa565f Some incorrect variable names fixed 2019-04-11 18:36:28 +02:00
Vitesh Shah 8609c959df grid_mech_polarisation works 2019-04-11 15:51:34 +02:00
Martin Diehl 12efa108d6 store grid and size
store it temporarly at "mappings", later on they will be attached to the
(no yet existing) coordinates
2019-04-11 15:44:34 +02:00
Martin Diehl 3c8d96c54c enable more complex attributes 2019-04-11 15:44:08 +02:00
Martin Diehl 8e295cbadf no need to create type for native data types 2019-04-11 12:48:39 +02:00
Martin Diehl 52555d8c3c key words don't contain small letters
moved more variables from numerics to crystallite
2019-04-11 11:27:03 +02:00
Martin Diehl 8f7239b75d repetition not needed
- implicit none at the beginning of the module is enough
2019-04-11 07:35:58 +02:00
Martin Diehl 67eb39255a keep connected data together
- avoids dependencies
- easier to read and modify
2019-04-11 07:24:04 +02:00
Martin Diehl 8d90cfb600 unused variables 2019-04-11 06:46:31 +02:00
Franz Roters da034f971c Merge branch 'HDF5-out-3' into 'development'
Hdf5 out 3

See merge request damask/DAMASK!70
2019-04-10 20:39:37 +02:00
Vitesh Shah 1852f580ad grid_mech_FEM works 2019-04-10 18:19:10 +02:00
Martin Diehl 5989075009 working for grid_mech_spectral_basic 2019-04-10 13:23:57 +02:00
Martin Diehl c2cb8e2033 HDF5/results need rotation 2019-04-07 17:46:35 +02:00
Martin Diehl c3925b3497 small polishing 2019-04-07 14:47:21 +02:00
Martin Diehl 0b70f01e04 polishing 2019-04-07 14:28:08 +02:00
Martin Diehl 2fa8691335 prefix is added centrally already 2019-04-07 14:26:01 +02:00
Martin Diehl 7d0ebc4ded implicit none only needed once per module 2019-04-07 14:24:46 +02:00
Martin Diehl b2e293057a write rotation to results file 2019-04-07 14:02:24 +02:00
Martin Diehl d6d3f7aad7 write rotation as quaternion to HDF5 in named type 2019-04-07 13:26:23 +02:00
Martin Diehl 0b2c6c69c2 number ID as prefix to section names
enables unique and consistent section names for output
2019-04-07 13:20:44 +02:00
Martin Diehl 5075e1c2fb constituent (ex crystallite) results are stored in HDF5
currently, not the best code but new structure for crystallite data will
fix that
output of orientations still missing
2019-04-06 12:08:25 +02:00
Martin Diehl 1aed224c3b numerically more stable
avoids division by zero
2019-04-06 12:08:25 +02:00
Martin Diehl bfb6ad557f WIP: crystallite HDF5 results
will be stored according to the phase sections
2019-04-06 12:08:25 +02:00
Martin Diehl 7af3e70061 no pInt 2019-04-06 12:08:25 +02:00
Martin Diehl ab5a29b559 explicit import
for some reasons, ifort does not resolve the specific subroutine for the
writeDataset interace otherwise
2019-04-06 08:01:10 +00:00
Martin Diehl 6553fe815e proper indentation 2019-04-06 07:56:47 +00:00
Martin Diehl b52d5ab20b some more outputs
mainly done by Vitesh, copied it from other branch
2019-04-05 22:23:02 +02:00
Martin Diehl ccaea6b9d9 Merge branch 'development' into HDF5-out-3 2019-04-05 21:50:19 +02:00
Martin Diehl 72b30729bb submodule for homogenization
first draft, RGC not included because of name clash with isostrain
2019-04-05 21:46:00 +02:00
Martin Diehl 489a24afd8 consistent names 2019-04-05 20:58:56 +02:00
Martin Diehl 148440c16e consistent indentation 2019-04-05 20:51:57 +02:00
Martin Diehl 4aa52fa83f no pInt 2019-04-05 20:45:56 +02:00
Martin Diehl adebbcf5df preprocessor statements confuse cmake 2019-04-05 20:14:01 +02:00
Martin Diehl 7c30be47b0 mapping for materialpoint/homogenization
HDF5 file writing active for MSC.Marc/Abaqus (optional)
2019-04-05 16:53:41 +02:00
Martin Diehl 049cd96bbf introduced constituent mapping
this mapping will be used to find for a given location in the mesh the
constituent (phase/crystallite) results
2019-04-05 14:02:24 +02:00
Martin Diehl 63e6d60949 [skip sc] wip: implementing mapping for HDF5 2019-04-04 16:33:12 +02:00
Martin Diehl 953acf9c71 introducing new mappings 2019-04-04 13:25:29 +02:00
Martin Diehl 280a11c4bc avoid checking of unitialized variables 2019-04-04 11:49:23 +02:00
Martin Diehl bc4b79a3a2 writing results out
credits to Vitesh
2019-04-04 10:04:44 +02:00
Martin Diehl 811883df28 avoid error for empty datasets 2019-04-04 10:03:52 +02:00
Martin Diehl 658befa1a1 no pInt and some renames 2019-04-04 09:12:57 +02:00
Martin Diehl 4cac2448d4 writing more results out 2019-04-04 07:52:36 +02:00
Martin Diehl d0b1db1966 use consistent pre processor macro 2019-04-04 07:42:59 +02:00
Martin Diehl 19b1bc5e76 consistent use of keyword 2019-04-03 21:43:00 +00:00
Martin Diehl 5f462729c7 was .or., i.e. should be max not min 2019-04-03 21:42:30 +00:00
Martin Diehl 43bf51da67 copy and paste error in installation target of FEM 2019-04-03 20:23:46 +02:00
Martin Diehl f4c507942a let cmake do the work 2019-04-03 18:38:46 +02:00
Martin Diehl bdaa703d37 forall is deprecated, do concurrent not yet established 2019-04-03 18:26:43 +02:00
Martin Diehl b0f9444175 correct types (PGI complained) 2019-04-03 16:25:58 +00:00
Martin Diehl 453eb538f7 preparing for PGI compiler 2019-04-03 16:24:15 +00:00
Martin Diehl 43ead134d2 using correct comparison
-MIN is the minimum version that works
-MAX is the maximum version that works
2019-04-03 14:49:16 +02:00
Martin Diehl 9759d3d041 forall is deprecated
- performance-wise, there should be no difference for the small loops we
have
- still, the on-liner syntax was much nicer
2019-04-03 13:25:01 +02:00
Martin Diehl 4724e42b7f fixed indentation 2019-04-03 13:11:18 +02:00
Martin Diehl 3887d5631a handling of PGI compiler was to cumbersome 2019-04-03 13:04:03 +02:00
Martin Diehl e33807aab3 fixed indentation 2019-04-03 12:54:07 +02:00
Martin Diehl 1d31c5c2db pInt not needed 2019-04-03 12:32:30 +02:00
Martin Diehl 48633d887b allow to specify min and max of PETSc separately 2019-04-03 11:53:59 +02:00
Martin Diehl 3a8f48a0f8 easier to adjust to new versions 2019-04-03 08:25:42 +02:00
Martin Diehl 4604e65a42 use matmul instead of hand-written functions
- performance is the same
- leaner code
- matmul works (was buggy a few years ago)
2019-04-03 08:22:04 +02:00
Martin Diehl bcaadac79a simplification in agreeemnt with the paper 2019-04-02 15:39:55 +02:00
Martin Diehl a5827c5ef3 using suitable defaults for damage 2019-03-29 14:26:32 +01:00
Martin Diehl be421f0cf5 use FFTW default flag and constants from include file 2019-03-29 08:48:32 +01:00
Martin Diehl 019d241c67 keyword "spectralsolver" is currently used in the tests
should become grid_mech soon
2019-03-29 08:45:25 +01:00
Martin Diehl 8aee3d7f54 use list from separate module 2019-03-29 08:34:44 +01:00
Martin Diehl 5ffe78ff1f bugfix: strain rate was missing
dot_gamma is per definition positive, abs only confuses the reader
2019-03-28 09:47:03 +01:00
Martin Diehl 32c03d0b9b keyword has not changed (yet) 2019-03-28 09:20:24 +01:00
Martin Diehl 9f2559baf5 allow defaultVal string of variable length 2019-03-28 07:04:48 +01:00
Martin Diehl 4470ecfe4a better have a separate module 2019-03-28 06:52:17 +01:00
Martin Diehl 6996eb36c0 more renames 2019-03-28 06:39:07 +01:00
Martin Diehl daab9263d3 using names from DAMASK paper 2019-03-27 23:09:45 +01:00
Martin Diehl 3700bacccc consistent indentation 2019-03-27 22:42:02 +01:00
Martin Diehl 464375a54e pInt does not add any value 2019-03-27 22:12:31 +01:00
Martin Diehl 454898a235 Merge branch 'development' into MiscImprovements 2019-03-27 19:52:56 +01:00
Franz Roters 1e20e94792 Merge remote-tracking branch 'remotes/origin/Grid-FEM-2' into development 2019-03-27 16:57:20 +01:00
Martin Diehl 1f41549a2c avoid explicit loops 2019-03-27 12:37:48 +01:00
Martin Diehl 6070c0c2b1 f***ing windows always sets executable bit 2019-03-26 21:44:58 +01:00
Martin Diehl 1ff55b6374 not supported by ancient compiler needed for Abaqus 2019-03-26 21:44:25 +01:00
Martin Diehl bff03063e2 simpler logic 2019-03-26 21:44:25 +01:00
Martin Diehl ce2cb16921 better define variables close to their usage 2019-03-26 07:36:55 +01:00
Martin Diehl 49ff1454a9 no need for explicit loops 2019-03-26 06:47:17 +01:00
Martin Diehl 1869f2cdcd string length handling in-line with other functions 2019-03-26 06:27:13 +01:00
Martin Diehl 2feb79833c better use functions than global variables
need to design a test before full migration
2019-03-25 21:54:08 +01:00
Martin Diehl 17455d1dc6 syntax polishing 2019-03-25 19:17:10 +01:00
Martin Diehl 27da4b2b7a pInt not needed 2019-03-25 18:28:07 +01:00
Martin Diehl 761dcb0358 no need for explicit loop 2019-03-25 18:04:53 +01:00
Martin Diehl df32759825 Merge remote-tracking branch 'origin/development' into MiscImprovements 2019-03-25 16:35:32 +01:00
Martin Diehl 0503a80943 avoid the use of global variables
better to define variables where they are used
2019-03-25 15:54:51 +01:00
Martin Diehl 12723d7247 running test (hopefully) 2019-03-25 13:10:56 +01:00
Martin Diehl 010fd0b862 using config_numerics instead of global values 2019-03-25 09:36:59 +01:00
Franz Roters af611d7ca4 Merge branch 'Dislotwin-Names-as-in-paper' into 'development'
Dislotwin names as in paper

See merge request damask/DAMASK!66
2019-03-25 09:16:36 +01:00
Martin Diehl 29fff6b158 fixed reporting and restart 2019-03-25 08:09:09 +01:00
Martin Diehl 19af34e054 cleaned
- no Pint
- consistent indentation
2019-03-24 12:07:51 +01:00
Martin Diehl 293f869fe5 improved signal handling
- possibility to catch SIGTERM
- functions to set SIG(TERM/USR1/USR2) explicitly
2019-03-24 11:59:00 +01:00
Martin Diehl 728dac5a48 separate module for linked list 2019-03-24 11:40:05 +01:00
Martin Diehl dada4e69b6 consistent use of 2 blanks, no pInt 2019-03-24 11:28:20 +01:00
Martin Diehl 320f39925a modernized
- no pInt
- consistent indentation by 2 spaces
- no leftovers from old file parsing
2019-03-24 11:18:59 +01:00
Martin Diehl 0f2013e78a modernized
- no pInt
- consistent 2-blank indentation
- use of parameter structure
2019-03-24 11:01:27 +01:00
Martin Diehl c1d4b64b13 better use intrinsic F2003 features 2019-03-24 10:48:46 +01:00
Martin Diehl 2e164a1ddd need to write out these tensors for restart 2019-03-24 09:51:47 +01:00
Martin Diehl 0fecac4f2a load case rotation works for polarisation solver 2019-03-23 16:47:26 +01:00
Martin Diehl a06be13d49 following structure of mech_spectral_basic 2019-03-23 15:39:28 +01:00
Martin Diehl 7ccb5c1fa3 enables load case rotation feature 2019-03-23 14:25:05 +01:00
Martin Diehl 5a3689770a restart for grid mech FEM now working 2019-03-23 10:46:56 +01:00
Martin Diehl d55a7da592 renaming "spectral" to "grid" 2019-03-23 09:27:58 +01:00
Martin Diehl 593fa24bad remove global variables 2019-03-23 06:53:29 +01:00
Martin Diehl 798c5bb633 initial takeover from older branches 2019-03-23 06:21:18 +01:00
Martin Diehl 72476ae796 internal (private) functions at the end of the module 2019-03-22 16:02:00 +01:00
Franz Roters b8117d4057 LpAndItsTangent called kinetics_twip a second time instead of kinetic_trans 2019-03-22 15:31:29 +01:00
Martin Diehl 5050f21a6e [skip ci] more renames for consistency 2019-03-22 12:28:53 +01:00
Martin Diehl 6966e68403 more renames (following DAMASK paper) 2019-03-22 11:40:52 +01:00
Martin Diehl f50e6fe5ad [skip ci] adjusting to disloUCLA 2019-03-22 11:32:55 +01:00
Martin Diehl 450a0565d3 internal variable names also adjusted 2019-03-22 11:06:08 +01:00
Martin Diehl bd6b7e1854 correct signs (same behavior, but full math) 2019-03-22 10:58:54 +01:00
Martin Diehl c9c9079076 fixed indentation 2019-03-22 10:55:17 +01:00
Martin Diehl fa96042320 correct names for shear rates 2019-03-22 10:49:24 +01:00
Martin Diehl f12b66b409 wrong keyword 2019-03-22 09:26:39 +01:00
Martin Diehl 28caf5ed4d final rename (for the moment) 2019-03-22 06:57:32 +01:00
Martin Diehl 5dc5a25ab3 simplified dotState 2019-03-22 06:48:38 +01:00
Martin Diehl ad563b99a8 Merge branch 'development' into DisloUCLA-Names-as-in-paper 2019-03-21 08:12:36 +01:00
Martin Diehl 17f955d3e8 still renaming 2019-03-21 08:07:09 +01:00
Martin Diehl 25f2d78656 final renames (for the moment) 2019-03-21 00:15:10 +01:00
Martin Diehl 9936b382fd more renames 2019-03-20 21:51:52 +01:00
Martin Diehl 97f6566d98 more renames 2019-03-20 16:52:43 +01:00
Martin Diehl facef25f8e renaming to fit paper and/or disloUCLA 2019-03-20 09:46:49 +01:00
Martin Diehl 349acce9f2 more renames to follow dislotwin and/or paper 2019-03-20 09:38:38 +01:00
Martin Diehl 5f53147e96 wrong assignmen (scalar to vector) 2019-03-19 14:56:36 +01:00
Martin Diehl 8a07ff4617 fixed copy and paste errors 2019-03-19 14:17:06 +01:00
Martin Diehl 98d25ae48a more name adjustments 2019-03-19 07:00:03 +01:00
Martin Diehl 1b53040f5e intermediate results should not be stored 2019-03-19 06:52:06 +01:00
Martin Diehl d22f41eeaa better readable 2019-03-19 06:25:21 +01:00
Martin Diehl d9e497bdd8 prefactors were not used/not mentioned in the paper 2019-03-19 06:21:40 +01:00
Martin Diehl a12417a091 as in dislotwin 2019-03-19 05:46:47 +01:00
Martin Diehl fc997554ba Simplified tangent calculation, thx to Karo 2019-03-18 23:11:28 +01:00
Martin Diehl f9e47a94aa no pInt 2019-03-18 22:57:23 +01:00
Martin Diehl fbc607e14d no pInt 2019-03-18 22:53:24 +01:00
Martin Diehl 7d40d13b4c simplifying 2019-03-18 22:44:54 +01:00
Martin Diehl 5f85a65fe6 shorter name, inline with the paper 2019-03-18 22:37:32 +01:00
Martin Diehl 3eb7f868bf pInt not needed 2019-03-18 22:17:11 +01:00
Martin Diehl 76dee8cb81 renaming according to paper 2019-03-18 22:08:41 +01:00
Martin Diehl 66aa9399a7 don'r rely on halton sequence
not really trustworthy as we saw some pattern for higher dimensional
data
2019-03-17 18:06:41 +01:00
Martin Diehl 6d268b7b37 some polishing 2019-03-17 17:59:01 +01:00
Martin Diehl dac4f5cd22 syntax polishing 2019-03-17 17:02:08 +01:00
Martin Diehl 5f41d6d9b4 no pInt 2019-03-17 13:35:41 +01:00
Martin Diehl d7739fa8f8 no derived quantities in postResults
preparing for HDF5 out
2019-03-17 13:29:58 +01:00
Martin Diehl 52b54ddf23 direct access to state variable 2019-03-17 12:36:15 +01:00
Martin Diehl fa513778c0 array access was wrong
now using the rectified dislocation density from "getRho". This results
in a slightly more conservative sensitivity check
2019-03-17 11:51:26 +01:00
Martin Diehl 730e7d96c0 better readable 2019-03-16 21:58:30 +01:00
Martin Diehl 8f89827573 improved readability 2019-03-16 19:09:22 +01:00
Martin Diehl f079e6f9c0 simpler logic for shortrange stress correction 2019-03-16 16:29:16 +01:00
Martin Diehl 117f4b9625 more functions relying on getRho 2019-03-16 15:46:39 +01:00
Martin Diehl 5da017e79f using new funtionality to get rho 2019-03-16 15:08:50 +01:00
Martin Diehl eb2646ca9c improving readability
- arrays to access specific dislocation types
- function to access and clean rho
2019-03-16 13:13:48 +01:00
Martin Diehl 510c0da02c more systematic names 2019-03-16 08:55:25 +01:00
Martin Diehl a4d7ce48b3 Decided on one DAMASK logo 2019-03-13 22:23:09 +01:00
Martin Diehl cba02d91b9 no need to import pInt 2019-03-13 07:00:20 +01:00
Martin Diehl c7f33f4696 no pInt 2019-03-13 06:46:59 +01:00
Martin Diehl 81cfa31b31 [skip ci] with DAMASK ASCII art 2019-03-13 06:16:31 +01:00
Martin Diehl fb6a6e9db5 [skip ci] corrected year 2019-03-12 22:56:09 +01:00
Martin Diehl 7d23b77ad0 Merge branch 'development' into MiscImprovements 2019-03-12 22:37:53 +01:00
Martin Diehl 7cb2203a38 pInt not needed anymore 2019-03-12 22:29:03 +01:00
Martin Diehl 40fda62efc parsing material.config and debug.config 2019-03-12 22:27:45 +01:00
Martin Diehl 62694eddf8 clearer structure 2019-03-12 21:48:33 +01:00
Martin Diehl 9a38951725 finished renaming: spectral -> grid 2019-03-12 18:56:28 +01:00
Martin Diehl fdc8a848a5 no pInt + same indentation everywhere 2019-03-12 11:36:18 +01:00
Martin Diehl 818338ca93 new label needs new tests, will be done later 2019-03-12 11:17:15 +01:00
Martin Diehl 1ece0a1dfd better readable 2019-03-12 09:36:54 +01:00
Martin Diehl 1df8b22e23 clearer names 2019-03-12 09:28:06 +01:00
Martin Diehl 2353545779 using new names 2019-03-12 06:06:59 +01:00
Martin Diehl c57bfd34e9 no need for long names 2019-03-12 05:53:12 +01:00
Martin Diehl 6495276b81 bugfix: rename from "solution" to "solution_vec" was incomplete 2019-03-12 05:52:13 +01:00
Martin Diehl 643ed89447 not needed anymore 2019-03-12 00:07:44 +01:00
Martin Diehl 2505c02c75 bugfix 2019-03-11 23:55:04 +01:00
Martin Diehl 94cf563141 new name 2019-03-11 23:51:04 +01:00
Martin Diehl 011af1f686 adjusting names 2019-03-11 23:37:06 +01:00
Martin Diehl 23043da98c more sensible names 2019-03-11 23:10:40 +01:00
Martin Diehl 6a82a0a33e proper indentation 2019-03-11 23:04:00 +01:00
Martin Diehl 1fb1032127 no pInt 2019-03-11 22:58:11 +01:00
Martin Diehl 18fe8c34ee fortran fast storage of interaction matrices 2019-03-11 22:41:59 +01:00
Martin Diehl 0cdcc4de11 no pInt any more 2019-03-11 17:35:08 +01:00
Martin Diehl f203add899 not needed 2019-03-10 12:58:07 +01:00
Martin Diehl 340617ab65 unifying notation 2019-03-10 12:05:52 +01:00
Martin Diehl 550b6510a5 better name 2019-03-10 12:05:52 +01:00
Martin Diehl c8f426a875 use variables from mesh object 2019-03-10 12:05:52 +01:00
Martin Diehl 927f947c2a better readable 2019-03-10 10:05:47 +01:00
Martin Diehl 8661d6e82f PGI complaines, forall is deprecated anyway 2019-03-10 10:05:47 +01:00
Martin Diehl 11662033c3 seems to cause problems with PGI as well 2019-03-10 10:05:47 +01:00
Martin Diehl 60f4f9f39c norm2 for PGI 2019-03-10 10:05:47 +01:00
Martin Diehl 05b4dd1973 correct type casting 2019-03-10 10:05:47 +01:00
Martin Diehl 714c9b1ecb PGI does not no "do concurrent" (yet) 2019-03-10 10:05:47 +01:00
Martin Diehl 388e661433 use explicitly pReal 2019-03-10 10:05:47 +01:00
Martin Diehl 0118fefe6e wrong type 2019-03-10 10:05:47 +01:00
Martin Diehl 96c4599dc7 norm2 is (yet) not available in PGI 2019-03-10 10:05:47 +01:00
Martin Diehl 34660599a1 dummy HDF5 output for all plasticity laws 2019-03-09 20:43:31 +01:00
Martin Diehl 7643d66654 bugfix, avoid error 2019-03-09 16:22:57 +00:00
Martin Diehl 55d55a156b following numpy syntax 2019-03-09 16:19:56 +00:00
Martin Diehl 121bafd989 required for HDF5 output 2019-03-09 15:55:25 +00:00
Martin Diehl 22a3596561 simplified, trying to get rid of all public variables 2019-03-09 15:12:59 +01:00
Martin Diehl c74f453486 public variables not needed anymore 2019-03-09 15:12:59 +01:00
Martin Diehl 1bf31598c5 avoid usage of lattice variables 2019-03-09 15:12:59 +01:00
Martin Diehl eba763cf38 not needed anymore 2019-03-09 15:12:59 +01:00
Martin Diehl f0d03a41ba fracture modes are calculated differently 2019-03-09 15:12:59 +01:00
Martin Diehl 7bfd7a42ea empty file needs special case for Ifort 2019-03-09 13:43:56 +01:00
Martin Diehl 383e1befd5 polishing and extending citations 2019-03-09 11:11:40 +01:00
Martin Diehl 1ba27cf62d same reporting style, more error checks 2019-03-09 11:11:40 +01:00
Martin Diehl 6f3771f6c4 Allreduce better suited than Bcast 2019-03-09 11:11:40 +01:00
Martin Diehl 66e6a6ec68 cleaning 2019-03-09 11:11:40 +01:00
Martin Diehl 0d08659b2a general cleaning 2019-03-09 11:11:40 +01:00
Martin Diehl 2394880741 Tstar renamed to S (following the DAMASK paper) 2019-03-09 11:11:40 +01:00
Martin Diehl 02c7b1056a use central functionality
IO function reads numerics.config and debug.config
2019-03-09 11:11:40 +01:00
Martin Diehl ae5ea87ab1 cleaning 2019-03-09 11:11:40 +01:00
Martin Diehl 2621689843 correct initialization 2019-03-09 08:01:20 +01:00
Martin Diehl af707c671c improved IO functionality
- naming for file opening follows python
- damage modules do not read from file any more
2019-03-08 23:16:56 +01:00
Martin Diehl 48cfc35996 polishing 2019-03-08 23:16:35 +01:00
Martin Diehl 09a7427193 temporarly disabled restart 2019-03-08 23:16:08 +01:00
Martin Diehl 363a95d5b7 not needed 2019-03-08 19:07:19 +01:00
Martin Diehl 67dcb6d2d6 not needed 2019-03-08 19:07:19 +01:00
Martin Diehl 622372bd64 where within forall does not work with PGI 2019-03-08 19:07:19 +01:00
Martin Diehl 0f6bf38299 unused functionality 2019-03-08 19:07:19 +01:00
Martin Diehl ce0e84f418 was not used anymore 2019-03-08 19:07:19 +01:00
Martin Diehl de330517eb rank not supported by older compiler/older dialects 2019-03-08 07:42:13 +01:00
Martin Diehl 3b1328163c cleaned 2019-03-07 23:19:39 +01:00
Martin Diehl de6fd605ee is not used anywhere else 2019-03-07 22:47:45 +01:00
Martin Diehl a4cdbab7cf not needed 2019-03-07 22:44:33 +01:00
Martin Diehl 4a636dbd99 not used at all 2019-03-07 22:41:07 +01:00
Martin Diehl 8224797e75 simplified 2019-03-07 22:31:54 +01:00
Martin Diehl f0eeb3d9b4 using naming convention of numpy 2019-03-07 22:22:49 +01:00
Martin Diehl 9e05b2fcf0 using new name 2019-03-07 22:20:38 +01:00
Martin Diehl b03208bc69 unused function 2019-03-07 22:19:08 +01:00
Martin Diehl 3b8b83fbd9 FLOAT is not defined anymore 2019-03-07 22:18:29 +01:00
Martin Diehl a80b57c96b forgotten during removal of vacancy/porosity/hydrogen 2019-03-07 20:51:14 +01:00
Martin Diehl 215598ade9 consistent formatting: always indent by 2 spaces 2019-03-07 20:39:33 +01:00
Martin Diehl 81b971374b no need to use pInt 2019-03-07 19:34:27 +01:00
Martin Diehl 98843587e5 Merge branch 'FWBW-default-2' into development 2019-03-07 18:37:58 +01:00
Martin Diehl d17c1a6d17 comment was wrong 2019-03-07 18:37:22 +01:00
Martin Diehl 7a083c4098 [skip ci] more general names and procedure 2019-03-07 11:02:27 +01:00
Martin Diehl 4ee484b6e7 correct scaling for fluctuations 2019-03-07 07:14:45 +01:00
Martin Diehl 21bbba1575 cleaning 2019-03-07 07:09:00 +01:00
Martin Diehl ae3de821b4 bugfix: synchronizatopm of dPdF_min and dPdF_max was not correct
-before: using componenwise min/max among different processors
-now:    identify the processor that holds the minimum/maximum of the
norm
2019-03-07 07:01:09 +01:00
Martin Diehl ccb62da24a kind-ID does not need to coincide with the number of bytes 2019-03-06 16:33:39 +01:00
Martin Diehl a965c46025 improved functions for floating point comparison
- less stric tolerance for comparison to zero
- better readable
- avoid "merge" on optional arguments (not safe)
- "equal" and "notEqual" are now symmetric (assignment of <= and < is
arbitrary)
2019-03-06 15:57:42 +01:00
Martin Diehl 51f8b1961f simplify integer precision handling
essentially, it should be ok to always use the default integer (which is
32 bit unless using MSC.Marc) and use 64 bit integer only for special cases where an overflow
could happen
2019-03-06 15:52:52 +01:00
Martin Diehl 05eb80d38c pLongInt was not used 2019-03-06 15:49:31 +01:00
Martin Diehl c9e7311b42 no need to use pInt here 2019-03-06 15:47:48 +01:00
Martin Diehl 977f61452b compiler-independent defintion of real and integer kinds
real(8) does not neccessarily mean a real with 8 byte (but for gfortran
and ifort it does)
2019-03-06 15:25:47 +01:00
Franz Roters 19da2b911d flux subroutine for Abaqus
related comments
2019-02-27 09:23:05 +01:00
Martin Diehl b7ee4318b7 copy and paste error 2019-02-27 07:22:59 +01:00
Philip Eisenlohr 6e9b745ca1 shorterned line to avoid compile time truncation warning 2019-02-26 21:22:14 -05:00
Philip Eisenlohr ff5ac56cfb shortened too long lines 2019-02-26 15:31:47 -05:00
Philip Eisenlohr cfb2770b93 merged and added correction to FreeSurface.config example 2019-02-26 13:56:49 -05:00
Philip Eisenlohr cb9543dff7 more elaborate debug labelling 2019-02-26 13:47:46 -05:00
Martin Diehl 56e2c1264b Merge branch 'development' into New-Thermal 2019-02-26 07:54:45 +01:00
Martin Diehl 6fab99bca5 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2019-02-25 20:10:38 +01:00
Martin Diehl d83847446d Merge branch '32_NewStyleNonlocal-4' into development 2019-02-25 20:06:20 +01:00
Martin Diehl 7115382729 not used anymore 2019-02-24 10:08:09 +01:00
Martin Diehl 7903e2b65f dependencies got mixed up 2019-02-23 11:31:53 +01:00
Martin Diehl 93ae5cbd07 Merge remote-tracking branch 'origin/development' into 10-consistent-orientation-conversions-3 2019-02-22 23:05:36 +01:00
Martin Diehl b1bb68d523 cleaning 2019-02-22 21:07:00 +01:00
Martin Diehl ad0ed4fdec bugfix: wrong state was allocated 2019-02-22 21:06:37 +01:00
Martin Diehl 194824fd0f WIP: cleaned
no file reading
getting rid of a number of obsolete dependencies
2019-02-22 20:37:41 +01:00
Martin Diehl e7268ce109 simpler structure:
- do not read file
- use function for allocation
- do not constantly convert (3,3) <-> (6)
2019-02-22 15:37:42 +01:00
Martin Diehl af4ea76006 using central allocation facilities 2019-02-22 15:21:48 +01:00
Martin Diehl aa2bd4fc4c Merge branch 'development' into New-Thermal 2019-02-22 10:17:34 +01:00
Martin Diehl db9016d146 avoid repeated loops 2019-02-22 10:02:43 +01:00
Martin Diehl 4d45038358 better readable 2019-02-22 09:21:04 +01:00
Martin Diehl 5e369aa220 avoid use of new variables in deprecated code 2019-02-22 08:32:12 +01:00
Martin Diehl beb73c7882 not needed 2019-02-22 07:37:08 +01:00
Martin Diehl da8a1d5973 leaner interface 2019-02-21 21:32:22 +01:00
Martin Diehl 6938864c4b pointers allow easier access to state variables 2019-02-21 20:37:49 +01:00
Martin Diehl d686384d17 let lattice.f90 do the job 2019-02-21 19:18:06 +01:00
Martin Diehl 21d0ef2fb5 use microstructure/dependent state
introduced only partly, otherwise the uncommon calling sequence in nonlocal leads
to a change in behavior
2019-02-21 05:55:03 +01:00
Martin Diehl cb2d2b02dc re-ordered and cleaned 2019-02-21 00:24:35 +01:00
Martin Diehl 3fa699ad22 indices were mixed up 2019-02-20 20:17:55 +01:00
Martin Diehl 2d51c0595b don't parse material.config any more 2019-02-20 19:03:20 +01:00
Martin Diehl 6f135ea632 no random-multiplication anymore
from our current understanding, the implementation of random nucleation
was strongly dependent on the numerical method and the time stepping
2019-02-20 17:58:11 +01:00
Martin Diehl 871ba90654 initialization can be done internally 2019-02-20 17:50:26 +01:00
Martin Diehl eb394b3139 same name in all models 2019-02-20 14:54:26 +01:00
Martin Diehl 838faca819 using structure for output
avoids waste of memory in case of multiple instances
avoids explicit dependence on ip and el
2019-02-20 13:32:08 +01:00
Martin Diehl e6e019e48a transition to param structure 2019-02-20 09:13:50 +01:00
Martin Diehl d29b37f517 provide slip system components as functions 2019-02-20 07:53:34 +01:00
Martin Diehl a896ed91f8 simplified/not needed 2019-02-20 07:33:19 +01:00
Martin Diehl d0b0e3be3b simplified 2019-02-20 00:41:44 +01:00
Martin Diehl 649750a1c9 let lattice to the work 2019-02-19 23:55:59 +01:00
Martin Diehl e8ac2d0d97 limiting inter-module dependencies 2019-02-19 10:47:12 +01:00
Martin Diehl 41899f6d33 using more parameters from smart structure 2019-02-19 10:31:14 +01:00
Martin Diehl 6bcd4a77d2 complex pointer structure for state 2019-02-19 09:43:48 +01:00
Martin Diehl 1a5711e246 using more parameters from parameter structure 2019-02-18 22:55:31 +01:00
Martin Diehl ae9d8e4e8d cleaning 2019-02-18 10:28:08 +01:00
Martin Diehl 435dce220c move stress conversion one level up
should be totally avoided
2019-02-18 07:24:56 +01:00
Martin Diehl 8a30441a52 Merge branch 'development' into 32_NewStyleNonlocal-3 2019-02-18 07:14:11 +01:00
Martin Diehl 690fef6f06 avoid publicly avaialbe data, rather provide setters and getters 2019-02-17 20:38:57 +01:00
Martin Diehl 44e41465d0 use functions from lattice to calculate slip systems
don't rely on internal coding for collinear systems
2019-02-17 17:56:01 +01:00
Martin Diehl c4b3ac3afb slip system definition for bcc still needed 2019-02-17 17:04:26 +01:00
Martin Diehl d3e6430b94 only used internally 2019-02-17 14:30:58 +01:00
Martin Diehl 553b1c7743 stress tensor was accidentally still converted 2019-02-17 13:16:00 +01:00
Martin Diehl 7ad866b90f not needed any more 2019-02-17 12:16:12 +01:00
Martin Diehl cf32e7d1f5 use parameter structure and avoid conversion 33<->6 2019-02-17 12:15:46 +01:00
Franz Roters 530f4f2804 Merge branch 'New-Damage' into 'development'
New damage

See merge request damask/DAMASK!59
2019-02-17 10:09:46 +01:00
Franz Roters db9d5c898a [skip ci] typo 2019-02-17 10:08:02 +01:00
Martin Diehl 0f319e2cf6 fixed state size and output size 2019-02-16 23:18:53 +01:00
Martin Diehl c7abe55944 was not needed 2019-02-16 22:09:06 +01:00
Martin Diehl 2584f85760 parameters are stored in parameter structure 2019-02-16 18:38:13 +01:00
Martin Diehl 0ba8ebff1e Merge remote-tracking branch 'origin/development' into 32_NewStyleNonlocal-3 2019-02-16 18:12:38 +01:00
Martin Diehl 63e2ea7d8f was not use (anymore) 2019-02-16 12:49:28 +01:00
Martin Diehl 77d60be127 avoid superfluous reporting 2019-02-16 11:30:56 +01:00
Martin Diehl efe9823e62 clearer logic for preprocessor statements 2019-02-16 10:43:02 +01:00
Martin Diehl af83427e8c Merge branch 'development' into 53-separate-mesh-for-different-solvers-3 2019-02-16 10:25:42 +01:00
Martin Diehl 61032b5fd8 wrong jump position
probably a copy and paste error
2019-02-16 10:24:12 +01:00
Martin Diehl 9a3921ea84 ifdef statements grouped together
unless they belong to a group of functions, like opening files or
interpreting lines
2019-02-16 10:20:53 +01:00
Martin Diehl 0fd5476883 doxygen interprets comment as doc string 2019-02-16 06:42:08 +01:00
Martin Diehl afdaac47af avoid disturbing reporting 2019-02-15 22:54:38 +01:00
Martin Diehl d78bf18483 simplified output 2019-02-15 07:25:25 +01:00
Martin Diehl 1567b0ee94 was not used 2019-02-15 07:03:52 +01:00
Martin Diehl bc0bc06aea polishing 2019-02-13 10:16:06 +01:00
Martin Diehl 5b0cdf294d delta state is needed
not sure if the offset handling is correct
2019-02-13 10:11:25 +01:00
Martin Diehl dc6f18c3f8 cleaning 2019-02-13 10:03:28 +01:00
Martin Diehl d366651873 file reading not required anymore 2019-02-13 09:57:12 +01:00
Martin Diehl 47a9d88a15 read vector-parameters 2019-02-13 09:19:37 +01:00
Martin Diehl 3ca34c8f80 simplified 2019-02-13 09:09:30 +01:00
Martin Diehl a421525d15 preparing storage of output parameters 2019-02-13 08:06:22 +01:00
Martin Diehl f34c10a477 sdot_0 already available as parameter 2019-02-13 07:36:36 +01:00
Martin Diehl b3e705e628 polishing, fixed typo 2019-02-13 07:34:16 +01:00
Martin Diehl aa8d218ce7 was never used 2019-02-13 07:28:28 +01:00
Martin Diehl 6a0d739d48 use parameters from param structure 2019-02-13 07:24:48 +01:00
Martin Diehl 61baa66c38 avoid code duplication 2019-02-13 07:22:37 +01:00
Martin Diehl 9574dfae2d avoiding repeated reading of material.config 2019-02-13 07:04:13 +01:00
Martin Diehl 55cef533f1 conversion 3x3-matrix <-> 6-vector not helpful 2019-02-13 00:00:07 +01:00
Martin Diehl 01fe7a9731 Merge branch 'development' into New-Damage 2019-02-12 23:37:39 +01:00
Martin Diehl c9fc7ea982 cleaning
trying to find logic with less dependencies on the various
mappings
2019-02-12 23:35:22 +01:00
Martin Diehl 69d53ed869 determining output size was overly complicated
general cleaning
2019-02-12 23:20:24 +01:00
Martin Diehl be7f740e65 Merge branch 'development' into New-Thermal 2019-02-12 22:52:21 +01:00
Arko Jyoti Bhattacharjee 1a471bcd8a signal handling implemented
allows to trigger action in running simulation, i.e. writing restart or results
2019-02-11 18:46:14 +01:00
Martin Diehl 87f3e3f621 more flexible and user friendly 2019-02-11 10:08:34 +01:00
Martin Diehl af28e9cdd9 not needed anymore 2019-02-09 17:23:56 +01:00
Martin Diehl c4eef520fc initialize all variables 2019-02-09 17:21:11 +01:00
Martin Diehl 09859f1b12 wrong variable rename (was forgotten) 2019-02-09 16:53:05 +01:00
Martin Diehl de26e41684 some first steps to support debugging with the PGI compiler
norm2 and sum for initialization are not supported yet, need fixes
2019-02-09 15:02:07 +00:00
Martin Diehl 8167f09ec6 using functions as far as possible 2019-02-09 12:01:31 +01:00
Martin Diehl 5d9c3fcf27 finalize for write 2019-02-09 09:44:41 +01:00
Martin Diehl 73749dd788 merged also finalization 2019-02-09 09:38:49 +01:00
Martin Diehl d934f2b141 also modularize write 2019-02-09 09:03:31 +01:00
Martin Diehl c668260c37 avoiding code duplication 2019-02-09 08:05:29 +01:00
Martin Diehl 36662f8419 more generic formulation (works for all dimensions) 2019-02-09 07:50:33 +01:00
Martin Diehl 542ab946cc [skip ci] not needed 2019-02-04 19:05:02 +01:00
Martin Diehl 3f61c97ded don't support non-DAMASK materials 2019-02-04 18:58:36 +01:00
Martin Diehl 453f4556e5 bracket was missing 2019-02-04 00:12:27 +01:00
Martin Diehl 5320803842 bugfix: valid range for unit quaternion range is [-1,+1] 2019-02-04 00:06:38 +01:00
Martin Diehl a57aa7985a wrong name 2019-02-03 18:11:16 +01:00
Martin Diehl 59dd9b16e1 cleaning 2019-02-03 16:40:15 +01:00
Martin Diehl b0b1ea3b84 input argument not needed any more 2019-02-03 14:23:32 +01:00
Martin Diehl ec23fca057 it's a property of the element, not of the mesh 2019-02-03 14:22:06 +01:00
Martin Diehl 2d0c74d7d9 implicit dependencies made explicit 2019-02-03 14:22:06 +01:00
Martin Diehl 2aba6faf40 cleaning and making dependencies clear 2019-02-03 14:22:06 +01:00
Martin Diehl 91992debf2 Marc now works also with the module
reason, why it did NOT work earlier still not clear
2019-02-03 13:30:04 +01:00
Martin Diehl b9f93d5460 is now a subfunction 2019-02-03 11:22:23 +01:00
Martin Diehl d605adc92e avoid the use of global variables to make dependencies clear 2019-02-03 11:12:23 +01:00
Martin Diehl f45ba0ff5b functions specific for MSC.Marc and/or Abaqus
these functions are very specific for the input files and might be
better located in the respective mesh module
2019-02-03 08:27:20 +01:00
Martin Diehl 2c7553653b only used by MSC.Marc 2019-02-03 08:11:19 +01:00
Martin Diehl 40ad1aef2f was not used 2019-02-03 08:07:58 +01:00
Martin Diehl a92937a7e3 grid does reading in of geometry independently 2019-02-03 08:06:53 +01:00
Martin Diehl 1eb30f3ae7 re-ordered according to calling sequence 2019-02-02 20:49:15 +01:00
Martin Diehl bb135463c4 using data from theMesh instead of local variables 2019-02-02 20:45:19 +01:00
Martin Diehl 35c37ef9dc forgotten format specifier 2019-02-02 17:39:31 +01:00
Martin Diehl abedb5c3db ordered according to calling sequence 2019-02-02 17:24:18 +01:00
Martin Diehl 16cb9ebed9 no need to read homogenization info extra
but currently, it is not very elegant
2019-02-02 17:24:18 +01:00
Martin Diehl d51a379376 avoid jump labels 2019-02-02 17:24:18 +01:00
Martin Diehl 819ec40b44 clearer order:
1) parse file
2) set up element
3) set up mesh
2019-02-02 17:24:18 +01:00
Martin Diehl 07cca77fce left over jump marks 2019-02-02 17:19:12 +01:00
Martin Diehl 3edbfc1cb5 bugfix:
infinite loop for geom file without new line at end
also, a lot of cleaning
2019-02-02 15:10:35 +01:00
Martin Diehl 933136ec1e nNodes form element is used already 2019-02-02 13:10:21 +01:00
Martin Diehl b514bf78a5 avoiding duplicated variables 2019-02-02 12:31:07 +01:00
Martin Diehl 4f2a3d7f55 unused variables 2019-02-02 12:23:53 +01:00
Martin Diehl dcd16dda70 variables from mesh object 2019-02-02 12:15:05 +01:00
Martin Diehl 326cbd0398 Merge branch 'development' into 53-separate-mesh-for-different-solvers-3 2019-02-02 11:52:06 +01:00
Martin Diehl 8962635136 use new elem/mesh variables 2019-02-02 11:50:07 +01:00
Martin Diehl 94a24e45ee bugfixes:
theMesh%Nelems need to be set (using an intermediate function until a
routine does that)
spectral.geom file can have "N+n to N" (backwards counting)
2019-02-02 11:46:38 +01:00
Martin Diehl 3a5a50cb03 use variables from theMesh 2019-02-02 10:53:55 +01:00
Martin Diehl 7a8d98d135 using theMesh (object oriented mesh description) 2019-02-02 10:35:10 +01:00
Martin Diehl f0b5b9fd59 unused variable 2019-02-02 10:34:38 +01:00
Martin Diehl e17278a926 using new mesh structure (initial test) 2019-02-02 10:11:18 +01:00
Martin Diehl 9975048f29 better avoid jump marks: Abaqus, Part 2 2019-02-02 09:56:11 +01:00
Martin Diehl 5810dce618 better avoid jump marks 2019-02-02 09:29:58 +01:00
Martin Diehl 4a28284058 only parse geom file once 2019-02-02 09:18:01 +01:00
Martin Diehl 3d750e7933 overwriting of init did not work 2019-02-01 21:56:38 +01:00