Commit Graph

4587 Commits

Author SHA1 Message Date
Martin Diehl 436dae8dd5 cleaning 2019-05-11 11:52:05 +02:00
Martin Diehl 90440b50b7 prec provides IEEE module 2019-05-11 11:19:06 +02:00
Martin Diehl 93ded62e32 better readable 2019-05-10 16:38:47 +02:00
Martin Diehl 6e98dd83fb was accicently removed 2019-05-10 16:00:53 +02:00
Martin Diehl 70b7cbea7c does not exist anymore 2019-05-10 15:47:27 +02:00
Martin Diehl b8c8c4ade6 follow numpy naming convention 2019-05-10 15:19:00 +02:00
Martin Diehl 1cf6cc217d one implicit none is enough 2019-05-10 15:12:40 +02:00
Martin Diehl 811fc5c30c don't put implementation details in function name 2019-05-10 15:03:54 +02:00
Martin Diehl c81a90350c not needed anymore 2019-05-10 15:00:48 +02:00
Martin Diehl dc57f6aba0 better use transpose 2019-05-10 14:53:22 +02:00
Martin Diehl e25b4d6f17 math for quaterion / orientation have own classes 2019-05-10 14:52:01 +02:00
Martin Diehl ecb520e6f0 Merge branch 'development' into improve-Lp-guessing 2019-05-10 08:12:58 +02:00
Martin Diehl f3a02a8e6b simplified 2019-05-09 08:33:12 +02:00
Martin Diehl 72110d509c one implicit none is enough 2019-05-09 08:30:03 +02:00
Martin Diehl 23cf134d6c cleaning 2 2019-05-08 22:41:09 +02:00
Martin Diehl c191336045 cleaning 2019-05-08 22:26:14 +02:00
Martin Diehl 6c02d71019 Merge branch 'development' into MiscImprovements 2019-05-08 22:19:12 +02:00
Vitesh Shah 9b698cbdf5 correct description of subroutines 2019-05-08 17:56:20 +02:00
Vitesh Shah 1060b13c1f Corrected the comment 2019-05-08 16:50:46 +02:00
Martin Diehl 77856159f0 Merge branch 'development' into No-Populate-Grains-3 2019-05-07 19:59:40 +02:00
Martin Diehl f3c77cde87 Merge branch 'development' into MiscImprovements 2019-05-06 16:16:39 +02:00
Martin Diehl 39cc9e35ae Merge branch 'development' into orientation_with_averaging 2019-05-05 22:12:09 +02:00
Martin Diehl f873d84e5c enable HDF5 out for non-MPI 2019-05-05 15:40:27 +02:00
Martin Diehl 4a0584fe25 commercial FEM solvers write results to HDF5 2019-05-05 12:06:55 +02:00
Martin Diehl 11eb5a62b8 removed complex population of grains
- more explicit material.config
- simulation results do not depend on random number/compiler
- more suitable for phase field simulations with changing constituents
2019-05-04 22:07:10 +02:00
Martin Diehl 8c1f8fbef9 cleaning 2019-05-04 19:26:53 +02:00
Martin Diehl d5f80c7f6d Merge branch 'development' into MiscImprovements 2019-05-04 18:16:09 +02:00
Martin Diehl 21a36b5a7d errors better visible 2019-05-04 17:47:52 +02:00
Martin Diehl 464a2e217e not needed 2019-05-04 17:18:05 +02:00
Martin Diehl bf4c5741b9 cleaning 2019-05-04 14:41:00 +02:00
Martin Diehl ebf01dee4f store grid/size at geometry group
as outlined in the DAMASK results paper
2019-05-03 06:46:22 +02:00
Martin Diehl a881205561 CLI options not used to control PETSc 2019-05-03 06:21:43 +02:00
Martin Diehl 434813e6e5 use unique IDs among all models 2019-04-30 23:06:16 +02:00
Martin Diehl 2f27c64c39 homogenization output active 2019-04-30 23:05:21 +02:00
Martin Diehl badfba8c6f simplify includes
following python suggestions to include only once at the top of a module
2019-04-30 22:53:32 +02:00
Martin Diehl eb7db3acbd trying to use variables as in the DAMASK paper 2019-04-30 22:47:49 +02:00
Martin Diehl 8a9baf6d78 preparing output of mech_homog to HDF5 2019-04-30 18:45:38 +02:00
Martin Diehl 5a0e408d59 Merge branch 'development' into SolverRestart-in-HDF5 2019-04-30 17:07:45 +02:00
Martin Diehl 4eef54f4d2 Merge branch 'development' into improve-Lp-guessing 2019-04-30 10:43:47 +02:00
Martin Diehl 9703d04a7d grid/mesh for mesh needs rename
keep the old naming/location for the moment consistently for all solvers
2019-04-30 06:31:03 +02:00
Martin Diehl b8bf329a74 Merge branch 'development' into MiscImprovements 2019-04-30 00:02:35 +02:00
Philip Eisenlohr d74599d39a Merge branch 'HDF5-postprocessing' into 'development'
Hdf5 postprocessing

See merge request damask/DAMASK!72
2019-04-29 23:24:42 +02:00
Martin Diehl f628c80542 not supported anymore 2019-04-29 12:17:33 +02:00
Martin Diehl 39e6cedfb4 more direct and readable 2019-04-29 11:15:23 +02:00
Martin Diehl 477478f66c source code structure reflects build targets 2019-04-29 10:43:49 +02:00
Martin Diehl b4a21e8d40 fix for older cmake
looks ok
2019-04-26 18:07:43 +02:00
Martin Diehl b63a6c7034 cleaner code that also works with older cmake 2019-04-26 17:39:21 +02:00
Martin Diehl 7104bc9934 allow standard CMAKE way of setting install directory
- DAMASK_BIN in config has no effect anymore
2019-04-25 07:08:32 +02:00
Kieran David Nehil-Puleo d8b310e78b Changed Guessing Scheme 2019-04-18 11:13:51 -04:00
Martin Diehl ce1bb589c7 complicated use statements confuse CMake
probably we should adopt a similar "use" policy in Fortran as
recommended for Python "import" and have all imports at the beginning
https://www.python.org/dev/peps/pep-0008/
2019-04-18 15:30:54 +02:00
Martin Diehl 7c771647ad adjustments for easier access to output data 2019-04-18 11:55:50 +02:00
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
Martin Diehl 9a4e9e62b6 using new rotation class 2019-02-01 20:28:51 +01:00
Martin Diehl 08009079ff avoiding numerical errors (if quaternion norm is > 1.)
use consistently "self" instead of "this"
function for misorientation
2019-02-01 20:27:29 +01:00
Martin Diehl feb87c7db8 same name as in the python module 2019-02-01 19:09:17 +01:00
Martin Diehl 407f94082f no need for orientation class at the moment
implement only if we need symmetry aware operations
2019-02-01 16:52:42 +01:00
Martin Diehl 8e0556fe3e [skip ci] nicer reporting 2019-02-01 12:43:14 +01:00
Martin Diehl 614a8d694c re-implement mesh reporting later on in mesh_base 2019-02-01 12:28:18 +01:00
Martin Diehl 5f8b110f63 initialize mesh and element 2019-02-01 12:24:23 +01:00
Martin Diehl b87a09a466 not needed 2019-02-01 11:22:06 +01:00
Martin Diehl 06f67ce500 orientations module was not compiled but is needed now 2019-02-01 10:24:10 +01:00
Martin Diehl 11a509970b some comments 2019-02-01 10:17:20 +01:00
Martin Diehl 9d25d677e6 using new orientation class
not sure if transpose is needed for initialization
2019-02-01 10:11:46 +01:00
Martin Diehl 53a95ea84f cleaned and documented 2019-02-01 10:01:54 +01:00
Martin Diehl 17a682e883 P/epsijk parameter has nothing to do with precision 2019-02-01 08:53:57 +01:00
Martin Diehl 8a2689da0a documentation was for a lot of things that are not in here
setting constants without truncation
2019-02-01 08:52:38 +01:00
Martin Diehl a260bd2d2b Merge branch 'development' into 10-consistent-orientation-conversions 2019-02-01 07:33:52 +01:00
Martin Diehl 721af0a9a9 plastic_nonlocal still has confusing state handling 2019-02-01 07:06:19 +01:00
Martin Diehl b9c834f86a missing use from IO 2019-01-31 17:01:26 +01:00
Martin Diehl ccb320fa6e central function for less depencies 2019-01-31 14:00:26 +01:00
Martin Diehl a3e61c82dc Merge branch 'development' into 32_NewStyleNonlocal-3 2019-01-31 12:42:35 +01:00
Martin Diehl bcd9908a88 all variables/functions were not used 2019-01-31 12:23:23 +01:00
Martin Diehl fbd8912237 Merge branch 'development' into 53-separate-mesh-for-different-solvers-3 2019-01-31 11:41:45 +01:00
Martin Diehl 6b66563be7 Merge branch '46-simplification-of-crystallite-f90-NEW5' into development 2019-01-31 11:40:23 +01:00
Martin Diehl 615b166992 removed unused stuff 2019-01-31 11:39:28 +01:00
Martin Diehl beb0ca01eb define functions where needed
only use solver specific element names
2019-01-31 11:29:56 +01:00
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
Martin Diehl fdbc20b739 cleaned and unified 2018-11-03 19:29:00 +01:00
Martin Diehl 08c692bfc1 passing in instance simplifies things a lot 2018-11-03 16:40:17 +01:00
Martin Diehl a0c3a65b39 Noutput not needed anymore 2018-11-03 15:41:54 +01:00
Martin Diehl a678e9b94f bugfixes
flaws introduced in 42-xx branch and detected by new test
- outputsize was wrong
- nconstituents is product along the 3 directions, not the sum
2018-11-03 15:13:11 +01:00
Martin Diehl c5b98e544a Merge remote-tracking branch 'origin/development' into 42-new-coding-style-for-homogenization 2018-11-03 11:30:12 +01:00
Martin Diehl f88b78195a not need to repeat shape definition 2018-10-26 10:20:45 +02:00
Martin Diehl c413df7ed2 a little cleaning 2018-10-18 22:54:33 +02:00
Martin Diehl 49c7a6c524 sorting 2018-10-18 22:20:26 +02:00
Martin Diehl f71e067f5e using functionality from lattice 2018-10-18 21:41:17 +02:00
Martin Diehl d7fa3a9791 just sorting 2018-10-18 21:34:26 +02:00
Martin Diehl 59399f2cd2 sanity checks 2018-10-18 19:06:21 +02:00
Martin Diehl 33d816a5d0 polishing 2018-10-17 23:56:57 +02:00
Martin Diehl 121d146a35 using more central functions 2018-10-17 23:20:39 +02:00
Martin Diehl 4320061554 using central functionality 2018-10-17 23:13:47 +02:00
Martin Diehl 8017fccbc3 adjusting to phenopowerlaw 2018-10-17 22:18:33 +02:00
Martin Diehl 2fd348f251 just re-ordering 2018-10-17 21:47:50 +02:00
Martin Diehl 6b4b5b511f don't let dipole formation be undefined 2018-10-17 21:41:21 +02:00
Martin Diehl b7bc5afa90 Merge remote-tracking branch 'origin/development' into 20-NewStyleDislotwin 2018-10-17 20:10:49 +02:00
Martin Diehl 7ac96bd630 polishing 2018-10-17 00:01:21 +02:00
Martin Diehl d92ab04892 Merge branch 'development' into 19-NewStylePhenopowerlaw 2018-10-15 22:38:55 +02:00
Martin Diehl be8d7e19fe missing use statement caused compilation error 2018-10-15 22:38:34 +02:00
Martin Diehl 2ca7807438 cleavage systems avaialable as function 2018-10-15 22:29:23 +02:00
Martin Diehl ad1a64c338 rename was missing 2018-10-15 06:01:38 +02:00
Martin Diehl 57ca93c3c9 added missing allocation 2018-10-15 05:28:52 +02:00
Martin Diehl e5ec5ed54c check prerequisites as early as possible 2018-10-15 05:03:53 +02:00
Martin Diehl 767ca0edd4 avoid code repetition 2018-10-14 20:16:30 +02:00
Martin Diehl a311cc7673 Merge remote-tracking branch 'origin/development' into 19-NewStylePhenopowerlaw 2018-10-14 15:53:50 +02:00
Martin Diehl 6599aa487c kinetics_slip does not seem to be the problem 2018-10-14 15:53:24 +02:00
Martin Diehl 1839228add sorting
new mappings. Needs more work (don't forget https://xkcd.com/927)
2018-10-14 12:27:42 +02:00
Martin Diehl 943fa764c0 not needed 2018-10-14 11:15:07 +02:00
Martin Diehl 4ac12d1dc5 removed hybridIA 2018-10-14 10:11:26 +02:00
Martin Diehl 4c780226d1 polishing 2018-10-14 09:27:34 +02:00
Martin Diehl 17c21dfc92 mesh_element should not be used anymore 2018-10-13 18:21:13 +02:00
Martin Diehl 06d71d9d2c Merge remote-tracking branch 'origin/development' into 42-new-coding-style-for-homogenization 2018-10-13 17:27:25 +02:00
Martin Diehl 513faa2218 investigating the reason for the poor performance 2018-10-13 11:29:07 +02:00
Franz Roters d9fbf2ab50 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-10-13 10:52:03 +02:00
Franz Roters 905b5a33eb added link for Marc2018 2018-10-13 10:50:20 +02:00
Franz Roters 1a458108bc added support for Marc2018 2018-10-13 10:26:42 +02:00
Martin Diehl fa9cbe13c9 do concurrent not safe here 2018-10-13 08:35:36 +02:00
Martin Diehl 6207781eb6 [skip ci] [skip sc] streamlining 2018-10-12 17:24:46 +02:00
Franz Roters d1561e867a Merge branch '44-column-major-access-to-interaction-matrices' into 'development'
Resolve "column-major access to interaction matrices"

Closes #44

See merge request damask/DAMASK!43
2018-10-12 13:03:22 +02:00
Martin Diehl 5597ee338e simplifying
- whole type is private, no need to make the components private
- target not needed when using associate
2018-10-12 08:26:24 +02:00
Martin Diehl 854d3ab774 clearer logic for controlling dipole formation 2018-10-12 08:23:56 +02:00
Vitesh Shah 38f9807c42 cleaning up the codes 2018-10-11 18:00:01 +02:00
Martin Diehl 51a3308a3d bugfix: same tau was used for all systems 2018-10-11 17:28:00 +02:00
Vitesh Shah cd2fb9f417 adding prefixes to writing of datasets under groups 2018-10-10 19:08:44 +02:00
Vitesh Shah fa13e71493 removed typo(&) 2018-10-10 18:09:10 +02:00
Vitesh Shah 78db0ecb3c reading and writing of subroutines of datasets of different ranks 2018-10-10 17:54:55 +02:00
Martin Diehl 7217cdac1b Merge branch '29-rename-mesh_element-array' into development 2018-10-10 15:55:23 +02:00
Martin Diehl ef1899cfd0 improved error reporting
- tell user specifically whether number of systems is too high or too
low
- c/a sanity check can be done centrally
2018-10-10 07:42:07 +02:00
Philip Eisenlohr f0b9c0caf7 polishing and encapsulating of Abaqus-specific local variables 2018-10-09 17:57:10 -04:00
Franz Roters 1d0584dcdf typo in message 2018-10-09 16:44:47 +02:00
Martin Diehl d81c9f744e avoid errors by consistently closing objects
general bugfixes, works now
2018-10-09 16:17:21 +02:00
Martin Diehl 2064ed80fd more flexible file open routine 2018-10-09 15:15:08 +02:00
Martin Diehl 8626ba1ce6 adjusted variable names and added comments 2018-10-09 14:46:57 +02:00
Martin Diehl 48403c37b7 initializing and closing the HDF5 library 2018-10-09 14:13:51 +02:00
Martin Diehl e7e0cf7118 preprocessor statements are case sensitive..
... and the PETSc variable is PETSc, not PETSC
2018-10-09 13:57:29 +02:00
Martin Diehl e3943d282a Merge branch 'development' into 47-save-restart-information-in-hdf5 2018-10-09 13:51:58 +02:00
Vitesh Shah 09ba95b029 non-executable 2018-10-09 10:58:45 +02:00
Vitesh Shah 70c746a8f1 Interfacing for subroutines to identify real and integer data 2018-10-09 10:57:06 +02:00
Martin Diehl e71ec2057e hotfix
does not seem to cause trouble here, but better be safe
2018-10-09 08:37:03 +02:00
Martin Diehl 4da3923440 more straight-forward definition of array shape 2018-10-08 23:54:45 +02:00
Martin Diehl 05aae4f7eb removed forgotten debug statement 2018-10-08 23:34:05 +02:00
Martin Diehl 50f0362aa1 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-10-08 23:33:31 +02:00
Martin Diehl 6064daceda do error check earlier
array out of bounds happened already before the check
2018-10-08 23:32:46 +02:00
Martin Diehl b51c3b5a07 handling files without LF at last line correctly 2018-10-08 23:27:06 +02:00
Philip Eisenlohr 225a48021d foramtting of random_seed output to align with rest 2018-10-08 17:01:56 -04:00
Martin Diehl 78b5fa466d fixed hick-up in lattice definitions 2018-10-08 19:32:18 +02:00
Martin Diehl 71d80cc203 sanity check too strong
still makes sense to have, but some tests need to be updated before
setting it active again
2018-10-08 13:27:15 +02:00
Martin Diehl 2a79f7ea61 taking care of c/a for hex and bct 2018-10-08 13:25:40 +02:00
Martin Diehl 5efcad952a avoid type conversion
more systematic checking of correct input parameters
2018-10-08 08:28:56 +02:00
Martin Diehl 302cf9b6c2 bugfix, now inline with code from initializeStructure 2018-10-07 22:16:18 +02:00
Martin Diehl facb1c2407 unified error checking 2018-10-07 20:03:45 +02:00
Martin Diehl 0e17b17b90 using full precision 2018-10-07 18:40:02 +02:00
Martin Diehl 34e0aca564 using full precision 2018-10-07 18:18:24 +02:00
Martin Diehl a53488d666 calculation of slip/twin/trans/damage-coordinate system was wrong 2018-10-07 15:44:13 +02:00
Martin Diehl 032c35a499 WIP: Calculation of elasticity matrices for twin and trans 2018-10-06 10:42:25 +02:00
Martin Diehl 3a2f86df1c non-schmid is always bcc 2018-10-05 23:04:06 +02:00
Martin Diehl 81a77b508a check for array size was off by 1 2018-10-05 22:46:53 +02:00
Martin Diehl 3a39c2d68c [skip ci] strings will be converted to lowercase 2018-10-05 17:54:24 +02:00
Martin Diehl 0cddf36106 typo, using value of p_slip for q 2018-10-05 17:47:46 +02:00
Martin Diehl 2a51e528bd Merge branch 'development' into 44-column-major-access-to-interaction-matrices 2018-10-05 11:11:20 +02:00
Martin Diehl 40cf7f134d Merge branch '44-column-major-access-to-interaction-matrices' of magit1.mpie.de:damask/DAMASK into 44-column-major-access-to-interaction-matrices 2018-10-05 11:08:29 +02:00
Martin Diehl aa34b83978 avoid array out of bounds
allows to handle un- or partly defined non schmid coefficients
2018-10-05 10:36:44 +02:00
Martin Diehl a560fff2ac [skip ci] [skip sc] generic interfaces for HDF5 operations
most existing HDF5 functions are only designed for writing output files
and more general functionality is needed for storing the restart data
2018-10-05 09:03:20 +02:00
Martin Diehl 47a748831f Cannot write out resolved stress including non schmid
Would need to write out tau_pos and tau_neg separately, so limit to
resolved stress in the sense of Schmid
2018-10-05 07:26:13 +02:00
Martin Diehl 6ccbc5e4e6 characteristing shear is defined per system 2018-10-05 07:20:51 +02:00
Martin Diehl e74a852ef7 new style is noticable slower
runtime (polycrystal example) increased from 70s to 90s.
Need to figure out how to write readable AND fast code
2018-10-05 06:38:20 +02:00
Martin Diehl 3a00fcde16 WIP: characteristic shear calculated in lattice 2018-10-05 05:09:31 +02:00
Martin Diehl fda2676365 calculate only if required 2018-10-05 04:54:47 +02:00
Martin Diehl 79b0efc678 also using nonSchmid matrix from lattice 2018-10-04 21:20:42 +02:00
Martin Diehl 35956ce0c8 needs to be multiplikative 2018-10-04 21:06:57 +02:00
Vitesh Shah a6ebdfc1ff Reading and writing not very efficient method 2018-10-04 17:00:24 +02:00
Martin Diehl edb94b8bc9 using the same kinetics for slip everywhere 2018-10-04 16:12:14 +02:00
Martin Diehl 12d053d123 strange parameter caused simulation not to start if not defined
probably a leftover. now only bothers you if twin systems are defined
2018-10-04 14:54:00 +02:00
Martin Diehl f1750b4eef avoiding use of unitialized arrays 2018-10-04 14:51:32 +02:00
Martin Diehl cd7f285686 prevent use of unallocated array
interaction matrices are used even if no slip/twin systems defined
2018-10-04 07:17:00 +02:00
Martin Diehl dc289a278b clearer code
homogenization is defined per element, not per IP
hence, use material_homogenizationAt instead of deprecated
material_homog which pretends a dependency on the integration point
2018-10-04 06:48:33 +02:00
Martin Diehl df473302f4 consistent (and better understandable) names 2018-10-04 06:03:48 +02:00
Martin Diehl f494803c76 fixed tangent calculation 2018-10-03 16:40:40 +02:00
Martin Diehl ec77d4450b checking for required things 2018-10-03 09:17:06 +02:00
Martin Diehl db645efda7 function to calculate nonSchmid matrix 2018-10-03 08:49:23 +02:00
Martin Diehl 103b46ecbb don't repeate code over different plastic_xxx modules 2018-10-03 07:58:02 +02:00
Martin Diehl 89e03be699 also building interactions for slip-twin and twin-slip 2018-10-03 07:51:11 +02:00
Martin Diehl 0cac6ce0d2 allocating to wrong size 2018-10-03 07:36:57 +02:00
Martin Diehl ba383336f5 only one projection matrix required for all (non)schmid projections
following the example from plastic_nonlocal
2018-10-03 07:23:18 +02:00
Martin Diehl d718521890 polishing 2018-10-03 07:13:30 +02:00
Martin Diehl 67c55965e9 segmentation fault, tried LHS with scalar
Nxx per system is stored in LATTICE_yyy_NxxxSYSTEM
Using CAPITALS for parameters improves readbility
2018-10-03 06:45:42 +02:00
Martin Diehl 97d2c2b353 mesh_element(1) has a size of 4
fixed sigsegv
2018-10-02 22:54:44 +02:00
Martin Diehl 740325165d Merge branch 'development' into 20-NewStyleDislotwin 2018-10-02 20:37:11 +02:00
Martin Diehl 0047e6c14c correct calculation of dGdot_dTau
needs to take drag coefficient into account for the derivative
2018-10-02 18:09:57 +02:00
Martin Diehl 9cc3a77e01 mean velocity of dislocation corrected for higher temperatures
- v_wait: obstacle spacing over waiting time (effective velocity)
- v_run:  'true' velocity of a dislocation moving between obstacles
for higher temperatures v_run becomes important and bounds the velocity
2018-10-02 15:56:18 +02:00
Martin Diehl 5d1e648d17 drag coefficient B introduced and read in 2018-10-02 15:25:40 +02:00
Martin Diehl 384a785805 more sevice functions use
still trying
2018-10-01 23:02:31 +02:00
Martin Diehl ff2614b757 using 'service functions' from lattice
get rid of many global array on the long run
2018-10-01 22:48:14 +02:00
Martin Diehl a943940760 Merge branch 'development' into 44-column-major-access-to-interaction-matrices 2018-10-01 22:32:38 +02:00
Martin Diehl 98296a978e Merge branch 'development' into 29-rename-mesh_element-array 2018-10-01 22:29:31 +02:00
Martin Diehl e7b8adadd0 passing in instance and of is much easier
also using always the full Mandel stress tensor to avoid repeated
conversion
2018-10-01 22:14:54 +02:00
Martin Diehl ddfbe19f02 Merge branch 'development' into 20-NewStyleDislotwin 2018-10-01 21:16:11 +02:00
Martin Diehl 27bde05529 Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' into 'development'
Resolve "Introduce Rudimentary PETSc based FEM solver"

Closes #38

See merge request damask/DAMASK!41
2018-10-01 21:10:03 +02:00
Franz Roters d5cf7d2144 Merge branch '19-NewStylePhenopowerlaw' into 'development'
Resolve "New coding style for phenopowerlaw"

See merge request damask/DAMASK!39
2018-10-01 16:08:05 +02:00
Martin Diehl 49a4202e26 not needed here 2018-09-29 10:31:45 +02:00
Martin Diehl 14509876d4 error == 0 is normal termination 2018-09-29 09:57:53 +02:00
Martin Diehl 637544509e rewind needed
the file is read twice from beginning to end
2018-09-28 10:06:21 +02:00
Vitesh Shah 8619b49e20 made it nonexecutable 2018-09-28 08:47:00 +02:00
Vitesh Shah 8bd0cb3b25 Made it non executable 2018-09-28 08:45:52 +02:00
Vitesh Shah 6efde5f4ce Combined the dataset creation and writing dataset in single subroutine. Created group for looped writing. 2018-09-28 08:41:29 +02:00
Martin Diehl b141252f1f doing the same things in the same way in both solvers 2018-09-28 08:06:22 +02:00
Martin Diehl d1f614991e merging good style mutually FEM <-> Spectral 2018-09-28 07:49:52 +02:00
Martin Diehl 6780217193 adopted from DAMASK_spectral 2018-09-28 07:25:32 +02:00
Martin Diehl e8f687a99c typo, Abaqus/Marc did not compile 2018-09-27 20:18:37 +02:00
Martin Diehl 822bc4dbbf Merge branch 'development' into 29-rename-mesh_element-array 2018-09-27 20:12:09 +02:00
Martin Diehl 4c057ba529 both solvers can share quit 2018-09-27 20:09:59 +02:00
Chuanlai Liu b391ad304d tensor input/output is of the form 11,12,13, 21,22,23, 31,32,33. Thus row index i is slow, while column index j is fast 2018-09-27 11:53:45 +02:00
Martin Diehl 6509775d41 cleaning
avoiding compiler warnings and confusion of the user
2018-09-27 08:23:30 +02:00
Vitesh Shah 5b52ac91e5 Revert "made it non executable"
This reverts commit 05c784aefc.
2018-09-26 09:28:47 +02:00
Martin Diehl c3380aa9f3 using wrong (uninitialized) stress 2018-09-26 09:22:12 +02:00
Vitesh Shah 2edf8f7f53 Need to commit this before reverting the changes in other files 2018-09-26 09:21:53 +02:00
Vitesh Shah 3408282755 windows and linux editor incompatibility 2018-09-25 16:49:25 +02:00
Vitesh Shah 05c784aefc made it non executable 2018-09-25 16:48:02 +02:00
Vitesh Shah b71896d4b6 writing of multidimensional dataset into hdf5 does not appear as multiple pages in hdfviewer 2018-09-25 16:42:43 +02:00
Martin Diehl ceb385ef39 calcMode not needed for spectral and FEM 2018-09-23 21:31:30 +02:00
Martin Diehl c42eb87a33 using arrays with new names 2018-09-23 20:53:35 +02:00
Martin Diehl 72b87b0a9b better name 2018-09-23 19:58:43 +02:00
Martin Diehl f701910c71 Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' of magit1.mpie.de:damask/DAMASK into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-23 19:32:19 +02:00
Martin Diehl ebef12e446 syntax errors in declaration 2018-09-23 19:04:17 +02:00
Martin Diehl 67483487ea more descriptive names 2018-09-23 18:50:54 +02:00
Martin Diehl 854d99250c mesh_element(1,:) only used for debug output
set to -1 at the moment to indicate that it is not used.
Re-implementation should be done for MSC.Marc and Abaqus only.
2018-09-23 18:42:49 +02:00
Martin Diehl 4b14cc5560 calcmode only needed for Abaqus and MSC.Marc 2018-09-23 18:06:18 +02:00
Martin Diehl cf6d388a6b consistent order of solver-specific functionality 2018-09-23 17:57:48 +02:00
Martin Diehl 5936397ae7 introducing better names
allows further simplifications as we do not store max and per elem
values any more for number of integration points and number of cell
nodes
2018-09-23 17:37:57 +02:00
Martin Diehl 2fe2c4ca45 leaner syntax with sourced allocation 2018-09-23 17:26:13 +02:00
Martin Diehl 51390b1acf Nelems /= NcpElems only in case of Abaqus/MSC.Marc 2018-09-23 17:05:01 +02:00
Martin Diehl 5814e07021 simplified 2018-09-23 16:55:03 +02:00
Martin Diehl e3f2ad34b2 not needed 2018-09-23 16:32:13 +02:00
Martin Diehl bd60018513 not needed for spectral 2018-09-23 15:57:21 +02:00
Martin Diehl c1b8854132 only needed for commercial solvers 2018-09-23 15:31:19 +02:00
Martin Diehl 4862aca340 grouping solver specific variables for better readability 2018-09-23 15:27:51 +02:00
Martin Diehl db45b7615a drop support for heterogeneous meshes
heterogeneous meshes are neither advisable nor typically used
2018-09-23 15:24:14 +02:00
Martin Diehl 519cd840bd cleaning 2018-09-23 15:19:23 +02:00
Pratheek Shanthraj 109ed4308f change in tabulation order. should now be working correctly 2018-09-23 03:14:23 +02:00
Martin Diehl 9eb318b9bf Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' of magit1.mpie.de:damask/DAMASK into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-22 14:54:58 +02:00
Pratheek Shanthraj d9bdf53628 quadrature weights defined twice for some reason 2018-09-22 12:55:23 +02:00
Pratheek Shanthraj ffcadc1d86 use displacements instead of coordinates 2018-09-22 12:54:45 +02:00
Pratheek Shanthraj 4a25520828 removed debug write statements 2018-09-22 12:53:33 +02:00
Pratheek Shanthraj 6c21c60c70 corrected nbasis 2018-09-22 12:53:02 +02:00
Pratheek Shanthraj becd959913 dmda not needed 2018-09-22 12:52:29 +02:00
Pratheek Shanthraj 81ced06393 order --> degree 2018-09-22 12:51:02 +02:00
Pratheek Shanthraj 22c1436af6 working with petsc 3.10 2018-09-22 12:49:56 +02:00
Pratheek Shanthraj c9a4609290 reading in BCs correctly 2018-09-22 12:48:57 +02:00
Martin Diehl 42bc1b468a cleaning+adopting to petsc-3.10 2018-09-22 11:19:08 +02:00
Martin Diehl a95e2b8083 Merge branch 'PETSc3.10' into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-22 10:36:31 +02:00
Martin Diehl f590851a78 Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' of magit1.mpie.de:damask/DAMASK into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-22 10:33:20 +02:00
Martin Diehl 80914470cc most probably pInt and PetscInt is the same 2018-09-22 10:32:26 +02:00
Jaeyong Jung 4ddb8d843c modified DMGetDefaultGlobalSection to DMGetGlobalSection 2018-09-21 14:08:44 +02:00
Jaeyong Jung 9150844c96 Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' of magit1.mpie.de:damask/DAMASK into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-21 10:13:27 +02:00
Martin Diehl 180105d3ce external statements will not work if interfaces exist
we're currently providing a patch for PETSc with interfaces for all
functions that we use
2018-09-21 08:25:35 +02:00
Martin Diehl ff241ae4a6 only use required includes 2018-09-21 08:19:36 +02:00
Martin Diehl bd9a02bfe2 creating hdf5 file to contain restart information
first quick and dirty implementation to get started. needs polishing and
renaming
2018-09-20 19:42:58 +02:00
Jaeyong Jung abe5c1d825 Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' of magit1.mpie.de:damask/DAMASK into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-20 09:57:30 +02:00
Martin Diehl b775d5084b more (temporarly) cleaning 2018-09-20 08:26:59 +02:00
Martin Diehl 1545a53ea9 ID do not exist at the moment 2018-09-20 08:00:39 +02:00
Martin Diehl cc262ae198 Merge branch 'development' into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-20 07:29:19 +02:00
Martin Diehl 3e7b80a3ef debug only available if compiled in debug mode 2018-09-20 07:27:12 +02:00
Martin Diehl fc016bbc6e Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-09-20 07:16:03 +02:00
Martin Diehl 310ea62964 only print out the essential information 2018-09-20 06:58:31 +02:00
Martin Diehl fcff6b908a can be easily computed during post processing 2018-09-20 06:40:23 +02:00
Martin Diehl 901355d2ae don't use unnecessarily long names 2018-09-20 06:27:53 +02:00
Martin Diehl df0464c31b use (import) debug variables only when needed 2018-09-20 06:24:03 +02:00
Martin Diehl 6aa4dd842a define debug variables only if needed 2018-09-20 06:09:02 +02:00
Martin Diehl 1623a33b48 cleaning (mainly OMP FLUSh) 2018-09-19 21:46:26 +02:00
Martin Diehl 191ad9df09 not used 2018-09-19 20:40:35 +02:00
Martin Diehl 1bf1e13b46 some debug statements 2018-09-19 20:23:28 +02:00
Martin Diehl e7e959af47 using explicit interface from PETScDT 2018-09-19 20:06:35 +02:00
Martin Diehl 11d4c28d88 flushes not needed + further cleaning 2018-09-19 19:45:57 +02:00
Martin Diehl b84476e681 cleaning and debugging 2018-09-19 18:33:37 +02:00
Martin Diehl c313dc1675 only read access 2018-09-19 17:04:12 +02:00
Martin Diehl 0bf64645a1 should be done by the plasticity laws (for the moment) 2018-09-19 14:22:35 +02:00
Martin Diehl a8fb7d7ade not needed
but I'm under the impression that the compiler removes such things anyway
2018-09-19 14:21:10 +02:00
Martin Diehl 20f0bee459 fallback dPdF not needed
save a lot of memory
2018-09-19 06:19:40 +02:00
Martin Diehl 18db5f5652 not needed 2018-09-18 05:20:08 +02:00
Martin Diehl 82cdc551a5 MPI Communicator only needed for PETSc 3.10.
thx to Jaeyong for figuring this out
2018-09-18 05:17:48 +02:00
Martin Diehl 245676728d not needed 2018-09-17 23:28:00 +02:00
Jaeyong Jung 3beab556a2 runtime polar decompoistion error comes up 2018-09-17 15:41:58 +02:00
Martin Diehl c1a9d3fbf6 names in agreement with the DAMASK paper 2018-09-17 08:23:23 +02:00
Martin Diehl 4a5e55cce9 Merge branch 'development' into 20-NewStyleDislotwin 2018-09-17 07:59:46 +02:00
Martin Diehl e6fa3f3d35 correct stress in postResults 2018-09-16 22:57:50 +02:00
Martin Diehl cea2fba063 don't repeat code that can be handled centrally 2018-09-16 22:38:57 +02:00
Martin Diehl 9570fb894a correct names and no superflous conversions anymore 2018-09-16 22:31:55 +02:00
Martin Diehl 5f06a35900 Merge branch 'development' into 19-NewStylePhenopowerlaw 2018-09-16 22:03:05 +02:00
Martin Diehl b54742cfa7 [skip sc] [skip ci] PETSc 3.10 is out 2018-09-15 20:09:27 +02:00
Martin Diehl 075d2e51b2 debugging, still crashing 2018-09-15 16:19:41 +02:00
Martin Diehl 3b1817a954 cleaning, only having mech at the moment 2018-09-15 15:14:48 +02:00
Martin Diehl 934ca56811 clean exit if required files not found 2018-09-15 14:54:56 +02:00
Martin Diehl a92b945e3f does not crash anymore
xx is nc, the number of components
needs to be 3 in the current case
2018-09-15 11:40:07 +02:00
Martin Diehl 45dc59b1d8 kinetics also for trans 2018-09-15 10:43:05 +02:00
Martin Diehl 5e33900664 Merge branch 'development' into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-15 08:38:30 +02:00
Martin Diehl ed570f0fe8 use of kinetics avoids different calculation of shearrates 2018-09-15 08:24:12 +02:00
Martin Diehl 3526c0a757 index missing, test failed 2018-09-15 07:49:14 +02:00
Martin Diehl acc3294909 more verbose initialization 2018-09-15 06:39:02 +02:00
Martin Diehl 25a38ad438 initialization broken
- need to consider case of no twin/slip active
- state0 needs to be initialized
2018-09-15 05:45:10 +02:00
Martin Diehl a3750738c0 type mismatch for MSC.Marc 2018-09-14 12:20:37 +02:00
Martin Diehl 9c5ca0e542 use of kinetics simplifies code 2018-09-14 12:17:35 +02:00
Martin Diehl bd0b561772 better readable 2018-09-14 11:56:36 +02:00
Martin Diehl 9f16cefd9f renaming in accordance with the DAMASK paper 2018-09-14 11:17:14 +02:00
Martin Diehl af32b3d85b reordering for easier overview 2018-09-14 10:51:44 +02:00
Martin Diehl 3dd47eade9 just renaming, better readable... 2018-09-14 10:18:44 +02:00
Martin Diehl 07b0ddf711 polishing 2018-09-14 10:08:36 +02:00
Martin Diehl 80a2062c4b Merge remote-tracking branch 'origin/20-NewStyleDislotwin' into 20-NewStyleDislotwin 2018-09-14 10:00:11 +02:00
Martin Diehl 18858301d5 using consistently i as first running index and j as second 2018-09-14 09:59:04 +02:00
Martin Diehl 55511782e8 incomplete transition/renaming
caused segmentation fault
2018-09-14 08:19:39 +02:00
Martin Diehl f98243e4ac Merge branch 'development' into 43-wrong-stress-in-dotstate-and-deltastate 2018-09-14 05:39:15 +02:00
Martin Diehl 989393e6e8 should not differ from development 2018-09-14 05:37:17 +02:00
Martin Diehl e2a66f6ddb should not differ from development 2018-09-14 05:33:39 +02:00
Martin Diehl b165e48d9f non-Schmid contribution were ignored in test
reverted, just to ensure that the results have not changed: Never
polishing and change physics at the same time
2018-09-14 05:21:05 +02:00
Martin Diehl cc20b044a6 forgot to allocate array now used internally only 2018-09-13 09:27:54 +02:00
Martin Diehl ad3994c484 allocate all dependentStates/microstructures 2018-09-13 06:48:06 +02:00
Martin Diehl e7f7fa74b7 don't do calculation of dependentStates/microstructure manually 2018-09-13 06:20:58 +02:00
Martin Diehl 8baa4f9c81 need to avoid array access out of bounds 2018-09-13 06:12:32 +02:00
Martin Diehl ae8efe2755 Merge branch 'development' into 44-column-major-access-to-interaction-matrices 2018-09-13 05:55:59 +02:00
Martin Diehl 8ecb019566 real must be pReal for MSC.Marc 2018-09-13 05:51:58 +02:00
Martin Diehl 4266872965 array out of bounds was possible for Ntwin =0
in postResults(c+1:c+prm%totalNtwin) c+1 will be out of bounds if
c is already size(postResults)
2018-09-13 05:41:44 +02:00
Martin Diehl 66edad1cf8 avoid code doubling
shear rates needed multiple times. For now, just introduced but not
used. Will become active once the test passes again
2018-09-12 22:07:59 +02:00
Martin Diehl 3068caa9a3 [skip sc] resolved stress not needed
using kinetics_xxx as in disloUCLA
compiles on gfortran but pre-receive hook with intel compiler (MSC.Marc)
fails
2018-09-12 21:05:40 +02:00
Martin Diehl ac3625afba array access out of bounds 2018-09-12 20:42:57 +02:00
Martin Diehl 4e68d049a8 WIP: calculating rotated stiffness matrices for transformation 2018-09-12 20:37:55 +02:00
Martin Diehl b95174a8b7 reducing global variables 2018-09-12 16:16:31 +02:00
Martin Diehl 192bb6453d cleaning 2018-09-12 15:57:54 +02:00
Martin Diehl b753a86d13 cleaning 2018-09-12 15:27:47 +02:00
Martin Diehl 0a621ece8b WIP: polishing and implementing remaining functions 2018-09-12 14:29:22 +02:00
Martin Diehl f1f8922ab8 more meaningful error messages 2018-09-12 14:03:45 +02:00
Martin Diehl d7023096ad introduced kinetics, not in use yet 2018-09-12 13:25:18 +02:00
Martin Diehl edebe4d1ed vectorization error 2018-09-12 12:26:33 +02:00
Martin Diehl c9b5b3fb7b should be always set, even if no twinning is enabled
fixes NaN in dotState
2018-09-12 12:08:03 +02:00
Martin Diehl 253f318e55 preventing NaN in dotState 2018-09-12 11:47:35 +02:00
Martin Diehl 2337dde525 cleaning 2018-09-12 11:26:59 +02:00
Martin Diehl 8a406150f8 polishing 2018-09-12 10:06:04 +02:00
Martin Diehl 3352611267 cleaning 2018-09-12 09:59:09 +02:00
Martin Diehl 01196ca36b Merge branch 'development' into 19-NewStylePhenopowerlaw 2018-09-12 09:50:24 +02:00
Martin Diehl c9208315f5 avoid repeated calculations
does not save so much here, but avoids having inconsistent calculation
(e.g. nonSchmid effects) and serves as a template for more complex
models
2018-09-12 09:23:11 +02:00
Martin Diehl ad7c099fe3 Merge branch 'development' into 20-NewStyleDislotwin 2018-09-11 17:03:05 +02:00
Martin Diehl ce6e6679d5 causes array access out of bounds, needs further checks 2018-09-11 12:20:05 +02:00
Martin Diehl 51a6f4b990 Merge branch 'development' into 20-NewStyleDislotwin 2018-09-11 02:39:53 +02:00
Martin Diehl 3d49c70dbc commenting 2018-09-08 20:15:17 +02:00
Philip Eisenlohr 9be2c084e4 Merge branch '39-simplify-obscure-numerics-integration-mode' into 'development'
Resolve "simplify obscure numerics integration mode"

Closes #39

See merge request damask/DAMASK!36
2018-09-07 19:34:35 +02:00
Philip Eisenlohr 7e330f1249 Merge branch '37-include-hdf5-routines' into 'development'
Resolve "Include HDF5 routines"

Closes #37

See merge request damask/DAMASK!37
2018-09-07 19:18:07 +02:00
Satyapriya Gupta a16454f1f9 fixed missing propagation of dependent state variables 2018-09-06 16:48:28 -04:00
Martin Diehl e70efd2608 inform about debug versions indenpendently of the solver 2018-09-06 16:49:39 +02:00
Martin Diehl 8324962123 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-09-06 16:26:46 +02:00
Martin Diehl 8b3d30fdd4 don't know what happend to the copyright note 2018-09-05 23:47:01 +02:00
Martin Diehl 0f084a9844 cleaning output 2018-09-05 23:39:54 +02:00
Martin Diehl 918de24f83 using microstructure instead of 'dependent state' 2018-09-05 23:00:46 +02:00
Martin Diehl 1f9d268e29 renaming 2018-09-05 16:15:57 +02:00
Martin Diehl 97977f4940 all parameters should be stored in the constitutive laws
no need to know the 'phase number' anymore
2018-09-05 15:54:19 +02:00
Martin Diehl 038508aa11 'dependent states' do not need to be accessible globally 2018-09-05 11:07:00 +02:00
Martin Diehl 4fbe5811a3 too much whitespace 2018-09-01 11:08:38 +02:00
Martin Diehl e9f738fade cleaning + renaming 2018-09-01 10:58:50 +02:00
Martin Diehl cf65aae92a correct names 2018-09-01 06:49:03 +02:00
Martin Diehl 0b94b8085d still just polishing 2018-08-31 18:17:35 +02:00
Philip Eisenlohr 6a64637ac3 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-08-31 11:23:25 -04:00
Philip Eisenlohr 3e81110830 tell user whether DEBUG version or not 2018-08-31 11:22:59 -04:00
Martin Diehl 34d1c011c7 long name does not help here 2018-08-31 16:38:17 +02:00
Martin Diehl ea1fd621aa more cleaning 2018-08-31 16:36:19 +02:00
Martin Diehl 7a67922c5f general polishing 2018-08-31 16:08:01 +02:00
Martin Diehl 912926e604 more improvements 2018-08-31 15:07:22 +02:00
Martin Diehl c0e7050867 more loops simplified 2018-08-31 14:54:33 +02:00
Martin Diehl 60e60e211c also simplifying twin loops 2018-08-31 14:33:42 +02:00
Martin Diehl dc91016729 simpler loop structures for better readability 2018-08-31 13:38:07 +02:00
Martin Diehl 42745c66f0 nested loops do not improve readability 2018-08-31 13:32:24 +02:00
Martin Diehl ba65044ff5 looping over systems simplifies loop structure 2018-08-31 13:19:28 +02:00
Martin Diehl 3431086fdb storing data per slip system simplifies calculation 2018-08-31 13:14:16 +02:00
Martin Diehl c9bb051261 fill local Schmid Matrices 2018-08-31 11:52:43 +02:00
Martin Diehl 54fe0afb16 indentation wrong 2018-08-31 11:42:54 +02:00
Martin Diehl fc4253ed57 conversion from 3x3 to 6 of stress in constitutive will be remove later 2018-08-31 11:37:14 +02:00
Martin Diehl 3b88096cd7 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-08-31 11:09:52 +02:00
Martin Diehl 5330fb31ad more verbose error message 2018-08-31 10:19:37 +02:00
Martin Diehl f028e05298 guessing was not correctly set 2018-08-31 10:14:33 +02:00
Martin Diehl 3cb279b083 one more loop not needed 2018-08-31 10:03:15 +02:00
Martin Diehl 017563e061 one more loop not needed 2018-08-31 09:14:16 +02:00
Martin Diehl c0ac05aa88 no need to use two loops 2018-08-31 09:12:50 +02:00
Martin Diehl 732022d4f0 functions from IO does not add any value here
only prevents the automated selection of a new unit
2018-08-31 08:58:13 +02:00
Martin Diehl d18d74ae31 mechanics solver type is set only once
as all mech routines have the same interface, this leaner syntax can be
used
2018-08-31 08:20:23 +02:00
Martin Diehl 0b049fc843 Merge branch 'development' into 42-new-coding-style-for-homogenization 2018-08-31 06:36:12 +02:00
Martin Diehl 26d18257d2 requested output is stored in prm%outputID 2018-08-31 06:35:30 +02:00
Martin Diehl 91a3b4ed69 almost done 2018-08-31 01:24:28 +02:00
Martin Diehl 6b45afa72f using parameters from config.f90 2018-08-30 17:51:31 +02:00
Martin Diehl 555ca8e5f1 debug statements not needed anymore 2018-08-30 17:21:22 +02:00
Martin Diehl 62413e8187 now compiles again 2018-08-30 17:18:56 +02:00
Martin Diehl 5f97ae9080 not used at the moment 2018-08-30 16:39:18 +02:00
Martin Diehl cbecb71000 [skip sc] using explicit interface helps to get correct type
still some issues with different ranks and datatypes
2018-08-30 13:10:18 +02:00
Martin Diehl b930c68887 PETSc 3.9 style (no SIGSEGVs anymore) 2018-08-30 12:38:44 +02:00
Martin Diehl 8b6bef159e a little bit more verbose 2018-08-30 12:38:29 +02:00
Martin Diehl 3254ae79a5 collecting questions to Pratheek 2018-08-30 12:37:47 +02:00
Martin Diehl d180af494e adopted to new PETSc fortran interface 2018-08-30 11:55:13 +02:00
Martin Diehl 1f9a614388 no need to have long prefixes for local variables and functions 2018-08-30 10:50:52 +02:00
Martin Diehl 88d776cad6 consistent renames 2018-08-30 10:46:30 +02:00
Martin Diehl 29e55d20fb message better to understand and giving error instead of SIGSEGV 2018-08-30 09:42:45 +02:00
Martin Diehl b96e01c128 Merge branch 'development' into lattice-builds-interaction 2018-08-30 05:41:40 +02:00
Martin Diehl 105c4077ad Merge branch 'development' into 19-NewStylePhenopowerlaw 2018-08-30 00:58:54 +02:00
Martin Diehl b163a8aaa0 Non-schmid activated again
internally, no need for long name plastic_phenopowerlaw_postResults
2018-08-30 00:57:15 +02:00
Martin Diehl bcff95ddf8 using new values for initialization 2018-08-29 13:52:26 +02:00
Martin Diehl 0b2dd86bbf handling cluster orientation 2018-08-29 13:36:46 +02:00
Martin Diehl b884349e7b only renaming
3333 not needed for dX_dY if X and Y are 3x3 tensors
PK2 stress is S not T according to the DAMASK paper
2018-08-29 13:16:37 +02:00
Martin Diehl 6d28883db5 starting to include non-Schmid terms (again) 2018-08-29 12:07:51 +02:00
Martin Diehl 922273f230 does not make sense to store and use the 6-vector version of the Schmid
matrix
2018-08-29 12:03:31 +02:00
Martin Diehl baeb449e07 WIP: debugging 2018-08-29 11:44:39 +02:00
Martin Diehl ef506b801e fixed two memory faults (unallocated and wrong index) 2018-08-29 09:52:22 +02:00
Martin Diehl f2acc14882 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-08-29 08:27:15 +02:00
Martin Diehl 680c9e11d4 segmentation fault in cause of empty list 2018-08-29 08:26:28 +02:00
Martin Diehl b5e4ad247d LpAndItsTangent naming convention following DAMASK paper 2018-08-28 15:40:24 +02:00
Martin Diehl fc3ce54667 return more than one tangent 2018-08-28 15:07:39 +02:00
Martin Diehl 15e2d4a7cd Tstar is S
according to the DAMASK paper
2018-08-28 15:02:58 +02:00
Martin Diehl 4c14f988a3 rename according to paper 2018-08-28 14:58:17 +02:00
Martin Diehl 63b939489b reading in parameters using new style in parallel 2018-08-28 13:15:38 +02:00
Martin Diehl f9214c8e1b should not be handled by the individual model
avg(P) and avg(F) exist independently of RGC
2018-08-28 13:02:44 +02:00
Martin Diehl 7f00082d60 parameters easier to identify 2018-08-28 12:57:22 +02:00
Martin Diehl 06e7156351 did not work for values <0 2018-08-28 12:41:21 +02:00
Martin Diehl 42f8b0a063 labels of slip and twin systems for more self-explanatory output 2018-08-28 12:27:56 +02:00
Martin Diehl 94695f773e more verbose and works for arbitrary precision 2018-08-28 07:47:05 +02:00
Martin Diehl 4112da183e Merge branch 'development' into 42-new-coding-style-for-homogenization 2018-08-28 06:28:13 +02:00
Martin Diehl 9b3ddcd2c2 more explicit 2018-08-28 06:27:38 +02:00
Martin Diehl 331eaabaa4 standard style from plasticity
using derived type for parameters
explicit "use" to see dependencies
2018-08-28 06:24:26 +02:00
Franz Roters 38fd517c44 Merge remote-tracking branch 'remotes/origin/36-faster-file-handling-for-material-config-use-stream-access-instead-of-line-wise-reading' into development 2018-08-27 15:13:16 +02:00
Martin Diehl 38a855243d Merge branch 'development' into 43-wrong-stress-in-dotstate-and-deltastate 2018-08-27 06:31:45 +02:00
Martin Diehl dd81fe806d naming was not completely corrected 2018-08-27 06:30:55 +02:00
Martin Diehl 11a7103675 more explicit 2018-08-27 00:00:21 +02:00
Martin Diehl e6408e0ce3 corrected careless changes
using unallocated pointer and asigning wrong label
2018-08-26 21:05:59 +02:00
Martin Diehl b11666effa Merge branch 'development' into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-08-26 13:59:50 +02:00
Martin Diehl a5f139b786 unused variables 2018-08-26 11:53:18 +02:00
Martin Diehl 241b2ade8b more portable way to define PI
https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/490432
and compiler will not complain about truncation
2018-08-26 11:40:38 +02:00
Martin Diehl 0041d21777 output was screwed up 2018-08-26 06:20:48 +02:00
Martin Diehl 4f1becb503 cleaning and fixing bugs (wrong indices) 2018-08-25 21:27:14 +02:00
Martin Diehl f458de82fa simplified 2018-08-25 21:13:32 +02:00
Martin Diehl 3ff7c9c0eb extendend to Schmid_twin 2018-08-25 20:55:15 +02:00
Martin Diehl fbaac484ea extended to postResults 2018-08-25 20:32:01 +02:00
Martin Diehl 780699740d internal (non)-Schmid definitions also in dotState 2018-08-25 20:19:02 +02:00
Martin Diehl ba9330c8dd early rename 2018-08-25 20:08:46 +02:00
Martin Diehl d51b00c2d3 no need to loop over families and systems independently. no need for 3333 2018-08-25 20:06:19 +02:00
Martin Diehl d055ef665a using only internal schmid and non schmid matrices 2018-08-25 20:01:39 +02:00
Martin Diehl cc5d04ff2a newly introduced parameters for non-schmid were confusing 2018-08-25 19:28:09 +02:00
Martin Diehl 5b3bed3e48 functionality to calculate SchmidMatrices 2018-08-25 18:32:55 +02:00
Martin Diehl d3db0d816c ordered by dimension and set private where possible 2018-08-25 17:29:20 +02:00
Martin Diehl 1c76e156d9 new symmetry handling will be handled in a different branch 2018-08-25 17:19:48 +02:00
Martin Diehl bde242902b Merge branch 'development' into 43-wrong-stress-in-dotstate-and-deltastate 2018-08-25 16:02:12 +02:00
Martin Diehl b8b5bac684 dotState and deltaState parse Mstar instead of Tstar
requires to parse in Fi
2018-08-25 15:59:34 +02:00
Martin Diehl 22a232ad08 bug: memory access out of bounds
introduced when moderninzing reading in of parameters
2018-08-25 15:50:43 +02:00
Martin Diehl 7e002d1bfb missing rename 2018-08-25 14:42:44 +02:00
Martin Diehl e46605f0ef forall is deprecated 2018-08-25 14:36:21 +02:00
Martin Diehl 17d88184a7 typos fixed 2018-08-25 14:35:49 +02:00
Martin Diehl 35688a6acf temp33 not needed (compiler should be smart enough) 2018-08-25 14:29:03 +02:00
Martin Diehl 953fff79ac prepared LpAndItsTangent to remove superflous forward-backward
conversion

updating the individual plastic laws will be done in the respective
branches
2018-08-25 14:21:06 +02:00
Martin Diehl d585deee7e unified syntax
_v for vector representation of tensor conflicts with 3333 suffix for
4-th order tensors.
General idea: Mark symmetric second order tensors in vector notation with
'6' and fourth order tensors in second order matrix notation with '99'.

Append nothing for 'natural' representation, i.e. F and NOT F33, Lp_dTstar and NOT
Lp_dTstar3333
2018-08-25 14:07:23 +02:00
Martin Diehl 025cbddd00 generic function and interfaces for slipSlip, twinTwin, transTrans 2018-08-25 13:08:32 +02:00
Martin Diehl 6800a5a6f6 just adopting naming convention 2018-08-25 11:07:56 +02:00
Martin Diehl 49ae38d0f9 using parameters from linked list and removed output
homogenization models should only provide model specific output in
accordance with http://dx.doi.org/10.1007/s40192-017-0084-5
2018-08-25 11:03:43 +02:00
Martin Diehl 7ecb7689f1 Intel compiler failed with SIGSEV
derived types, pointers, finalize .... altogether seems to bring both Compilers to their limits.
I cannot see what was wrong before, but now it works and might be a little faster
2018-08-23 00:13:57 +02:00
Martin Diehl 271b9ba76b intersting note ... 2018-08-22 23:28:47 +02:00
Martin Diehl 8c5f3d4e07 only needed once 2018-08-22 22:52:12 +02:00
Martin Diehl 51b4ef319a HDF5 was not compiled due to missing dependency 2018-08-22 20:12:16 +02:00
Martin Diehl dc596e6789 zero termination does not work 2018-08-22 18:09:17 +02:00
Martin Diehl 1a943df97e small flaws 2018-08-22 17:52:00 +02:00
Martin Diehl ab45818d51 seems to work now
anyway, nicer code
2018-08-22 14:30:51 +02:00
Martin Diehl 1b5623ad6c avoid out of bound access, removed unneeded stuff 2018-08-22 14:22:37 +02:00
Martin Diehl 037ab3d081 getTag works now for tags with the same start and close tag
needed for '/echo/'. Still suggest to rather use /echo\
2018-08-22 13:10:59 +02:00
Martin Diehl 52088691d1 improved linked list and fixed solution for strange bug
Bug: Using automated LHS re-allocation for a string array that with global scope seems to cause trouble
     Hence, "parse_file" works with a local string and assings only once to it

Linked_List: Now storing data in the list head also and last element is always empty.
             Finalize allows simple handling of deallocation
2018-08-22 11:51:23 +02:00
Martin Diehl 52002f654e to converge at one point to one (or two) string lenth values 2018-08-22 09:14:16 +02:00
Martin Diehl 0068dba40f Merge branch 'development' into 36-faster-file-handling-for-material-config-use-stream-access-instead-of-line-wise-reading 2018-08-22 09:11:33 +02:00
Martin Diehl 4d432e5462 Merge branch 'development' into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-08-21 23:03:56 +02:00
Martin Diehl 0fa902100c Merge branch 'development' into 39-simplify-obscure-numerics-integration-mode 2018-08-21 22:59:57 +02:00
Martin Diehl 61070fd908 Merge branch 'development' into 37-include-hdf5-routines 2018-08-21 22:46:30 +02:00
Martin Diehl 8de321382f using final seems to be the better approach
http://www.training.prace-ri.eu/uploads/tx_pracetmo/AdvFTN_handout.pdf
still needs in-depth analysis, even though I cannot reproduce 'terminally ill'
2018-08-21 08:14:59 +02:00
Martin Diehl d146417abe hot fix for terminally ill with gfortran 7.3
might be a bug in the compiler or in the linked list.
waste some memory at the moment...
check linked list carefully before enabling again and blaming gfortran
2018-08-21 07:41:10 +02:00
Martin Diehl 465d950ab1 gfortran 7.3 and optimized code still gives 'terminally ill' 2018-08-21 07:09:50 +02:00
Martin Diehl 60f56255e4 [skip sc] [skip ci] simplified interfacing 2018-08-20 23:14:49 +02:00
Martin Diehl 69ad600916 more explicit file opening
still having trouble with Gfortran 7.3 and no numerics.config
2018-08-20 22:36:55 +02:00
Philip Eisenlohr 87a8a9536b absTol for divergence was way too tight 2018-08-20 16:34:43 -04:00
Martin Diehl c78396dd78 randomized FILEUNIT
matrix inversion error when numerics.config is not there or not present
very strange
2018-08-20 22:11:53 +02:00
Martin Diehl e47677738a more verbose error 2018-08-20 17:57:15 +02:00
Martin Diehl 031c59954f working directory is changed automatically 2018-08-20 17:45:34 +02:00
Martin Diehl 29cd8fa5e2 Merge branch 'development' into 36-include-hdf5-routines 2018-08-20 17:35:32 +02:00
Martin Diehl dbed7056e5 [skip sc] cleaning 2018-08-20 17:08:33 +02:00
Martin Diehl 93562d5142 mapping of elements etc not needed for PETSc-based FEM and spectral
solvers
2018-08-20 16:42:47 +02:00
Martin Diehl e3e905938e all elements are CP elements 2018-08-20 16:23:05 +02:00
Martin Diehl 3e4c878304 using shared interface for spectral and FEM solver
group_scalar seems inappropriate as integers are also scalars. renamed
to group_float (is actually usually of double precision).

think about better name, types should have a t prefix. tgroupFloat?
2018-08-20 16:09:40 +02:00
Martin Diehl b8d56ae320 unfified interface for spectral and FEM solver
Note: extension to load case and geometry is not added automatically
anymore!
2018-08-20 15:59:13 +02:00
Martin Diehl f29a5b3df3 not used at all 2018-08-20 13:15:44 +02:00
Martin Diehl 543c49426f Merge branch 'development' into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-08-20 09:09:15 +02:00
Martin Diehl 3a097d1099 Merge branch 'development' into 36-faster-file-handling-for-material-config-use-stream-access-instead-of-line-wise-reading 2018-08-20 09:04:28 +02:00
Martin Diehl 8fb780ab42 now compiles with gfortran 2018-08-20 09:01:13 +02:00
Martin Diehl d6c69e3a18 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-08-18 23:17:07 +02:00
Martin Diehl 85358bae1b copy and paste error 2018-08-18 21:30:57 +02:00
Martin Diehl 97659c359a MPI write only in case that PETSc is used 2018-08-18 21:01:25 +02:00
Martin Diehl 3b3e0bc068 forgotten use 2018-08-18 17:11:50 +02:00
Martin Diehl 67314fc204 leftover from reducing numerics_integrator to scalar
postponed simplification to scalar because of heavy modification in plastic
constitutive laws
2018-08-18 16:42:32 +02:00
Martin Diehl 2618593568 :Merge branch 'development' into Integration-Mode-Confusion 2018-08-18 16:37:25 +02:00
Martin Diehl f7c20d74af compiles now, but most likely does not work 2018-08-18 15:58:42 +02:00
Martin Diehl 0d8f17cbe6 adjusting to PETSc 3.9.x 2018-08-18 14:05:57 +02:00
Philip Eisenlohr c03ea8f5c7 added forgotten C66(2,2) read-in from parameter database 2018-08-17 15:43:09 -04:00
Philip Eisenlohr 62d2806fe1 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-08-17 14:59:00 -04:00
Martin Diehl d4bcfae82b WIP: adopting to PETSc 3.9.x and modifications in development branch 2018-08-17 12:00:44 +02:00
Martin Diehl 821860987c copied existing files 2018-08-17 00:14:25 +02:00
Martin Diehl 26b08bc21b Merge branch 'development' into 36-faster-file-handling-for-material-config-use-stream-access-instead-of-line-wise-reading 2018-08-16 23:39:14 +02:00
Martin Diehl b64b5b82de integrationMode was always 1, very obscure code
was most likely the leftover of old functionality
2018-08-16 23:33:39 +02:00
Philip Eisenlohr 1493b33a03 fixed buggy state width assignment (endindex += %nSlip corrected to %totalNslip) 2018-08-14 01:07:06 +02:00
Philip Eisenlohr 66e68151ea Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-08-13 18:28:59 -04:00
Philip Eisenlohr ba215ed9ea small polish 2018-08-13 18:27:51 -04:00
Martin Diehl 5337fb1229 old runtime debugging leftovers 2018-08-05 11:08:17 +02:00
Martin Diehl c0adb61350 outdated description 2018-08-05 10:41:01 +02:00
Martin Diehl 60fc47ca2a unused import 2018-08-05 09:41:27 +02:00
Martin Diehl fd578ab8eb Merge branch 'development' into 19-NewStylePhenopowerlaw 2018-08-05 07:38:09 +02:00
Martin Diehl 386c3e7797 Merge branch 'development' into 36-faster-file-handling-for-material-config-use-stream-access-instead-of-line-wise-reading 2018-08-05 06:04:33 +02:00
Martin Diehl 661636d83e default values needed to suppress error in case of missing key 2018-08-04 22:53:56 +02:00
Martin Diehl f522f79703 Merge branch 'development' into 35-new-style-of-reading-in-parameters-in-lattice 2018-08-04 22:42:14 +02:00
Martin Diehl 6a4260ac07 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-08-04 22:29:52 +02:00
Martin Diehl 9360c171a1 polished for merge
access to array(n+m:) is safe for array of size n with m>1
2018-08-04 19:39:50 +02:00
Martin Diehl 20d1264d07 small improvements
default case of error handling, checking for recursion limit, some
comments to also understand it later
2018-08-04 13:58:01 +02:00
Philip Eisenlohr 8edeeaf213 renaming of p_vec and friends to names based on "group" 2018-08-03 19:39:14 -04:00
Martin Diehl 8a32ed8747 calculating non-schmid related data only once 2018-08-03 23:03:51 +02:00
Martin Diehl 8c07825d7e Merge branch 'development' into 36-faster-file-handling-for-material-config-use-stream-access-instead-of-line-wise-reading 2018-08-03 22:21:37 +02:00
Martin Diehl 5b409fd6f7 type mismatch 2018-08-03 16:16:50 +02:00
Martin Diehl f0645d84f5 not a target anymore 2018-08-03 15:10:38 +02:00
Martin Diehl 5cf2973715 naming reflect change from Piola-Kirchhoff to Mandel stress
not using the symmetrized stress anymore to avoid handling of
symmetrized Schmid matrizes. The time saved when calculating the double
contraction is probably anyway lost during the conversion from (3,3) to
(6) of Mstar
2018-08-03 14:53:40 +02:00
Martin Diehl b8e8193001 many imported functions not used anymore, moving parameters to structure 2018-08-03 11:10:22 +02:00
Martin Diehl 38183fdbf6 Merge branch 'development' into 36-faster-file-handling-for-material-config-use-stream-access-instead-of-line-wise-reading 2018-08-03 08:57:44 +02:00
Martin Diehl dc6855261a number of helper functions for HDF5 2018-08-03 08:53:37 +02:00
Martin Diehl c2f9709567 leaner, most of it also supported by older gcc 2018-08-03 08:42:26 +02:00
Martin Diehl af931a78c7 finalizing reading in 2018-08-03 08:09:28 +02:00
Martin Diehl 68c476f690 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-08-03 07:56:02 +02:00
Martin Diehl 0a6bde70c5 Merge branch 'development' into 19-NewStylePhenopowerlaw 2018-08-03 06:56:43 +02:00
Martin Diehl 5d09e98e02 checking with Philip 2018-08-03 01:14:18 +02:00
Martin Diehl 3cceda5fe3 Merge branch 'development' into 31_consistent_wd 2018-08-03 00:08:16 +02:00
Pratheek Shanthraj bc3f6ae97c missing bits in getStrings function 2018-07-31 23:15:44 +02:00
Martin Diehl a908e66306 WIP: reading in new style 2018-07-30 11:58:59 +02:00
Martin Diehl ed97afb51c WIP: inherent definition instead of check, using new reading in functionality 2018-07-29 21:18:04 +02:00
Martin Diehl 5eed7d06e9 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-07-29 20:29:55 +02:00
Martin Diehl 449449b500 does the same as numpy.clip 2018-07-28 01:31:02 +02:00
Martin Diehl 1c83f841aa don't depend on any shear band parameters if sbVelocity is switched of 2018-07-20 17:52:15 +02:00
Martin Diehl e7fd445816 WIP: Simplifying
using maxval gives inherently correct values and a consistency check is not needed any more
using config_phase capabilities to read in lattice related data
2018-07-20 14:13:13 +02:00
Martin Diehl 8554279351 outputID is not of default integer type (causes trouble with MSC.Marc) 2018-07-20 04:02:49 +02:00
Sharan Roongta 3f285d3a3f polishing: prm replaces param(instance) 2018-07-17 19:29:39 +02:00
Martin Diehl a3037a6064 cmpftwin was not read in 2018-07-17 18:02:55 +02:00
Martin Diehl b3a6aabdc5 cthresholdtwin was not read in!
polished and commented
2018-07-17 12:32:57 +02:00
Martin Diehl edcf97ea59 associate: clearer code and no performance drawbacks 2018-07-16 22:02:31 +02:00
Martin Diehl df42e9ed88 using associate avoids performance issues related to pointers 2018-07-16 21:37:26 +02:00
Martin Diehl e0e03827c5 simplified 2018-07-16 21:14:33 +02:00
Martin Diehl fb1265db3d checking for existing file 2018-07-16 20:08:31 +02:00
Martin Diehl fc0499a9bb bug fixes and polishing
bugs: wrong bracket in calculation of threshold_stress_twin
      3**b_twin instead of 3*b_twin in calculation of threshold_stress_twin
      ph instead of instance in calculation of mfp_twin
2018-07-16 19:53:26 +02:00
Martin Diehl a1ad18c88a 256 characters is enough for material.config
larger values waste memory and decrease readability.
Still need to discuss how geom files are handled, for them longer limits make sense
2018-07-16 12:08:22 +02:00
Martin Diehl 7f05bf9c0a leftover variables not needed anymore 2018-07-16 11:54:46 +02:00
Martin Diehl b26c4a39ef store raw material.config 2018-07-16 11:42:58 +02:00
Martin Diehl 3f7a1d1c07 function to read and store complete text file
reading as stream avoids costly repeated call to 'read'. Requires of course more memory, but that should be fine
also, recursion case ('{}') is internally handled. Old recursive was error prone and buggy when rewining (see 'reset' option)
2018-07-16 11:40:42 +02:00
Martin Diehl bc5fcf2c14 leftover variable from cleaning 2018-07-16 10:51:42 +02:00
Martin Diehl 84c29bb255 Merge branch 'development' into 19-NewStyleDislotwin 2018-07-13 11:54:42 +02:00
Sharan Roongta 0c7c77987b typo in plastic dislotwin 2018-07-12 23:22:55 +02:00
Sharan Roongta eb7860ba22 Tolerances were different from original 2018-07-12 18:30:30 +02:00
Martin Diehl a4e4a9c4ab merge does not work for strings of different length
fixed possible out of bounds access
2018-07-10 21:40:01 +02:00
Martin Diehl a1b1a4c476 include files are not libraries 2018-07-10 18:26:45 +02:00
Martin Diehl f493a5419b forgot line continuation 2018-07-10 10:39:24 +02:00
Martin Diehl 1336f8f129 cleanding and simplifying
1) arguments are case sensitive, i.e. -H is NOT -h
2) don't rely on trailing '/' for working dir
3) when adding '/' to working dir, rectify path should take care of '//'
2018-07-10 10:23:21 +02:00
Martin Diehl 70a3db275a verbose error message 2018-07-10 09:53:20 +02:00
Martin Diehl ac7bc4b9ed dont' store the working directory but set it centrally
makes life easier, writing and reading always to CWD unless absolute path is given
Spectral: using --wd argrument and C code
MSC.Marc: using directory of input deck and Intel extension
Abaqus: using function and Intel extension
2018-07-10 08:24:45 +02:00
Martin Diehl cd4dc25513 Merge branch 'development' into 31_consistent_wd 2018-07-08 15:14:19 +02:00
Martin Diehl 771b8f00ec leftover from performance reporting/debugging 2018-07-07 13:50:39 +02:00
Martin Diehl a78d1d7556 Merge branch 'development' into 20-NewStyleDislotwin 2018-07-07 13:26:45 +02:00
Martin Diehl c2b332616a Merge branch 'development' into 31_consistent_wd 2018-07-07 12:37:51 +02:00
Martin Diehl 5295b49ab3 deallocate statements not needed
not clear why global variables need check (should be allocated only once)
local variables are deallocated when they go out of scope
2018-07-07 12:32:57 +02:00
Martin Diehl 4e3cc75c1a forgot rename 2018-07-07 12:32:47 +02:00
Martin Diehl 88b9da1973 using up-to-date development since Abaqus exp has been removed 2018-07-06 19:00:58 +02:00
Martin Diehl a9845c4bf8 using wrong default for dipole formation 2018-07-06 18:57:37 +02:00
Martin Diehl 0065f0472c Merge branch 'development' into 31_consistent_wd 2018-07-06 13:26:29 +02:00
Martin Diehl ce32372f1c more cleaning of old commercial FEM solver files 2018-07-06 13:18:55 +02:00
Sharan Roongta 7ca005d237 avoiding division by zero 2018-07-05 15:44:25 +02:00
Martin Diehl 580a0bbedd reading in interaction parameters, looping only over existing families 2018-07-05 13:09:11 +02:00
Martin Diehl cb71e9401b Merge branch '21_removeperformanceprofiling' into 'development'
21 removeperformanceprofiling

See merge request damask/DAMASK!29
2018-07-04 19:02:02 +02:00
Martin Diehl 346a0b722b Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-07-03 22:59:49 +02:00
Martin Diehl 63057998fe array of size 0 seems to be a common source for segmentation fault 2018-07-03 22:58:49 +02:00
Philip Eisenlohr 3c1012ef38 cut out more now useless pieces 2018-07-03 22:12:25 +02:00
Test User efee9d98e7 elseif contained only debug statements, not needed 2018-07-03 21:58:28 +02:00
Philip Eisenlohr bebcd53445 more commenting, clearer variable naming, stress_mask as param 2018-07-03 15:51:46 -04:00
Martin Diehl 9d993de256 should not be executable 2018-07-03 19:34:26 +02:00
Martin Diehl b1a7eca528 array access out of bounds 2018-07-03 19:32:31 +02:00
Martin Diehl 8eeec5c0f1 also Abaqus works with openMP now/again? 2018-07-03 12:05:14 +02:00
Martin Diehl b1c37996d3 also using short names for state and dotstate in postResults 2018-06-30 14:35:58 +02:00
Martin Diehl c50f32b0d8 shorthand names improve readability for dotstate and LpAnd... 2018-06-30 14:11:05 +02:00
Martin Diehl 980e34f728 state pointer as shortcut, variables not used 2018-06-30 13:37:13 +02:00
Martin Diehl fb80c41215 Merge branch 'development' into 19-NewStylePhenopowerlaw 2018-06-30 13:16:04 +02:00
Yang Su a38a3ef83e changed state assignment to b=a;c=b from b=a;c=a --- caused memory fault in ifort15 2018-06-29 18:47:27 -04:00
Yang Su 8c727eb4ff removed obsolete second assignment of slipRate and accSlip pointers 2018-06-29 18:07:32 -04:00
Jaeyong Jung e166f118f4 Merge branch 'development' into 31_consistent_wd 2018-06-29 15:46:55 +02:00
Jaeyong Jung 613e976a86 the working directory and pathes of load and geometry files are now consistent. 2018-06-29 15:36:12 +02:00
Martin Diehl a308b2130a Merge branch 'development' into 21_removeperformanceprofiling 2018-06-28 13:09:11 +02:00
Martin Diehl e8a4f588f4 Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-28 07:24:04 +02:00
Martin Diehl b3862ef800 enough to support 3 versions (2018 should be out already/soon) 2018-06-28 07:22:32 +02:00
Martin Diehl 716065c0cd Merge branch 'development' into 30_parsePhasePartOnce 2018-06-27 21:43:09 +02:00
Martin Diehl 2bee95bfee argument for checking expected shape in the future 2018-06-27 18:04:06 +02:00
Martin Diehl cc0db1a577 WIP: compiles 2018-06-27 17:38:52 +02:00
Martin Diehl 158e6fd601 Merge branch '30_parsePhasePartOnce' into 20-NewStyleDislotwin 2018-06-27 11:24:42 +02:00
Sharan Roongta 90d9724b9f Reading in of parameters using list 2018-06-27 11:22:16 +02:00
Martin Diehl 49126d2f6f further simplified 2018-06-27 10:19:50 +02:00
Martin Diehl 0f05565fd5 don't complicate code with potential enhancements 2018-06-27 10:09:19 +02:00
Martin Diehl ddf7584f4d following ideas implemented by Philip in disloUCLA
prm and stt are pointers to instance of parameter and state
interaction_xxYY is a matrix, gets shape assigned during calculation
totalNslip and totalNslip are defined as derived parameter
2018-06-27 10:01:36 +02:00
Martin Diehl 00f34363dc adjusted naming convention 2018-06-27 09:12:33 +02:00
Martin Diehl fb528dad52 Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-27 09:05:37 +02:00
Martin Diehl 78f9a107fe exception for empty list 2018-06-27 09:04:14 +02:00
Martin Diehl 96e5175f41 updated rename 2018-06-26 21:08:13 +02:00
Martin Diehl 2bc919e4e3 Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-26 21:04:10 +02:00
Martin Diehl fc83a76318 consistent naming 2018-06-26 20:54:54 +02:00
Martin Diehl ea80e04ea8 deallocating config, simplifying 2018-06-26 20:50:06 +02:00
Martin Diehl bb415e8a02 using array size not to rely on correctly set variable, cleaning crystallite data after use 2018-06-26 20:33:41 +02:00
Martin Diehl 98cc56968e don't rely on a variable, use the array size directly 2018-06-26 20:33:02 +02:00
Martin Diehl d786ead381 freeing space
debug statements have been inactive for a while ...
2018-06-26 20:31:52 +02:00
Martin Diehl 1abe747204 possibility to deallocate material.config parts 2018-06-26 20:30:41 +02:00
Martin Diehl a68c466fc6 simplified 2018-06-26 19:18:23 +02:00
Martin Diehl 66a254f8fb polishing 2018-06-26 19:09:46 +02:00
Martin Diehl 6a75021bca need to check at the beginning
wrong logic in case default was overwritten
2018-06-26 19:09:08 +02:00
Martin Diehl 92bcf3a7aa function to free elements of the string list.
Note: Pointers that are allocated will never go out of scope. Pointers
that are assigned (=>) will be deallocated/disaccociated like allocatables
that go out of scope
2018-06-26 18:48:29 +02:00
Philip Eisenlohr b907acfbfa improved if then else logic here and there 2018-06-26 11:36:45 -04:00
Jaeyong Jung a8c69dfcad commit spectral_interface 2018-06-26 16:09:37 +02:00
Philip Eisenlohr 1b920705d7 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-06-26 10:03:02 -04:00
Martin Diehl 5c9f6c61b1 Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-26 08:22:44 +02:00
Martin Diehl a5ca26ab10 bug (copy and paste): fiber should be counted, not gauss 2018-06-26 08:20:40 +02:00
Martin Diehl 860899b769 Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-26 08:03:49 +02:00
Martin Diehl 0680b1706f improved error handling 2018-06-26 07:56:20 +02:00
Martin Diehl 6ffac60961 Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-26 07:38:53 +02:00
Martin Diehl a91fa75a28 sanity check, something is going wrong with intel 16.0 2018-06-26 07:38:41 +02:00
Sharan Roongta 2480d2f1ba Reading in of parameters made consistent 2018-06-25 20:07:35 +02:00
Sharan Roongta 57c6f44dfc Merge branch '30_parsePhasePartOnce' into 20-NewStyleDislotwin 2018-06-25 15:36:23 +02:00
Sharan Roongta 300b2827b2 Using new functions for parsing material config 2018-06-25 15:28:15 +02:00
Martin Diehl 6cd08a38b1 pre-defined variables seem to work for gfortran 2018-06-25 14:06:13 +02:00
Martin Diehl d484d1b5bb fixed typo and removed alias 2018-06-25 10:33:22 +02:00
Martin Diehl bd09bd91f9 exit immediately if array size does not match Nslip/Ntwin
otherwise, array acces out of bounds might happen for subsequent sanity
checks
2018-06-23 14:48:32 +02:00
Martin Diehl 74aec7bb71 circumventing bug in Gfortran, tests use correct label (a_slip) 2018-06-22 18:14:14 +02:00
Martin Diehl 363c083886 Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-22 17:57:33 +02:00
Martin Diehl 1add0f3d84 gfortran does not recognice an empty array as 'present' 2018-06-22 08:03:22 +02:00
Martin Diehl c5ebe3510f simplified by using empty string list as default 2018-06-21 23:49:07 +02:00
Martin Diehl c5b00e7a6c consistent description 2018-06-21 23:48:34 +02:00
Martin Diehl 0f3485c4a1 using default value for when getting strings, setting correct size for post results 2018-06-21 23:14:30 +02:00
Martin Diehl fd097846ae Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-21 22:47:51 +02:00
Martin Diehl 367e6a4eee consistent string length (de-facto standard 65536) 2018-06-21 22:39:18 +02:00
Martin Diehl bed9220597 consistent string name and more verbose "prm" for shortcut parameters 2018-06-21 22:38:48 +02:00
Martin Diehl f61f22924a empty string list as default value simplifies logic 2018-06-21 22:38:06 +02:00
Martin Diehl adefbd95e6 don't use intrinsic names of keywors as function names 2018-06-21 22:34:32 +02:00
Martin Diehl 910aad1094 Marc 2014 requires old compiler not supported any more 2018-06-21 21:54:07 +02:00
Martin Diehl b58489c1c2 merged all config related data into the config module 2018-06-19 23:53:14 +02:00
Martin Diehl 8bcaaf11a5 Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-19 23:44:16 +02:00
Martin Diehl 5302782dad need to search for cumulative tag 2018-06-19 23:42:15 +02:00
Martin Diehl 7aa8cac164 Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-19 23:10:06 +02:00
Martin Diehl 76fcf6b204 logic for default value was broken
only use default value if nothing else is found (do not append)
2018-06-19 22:59:52 +02:00
Martin Diehl d177afa9e1 unallocated array 2018-06-19 22:59:18 +02:00
Martin Diehl 9aa211605f having no output in crystallite caused trouble 2018-06-19 22:58:46 +02:00
Martin Diehl 13f280367e using config module 2018-06-19 19:43:41 +02:00
Martin Diehl d7da70cefb Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-19 19:30:01 +02:00
Martin Diehl 2b5db71739 using consistent names 2018-06-19 19:25:29 +02:00
Martin Diehl efd2eae63e first step to get rid off getStringsRaw 2018-06-19 19:16:03 +02:00
Martin Diehl fc54104599 getStrings works for cumulative and non-cumulative 2018-06-19 18:38:32 +02:00
Martin Diehl 8d5d306076 getStrings has functionality for multiple entries in a row of cumulative
searches
2018-06-19 18:02:53 +02:00
Martin Diehl 3b676af215 always search for last occurrence 2018-06-19 18:02:53 +02:00
Martin Diehl 8739bada26 always search for last occurrence 2018-06-19 13:08:14 +02:00
Jaeyong Jung 8aeb4a115e first commit. 2018-06-18 16:19:03 +02:00
Philip Eisenlohr d6d1439f52 more polishing, getStrings seems still somewhat murky... return lengths of strings are still inconsistent (64 and 65536) 2018-06-16 17:44:27 +02:00
Martin Diehl 32d481020f Merge branch 'development' into 30_parsePhasePartOnce 2018-06-16 14:49:57 +02:00
Philip Eisenlohr 0e4379f7ec straightened out logic and variable naming 2018-06-15 20:42:28 +02:00
Martin Diehl 999d0d774e first try of unifying getInts and getIntArray 2018-06-15 19:23:04 +02:00
Martin Diehl 7388cbb940 'split' should be default, wrong position in stringPos 2018-06-14 20:39:23 +02:00
Martin Diehl 877481811b old statement was overcomplex 2018-06-14 18:25:16 +02:00
Martin Diehl aebb06eaa9 source code files should not be executable 2018-06-14 16:44:11 +02:00
Martin Diehl 05ac53430e always using last key in list to be compatible with convention 2018-06-14 08:32:02 +02:00
Martin Diehl 9c12ce5539 more general name (should include parsing of debug and numerics) 2018-06-14 06:39:49 +02:00
Martin Diehl a11c6e0fea convention: intent(out) first, intent(in) last 2018-06-14 06:35:28 +02:00
Philip Eisenlohr bd97bc8c39 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-06-12 14:33:15 -04:00
Philip Eisenlohr bedc17b1c6 nicer formatting 2018-06-12 14:33:08 -04:00
Martin Diehl e29add3bce intitial values are not given by default 2018-06-11 07:33:45 +02:00
Martin Diehl ca24681c49 variable is undefined if no echo tag is found 2018-06-11 00:42:42 +02:00
Martin Diehl 04b8218d2c module name and file name should match 2018-06-11 00:28:36 +02:00
Martin Diehl 1c8c33595e more precise name 2018-06-11 00:27:30 +02:00
Martin Diehl 940d9fcbab cleaning 2018-06-11 00:23:43 +02:00
Martin Diehl fdd3bd1262 polishing 2018-06-11 00:16:48 +02:00
Martin Diehl e0a6b79b14 trying to have descriptive names 2018-06-10 23:38:16 +02:00
Martin Diehl a1fdbd1d5e most IO related variables not needed any more in material 2018-06-10 18:38:31 +02:00
Martin Diehl 91d9c11612 material.config is read in centrally
moving data from material to config_material. use statements need to
change. All aspects of reading from file will be removed from the
individual modules
2018-06-10 18:01:52 +02:00
Martin Diehl f8ae0ec925 list does tokenizing automatically 2018-06-10 11:07:17 +02:00
Martin Diehl 08a4da01e0 IO_stringPos failed when parsing trimmed string 2018-06-10 11:03:34 +02:00
Martin Diehl 73e915c35a wrong dependencies cause failure during compilation 2018-06-10 07:05:25 +02:00
Martin Diehl cb0cb29393 reading in done by one function 2018-06-09 13:48:37 +02:00
Martin Diehl 11ab56e5d1 migrating reading in of material.config to own module 2018-06-08 21:01:58 +02:00
Jaeyong Jung 81dffef21c Merge branch 'development' into 23_BasticPETSc_2_PETSc 2018-06-04 17:03:13 +02:00
Vitesh Shah c903880d19 using on unitialized error caused segfault in some cases 2018-06-04 12:38:28 +02:00
Martin Diehl ab4f5413c6 line should have the correct return value 2018-06-03 14:27:43 +02:00
Martin Diehl 0f8fe555c5 Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-03 10:49:28 +02:00
Martin Diehl b055416026 also parsing texture only once 2018-06-03 10:44:20 +02:00
Martin Diehl e7d27a3991 function to return plain strings (in case they have a different syntax) 2018-06-03 10:43:43 +02:00
Martin Diehl 5b5f10aecf parsing homogenization-related data 2018-06-03 00:36:34 +02:00
Martin Diehl 1e5106f601 return empty string array if nothing found (plasticity detect changes failed) 2018-06-02 23:10:38 +02:00
Martin Diehl 5ec98f65b4 wrong intialization, homogenization test failed 2018-06-02 23:10:08 +02:00
Martin Diehl e93e380ad3 output tag was empty: 2018-06-02 21:00:47 +02:00
Martin Diehl 3fec2c960d missing initialization caused problems 2018-06-02 21:00:26 +02:00
Martin Diehl db32bd1fd6 initializing lattice after materials allows to use the pre-parsed material.config 2018-06-02 20:59:30 +02:00
Martin Diehl 4ee62538d7 Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-02 19:33:06 +02:00
Martin Diehl 142ce51c9c homogenization and crystallite use new structure
math_transpose33 has no advantage over transpose intrinsic
2018-06-02 19:28:08 +02:00
Martin Diehl 4fd2338d35 added parsing of homogenization and workaround for gfortran 2018-06-02 19:27:03 +02:00
Martin Diehl c2d30aec43 gfortran has issues with zero-sized string arrays: 2018-06-02 19:24:53 +02:00
Martin Diehl fdf8833c36 debug output not needed any more 2018-06-02 13:31:21 +02:00
Martin Diehl c7da8c7f75 Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-02 13:24:17 +02:00
Martin Diehl bc03b8670a parsing microstructure, phase, and crystallite in one loop 2018-06-02 13:23:42 +02:00
Martin Diehl 11383a2aca proper error checks 2018-06-02 10:19:22 +02:00
Martin Diehl cfc1a48833 Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-02 09:52:00 +02:00
Martin Diehl 69aee3ccdd read phase part in material.f90 only once and operate then on data in main memory 2018-06-02 09:39:05 +02:00
Martin Diehl bf43156112 search for global tags can stop once first section is found 2018-06-02 06:32:16 +02:00
Martin Diehl 29a0ec2800 polishing 2018-06-02 05:39:40 +02:00
Martin Diehl a0a5d4c549 only doing things that are required
rely on default values where applicable
2018-06-02 05:38:45 +02:00
Martin Diehl 4b5401e10c Merge branch 'release_bugfix' into 'development'
Improve error reports in CMake script

See merge request damask/DAMASK!26
2018-06-01 23:34:28 +02:00
Martin Diehl de39edda5b Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-01 23:19:08 +02:00
Martin Diehl 8e0a3ff389 arrays have no variable length, need to check for empty string 2018-06-01 23:14:43 +02:00
Martin Diehl 7db08f0a76 using material.config values from main memory 2018-06-01 22:56:20 +02:00
Martin Diehl 02fdfa8445 Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-01 21:26:29 +02:00
Martin Diehl 70166657a9 FILEUNIT still needed 2018-06-01 21:25:08 +02:00
Martin Diehl cd9fb1c544 adjusting variable names in isotropic to DAMASK paper 2018-06-01 21:23:25 +02:00
Martin Diehl 64270f6c95 no need to store trailing whitespace 2018-06-01 21:22:19 +02:00
Martin Diehl f843254233 Noutput not needed, using size ensures consistency 2018-06-01 20:54:40 +02:00
Martin Diehl e0ec7ab54f Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-01 14:23:16 +02:00
Martin Diehl c8cec5a121 some more functions to parse material.config from memory 2018-06-01 14:14:53 +02:00
Martin Diehl cfefcaebb8 simplifying 2018-06-01 11:33:13 +02:00
Martin Diehl 48851c00f6 sizePostResults not needed, transpose33 has no advantage over transpose: 2018-06-01 11:24:00 +02:00
Martin Diehl 5de4b47438 plastic isotropic parses material.config from main memory, not from file 2018-06-01 10:24:42 +02:00
Martin Diehl 052a0af2ac storing phase part of material.config per section in chained list 2018-06-01 10:14:46 +02:00
Martin Diehl 8867322713 data structure to store material.config
chained list data structure to store string and stringPos.
Performance-wise not 100% optimal as searching requires to parse all elements in the list.
However, secions are typically rather small (usually Order 1 to 3) and parsing from file is much slower.
Also, only the actual length of the array is stored (thats wy I preferred the list over a 2D array)
2018-06-01 10:14:12 +02:00
Martin Diehl 804febe7f9 WIP: separate reading in and parsing 2018-05-31 18:31:44 +02:00
Martin Diehl 277cc59069 Merge branch 'development' into 20-NewStyleDislotwin 2018-05-31 17:07:38 +02:00
Martin Diehl 72b69959de Merge branch 'development' into 19-NewStylePhenopowerlaw 2018-05-31 17:02:45 +02:00
Sharan Roongta 1a5ed20708 outputID is part of param(instance) array, reading in of output made consistent with kinematic hardeing law/outputtag not needed 2018-05-29 18:29:38 +02:00
Martin Diehl 60e30e4a64 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-05-28 07:03:56 +02:00
Martin Diehl e661a42a4c citation block should be separated by empty lines 2018-05-28 07:01:50 +02:00
Martin Diehl 715f2a59d0 Merge branch 'development' into release_bugfix 2018-05-27 14:10:38 +02:00
Martin Diehl 87a16b775e function to change working directory 2018-05-27 14:08:23 +02:00
Martin Diehl 39e2e8a305 len is length of string, here size is required 2018-05-27 14:07:34 +02:00
Martin Diehl e0e97abda4 citation does not match 2018-05-27 08:16:05 +02:00
Martin Diehl 60cdffacd6 integer kind need to match for array constructor
hence, a=[a,b] requires a and b of the same kind
2018-05-27 08:09:32 +02:00
Martin Diehl 466cb57d7c Merge branch 'development' into release_bugfix 2018-05-26 16:37:39 +02:00
Martin Diehl 6891a48c82 wrong label 2018-05-26 12:35:02 +02:00
Martin Diehl 896a502099 Merge branch 'development' of magit0.mpie.de:damask/DAMASK into development 2018-05-26 12:09:09 +02:00
Martin Diehl 0172987115 forgot to update default 2018-05-26 12:08:28 +02:00
Martin Diehl bcaab1c068 restored working behavior 2018-05-26 12:07:13 +02:00
Martin Diehl 2fbe60b949 anticipate (proper) change in 23_BasticPETSc_2_PETSc as PRIVATE repository is ahead 2018-05-26 09:54:50 +02:00
Martin Diehl c7c39922f0 pointer assignment was done twice
pointer is re-assigned automatically, but I found it confusing.
Also using automatic left hand side reallocation to simplify handling of outputID
2018-05-26 09:44:14 +02:00
Martin Diehl 8184d51a99 following style of more complex constitutive laws
offset for different states needs to be computed, so it makes sense to define global and local aliases together.
no need to introduce variables for state0 and aTolstate, they are only used once
2018-05-26 09:31:36 +02:00
Eureka Pai c09a7fd157 replaced param(instance) with p => pointer, corrected errors 2018-05-24 18:31:32 -04:00
Eureka Pai 982c0fb90a replaced param(instance) with p => pointer, corrected error 2018-05-24 18:24:58 -04:00
Eureka Pai f97800658f replaced param(instance) with p => pointer 2018-05-24 17:56:09 -04:00
Sharan Roongta 7321a36770 plastic_dislotwin_outputID can be renamed to outputID, default case for output added 2018-05-24 17:10:21 +02:00
Jaeyong Jung c79a0d39c0 Merge branch 'development' into 23_BasticPETSc_2_PETSc 2018-05-24 15:53:00 +02:00
Martin Diehl 5bf6ede661 polishing 2018-05-24 07:57:10 +02:00
Martin Diehl 1bad719abe undefined variables can be removed, style as in other plastic modules 2018-05-24 07:51:43 +02:00
Martin Diehl f0309ac4dd Bessel functions not used 2018-05-24 07:51:16 +02:00
Martin Diehl 1c75a2e9cd using syntax with better error handling 2018-05-24 07:13:12 +02:00
Martin Diehl 175bab4073 1e-6 seems to be a more reasoable absolute tolerance for accumulated shear 2018-05-24 00:25:29 +02:00
Martin Diehl 0ee34d608c fixing all appaerances 2018-05-24 00:06:03 +02:00
Mingxuan Lin bf7efad250 Fix errors in CMake script 2018-05-23 21:46:03 +02:00
Sharan Roongta 9fc334afd1 syntax errors detected by new GNU compiler 2018-05-22 19:59:05 +02:00
Sharan Roongta 989701aebd Merge branch 'development' into 20-NewStyleDislotwin 2018-05-22 19:34:28 +02:00
Martin Diehl 30fe87a88a post-release cleaning 2018-05-22 19:16:12 +02:00
Philip Eisenlohr 324df2eeba Merge branch 'PETSc3.9' into 'development'
PETSc 3.9 working

See merge request damask/DAMASK!25
2018-05-19 17:39:26 +02:00
Martin Diehl 5187ee25b6 destroying unused object causes problem with PETSc 3.9
not clear, why destroying at the end of the program is anyway needed, so removed it
2018-05-19 11:20:04 +02:00
Philip Eisenlohr d79d366355 Merge branch '20_modify_RGC' into 'development'
20 modify rgc

See merge request damask/DAMASK!24
2018-05-18 00:15:47 +02:00
Sharan Roongta e107a5e004 exception in function math_expand in module math.f90 2018-05-17 19:46:38 +02:00
Sharan Roongta 8d2c0ec857 stateinit and atolState not needed 2018-05-17 19:32:41 +02:00
Arka Lahiri c45d9f9ee9 Deleted performance profiling code 2018-05-17 16:33:35 +02:00
Jaeyong Jung 6800e779cb second try! 2018-05-17 16:27:36 +02:00
Martin Diehl 537bb8df48 employing use statements (almost no external functions anymore)
adopted function calls to newer PETSc versions
2018-05-17 12:04:21 +02:00
Martin Diehl 8193e27e8d line break looked strange 2018-05-16 18:34:49 +02:00
Martin Diehl 31311d63db gfortran 8 was complaining, asigned pointer is not contiguous 2018-05-16 00:09:33 +02:00
Jaeyong Jung a65e4bdad4 first modification. compile succeeded 2018-05-14 15:45:12 +02:00
Arka Lahiri 4d393518ac did only compile with BUILD_TYPE=DEBUG 2018-05-09 16:54:06 +02:00
Arka Lahiri 90e9b98584 performance profiling should not be part of the source code 2018-05-09 16:35:09 +02:00
Sharan Roongta 12a0125121 Error caused by Ntslip,Ntwin and Ntrans removed by reverting it back to original form - a 2 D array and not in the blackbox(param) 2018-05-08 16:26:49 +02:00
Martin Diehl 6b27460a3b Merge branch 'development' into 12-fixOrientationSampling 2018-05-05 19:03:51 +02:00
Martin Diehl 9072179c61 Merge branch 'development' into 3-adding-plastic-constitutive-law-with-kinematic-hardening 2018-05-04 16:07:15 +02:00
Jaeyong Jung 3f71288e0a Now, homogenization_RGC is fixed! 2018-05-04 14:09:49 +02:00
Zhuowen Zhao 76e6fa24fb added check to the "Plasticity_DetectChanges" test and removed commented-out parts for kinematic hardening 2018-05-03 22:39:49 -04:00
Sharan Roongta 7c3b63ba7d Two statements that are repeated while reading the file - in "the output case"-is placed properly
plastic_dislotwin_Noutput(instance) = plastic_dislotwin_Noutput(instance) + 1_pInt ,
 & plastic_dislotwin_output(plastic_dislotwin_Noutput(instance),instance) =  IO_lc(IO_stringValue(line,chunkPos,2_pInt))
2018-05-03 18:05:59 +02:00
Sharan Roongta 5ba11a796d Simplified storage of internal constitutive parameters 2018-05-03 17:25:56 +02:00
Sharan Roongta 803519c740 simplified reading in and initialization of internal constitutive parameters 2018-05-03 13:43:19 +02:00
Sharan Roongta 03552b50b7 Prefix not needed for private variables 2018-05-03 11:08:51 +02:00
Sharan Roongta a24940e7c7 Simplified storage of parameters for CAtomicVolume, D0 and Qsd 2018-05-02 19:30:27 +02:00
Sharan Roongta ccde78799e using state pointers increases readability in postResults 2018-05-02 17:33:42 +02:00
Sharan Roongta f44d20fdc6 Merge branch '19-NewStylePhenopowerlaw' of magit1.mpie.de:damask/DAMASK into 19-NewStylePhenopowerlaw 2018-05-02 17:00:46 +02:00
Martin Diehl 235b2fe3c8 ntwin = [0] cause problems
math_expand now works for sum(how) == 0
2018-05-02 16:44:27 +02:00
Martin Diehl 74956de9bd misplaced bracket caused wrong results introduced in commit e3bd09d8 2018-05-02 16:06:30 +02:00
Sharan Roongta 51f56f5bad using state pointers increases readability in constitutive results 2018-04-30 21:30:53 +02:00
Martin Diehl c3322b589e not needed anymore 2018-04-30 13:58:50 +02:00
Sharan Roongta 423fcd6e0d using state pointer increases readability in dotState 2018-04-27 20:00:35 +02:00
Martin Diehl d9548b455e should loop over slip systems 2018-04-26 18:35:49 +02:00
Martin Diehl e3bd09d8e6 wrong initiatilization 2018-04-26 18:12:45 +02:00
Jaeyong Jung 4c42510ad6 compiles without AL solver 2018-04-26 14:11:45 +02:00
Zhuowen Zhao 65f17f4166 merge development into kinematic-hardening branch 2018-04-25 14:14:17 -04:00
Martin Diehl 81cab02d7a simplified reading in and initialization
init of absolute tolerances and state0 done on the fly
reading in array type parameters in the param structure
:
2018-04-25 19:43:03 +02:00
Zhuowen Zhao 7bc736aad7 killed modification not relevant to kinematic hardening 2018-04-25 13:26:38 -04:00
Martin Diehl 54a68014ea Ntrans not needed/used. Simplified storage of parameters 2018-04-24 17:31:05 +02:00
Yi-Chin Yang 35a4fdc358 "et al." instead of "et. al" abbreviates "et alii", meaning "and others" 2018-04-22 10:07:49 +02:00
Yi-Chin Yang e90861956d "et al." instead of "et. al" abbreviates "et alii", meaning "and others" 2018-04-22 09:32:59 +02:00
Sharan Roongta 488ff6bb2d Rectifying a typo 2018-04-18 15:30:54 +02:00
Sharan Roongta 71d23274e7 A citation on twinning was missing 2018-04-18 15:22:19 +02:00
Sharan Roongta 451e9f245a Removing some typos in citations 2018-04-18 15:01:03 +02:00
Sharan Roongta 90a1af5096 Cited HybridIA algorithm 2018-04-18 14:18:48 +02:00
Sharan Roongta e77e0b6f20 Merge branch '17-citations-in-source-code' of magit1.mpie.de:damask/DAMASK into 17-citations-in-source-code 2018-04-17 15:54:20 +02:00
Sharan Roongta 3fca8da6aa Citations in plastic_twin 2018-04-17 15:51:59 +02:00
Yi-Chin Yang 4f5b5d9d4a Merge branch '17-citations-in-source-code' of magit1.mpie.de:damask/DAMASK into 17-citations-in-source-code 2018-04-17 15:42:45 +02:00
Yi-Chin Yang b7d622c32d No tab allowed 2018-04-17 15:39:08 +02:00
Yi-Chin Yang 258be943c7 No tab allowed 2018-04-17 15:25:27 +02:00
Yi-Chin Yang fc3abd4f39 References for spectral solvers 2018-04-17 15:22:18 +02:00
Yi-Chin Yang 41967da684 edit 2018-04-17 15:09:12 +02:00
Yi-Chin Yang d6d9d6e1bb edit 2018-04-17 15:07:16 +02:00
Yi-Chin Yang 86683674c0 mod 2018-04-17 14:52:50 +02:00
Sharan Roongta 3bd09fe837 fixed typo 2018-04-17 14:43:38 +02:00
Yi-Chin Yang afcaafa798 Reference for homogenization_RGC added 2018-04-17 08:20:41 +02:00
Yi-Chin Yang 0701b535fc DAMASK overview reference independently of selected solver 2018-04-16 16:16:10 +02:00
Martin Diehl ea9434432e added reference for the tungsten model 2018-04-09 15:04:58 +02:00
Martin Diehl 8509b13f16 avoid numerical noise 2018-03-13 09:21:41 +01:00
Martin Diehl 302a5017d4 Merge branch 'development' into 12-fixOrientationSampling 2018-03-13 04:12:03 +01:00
Martin Diehl 2ceb3aeea0 not all variables were consistently renamed 2018-03-13 03:56:02 +01:00
Martin Diehl 44e5644e78 fixed random Gaussian sampling
sampling needs to be performed from unfiform misorientation, NOT uniformly distributed rotations
for Fiber, compute uniform tilt of Fiber axis
2018-03-13 03:36:24 +01:00
Zhuowen Zhao 361cf680a5 merged more recent development 2018-03-09 18:19:41 -05:00
Zhuowen Zhao f26fd1d1dc Fixed a physics issue: sense change with respect to difference between resolved stress and backstress 2018-03-09 18:01:09 -05:00
Martin Diehl 0ccce7facc fixed missing angle initialization, simplified and commented 2018-03-08 17:33:54 +01:00
Philip Eisenlohr 88c46d500e Merge branch '13-higher-order-thermal-expansion' into 'development'
Resolve "higher-order thermal expansion"

Closes #13

See merge request damask/DAMASK!19
2018-02-28 21:08:01 +01:00
Martin Diehl e716441787 indexing now follows description 2018-02-26 20:18:38 +01:00
Martin Diehl cd4115bada now using the correct rotation formula 2018-02-26 11:14:02 +01:00
Martin Diehl e1c4c7e6e8 wrong indices in matrix rotation
fixing this resolves issue 14: "Poor performance after load case rotation"
now inline with http://www.continuummechanics.org/rotationmatrix.html
C'_mnop = R_mi R_nj R_ok R_pl C_ijkl
2018-02-25 21:01:23 +01:00
Philip Eisenlohr bc998846ab thermal expansion coefficient alpha = a + b(T-T_0) + c(T-T_0)^2 2018-02-25 14:14:03 -05:00
Martin Diehl c2ced6a274 not needed anymore 2018-02-25 14:45:35 +01:00
Martin Diehl d5d71d2321 math_transpose33 has no benefit here 2018-02-25 13:42:02 +01:00
Martin Diehl 42500eabff simplified (math_transpose33 does not provide any benefit here) 2018-02-25 12:48:58 +01:00
Martin Diehl eedec74a6a correct debug reporting 2018-02-25 12:31:23 +01:00
Martin Diehl 86768c38d9 source code should not be executable 2018-02-25 10:16:27 +01:00
Martin Diehl 4f4fa5daf8 simplified 2018-02-22 14:54:49 +01:00
Martin Diehl e51de7ffd8 explicitly select halton bases in call 2018-02-22 14:16:36 +01:00
Martin Diehl c6c66bb653 using proper Gauss sampling also for the fiber components
function most probably still contains a bu
2018-02-22 00:42:06 +01:00
Martin Diehl 5c908e44ec correct scaling for FWHM
FWHM was wrong by a factor of approx 2.
Analytic expression can be found in https://en.wikipedia.org/wiki/Gaussian_function
2018-02-22 00:10:38 +01:00
Martin Diehl 9173d12d14 correct algorithm for sampling of uniform orientations and fix for Halton series
Halton series gives strange results for large prime numbers, now always starting with 2 for first dimension, 3 for second etc.
Consecutive Halton numbers for rejection sampling seem to cause problems (i.e. introduce patterns).
Algorithm for uniformly distributed orientations with FWHM specified is taken from https://math.stackexchange.com/questions/131336.
WIP: Gauss filtering is currently not implemented!
2018-02-21 20:32:52 +01:00
Martin Diehl ae27660e86 simplified halto procedure (still needs testing) 2018-02-21 18:47:39 +01:00
Martin Diehl 98df2d1427 better description and names 2018-02-21 16:49:29 +01:00
Martin Diehl a52f54a9a0 fixed typo in prime number list and extended to 1600 values
source https://people.sc.fsu.edu/~jburkardt/f_src/halton/halton.f90
2018-02-21 14:37:02 +01:00
Martin Diehl 6b1c1af609 no early return required here 2018-02-21 08:55:33 +01:00
Martin Diehl 051f3592ea Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-02-21 07:53:00 +01:00
Philip Eisenlohr ad1179117d modified meaning of restart increment to "restart from" instead of "restart at" 2018-02-16 16:41:07 -05:00
Philip Eisenlohr 0a763ff116 included changes to correct cutback issue of spectral solver 2018-02-16 09:36:18 -05:00
Martin Diehl 9b1e72e7bc more sensible cutoff for scatter 2018-02-15 11:26:19 +01:00
Martin Diehl 230ffe8f35 Bessel functions for Gaussian scatter 2018-02-14 13:03:50 +01:00
Martin Diehl c544fa1b34 typo, cause wrong finalization sequence 2018-02-12 15:03:35 +01:00
Martin Diehl fe07a34c69 source code should not be executable 2018-02-12 12:42:18 +01:00
Martin Diehl 4e62d7793a more detailed comments 2018-02-12 11:46:01 +01:00
Martin Diehl b6abbfca9d early return not needed here 2018-02-12 11:45:42 +01:00
Martin Diehl 2254746177 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-02-12 11:23:05 +01:00
Zhuowen Zhao 7f487bb77b merge development into kinematic hardening branch 2018-02-07 11:30:57 -05:00
Fengbo Han 208c4affa4 using math_equivStrain33 and math_equivStress33 instead of Mises 2018-02-07 17:11:43 +01:00
Fengbo Han b834b2a00d removed unnecessary lines 2018-02-07 13:37:26 +01:00
Fengbo Han 9249e7db2b Merge branch 'development' into HMS 2018-02-07 11:44:17 +01:00
Fengbo Han 190a2baf9f when using yield stop criteria, if rotation of the load frame is specified, the output results in .yield and .stressstrain files are also rotated 2018-02-07 11:35:16 +01:00
Martin Diehl b455fcd0a3 acos has the same limits/stability as indirect asin calculation, enforing limits directly instead of scaling 2018-02-03 09:21:19 +01:00
Martin Diehl 9908734710 wrong random number, simplified 2018-02-03 09:04:49 +01:00
Martin Diehl ba6fd70654 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-02-03 09:02:20 +01:00
Franz Roters d80a255736 new Marc2017 file format finally working! 2018-02-02 15:06:13 +01:00
Martin Diehl d80e15bd76 compiler_options and compiler_version supported by new Intel compiler 2018-02-02 12:36:09 +01:00
Zhuowen Zhao 700edc313f Merge remote-tracking branch 'origin/spectralSolver-cutbackfix' into 3-adding-plastic-constitutive-law-with-kinematic-hardening 2018-01-18 18:18:34 -05:00
Philip Eisenlohr 307aa7e7d1 fixed forgotten file writing of F_aimDot 2018-01-18 18:16:16 -05:00
Zhuowen Zhao 7c755a0241 Merge remote-tracking branch 'origin/spectralSolver-cutbackfix' into 3-adding-plastic-constitutive-law-with-kinematic-hardening 2018-01-18 13:59:42 -05:00
Philip Eisenlohr b36151cc32 fixing spectral cutback hiccup and multiple cleanups
flush(6) at better places, added dedicated CPFEM_age subroutine, cleaned up cutback logic, fixed broken assignment of old timeinc, continueCalculation is now a logical, rearrnaged interfaces for utilities_constitutiveResponse and utilities_calculateRate, handling of stressBC more understandable, added more comments and explanations
2018-01-18 11:14:06 -05:00
Philip Eisenlohr 93073ed661 summarized multiple logicals into one 2018-01-18 10:47:52 -05:00
Franz Roters 2c4df2f070 working further on Marc2017 compatibility 2018-01-11 17:11:03 +01:00
Franz Roters 7149f9599f changes towards supporting new Marc2017 input file format
still not working
2018-01-10 17:13:25 +01:00
Zhuowen Zhao bc9c647aad assign outputID type to undifined 2018-01-09 17:25:16 -05:00
Zhuowen Zhao 8837656870 added "plastic_kinematichardeing.f90" to commercialFEM_fileList
Changed outputID type
2018-01-09 15:17:51 -05:00
ChuanlaiLiu e02a0d32be debug corrected index for stiffness tensor, phase not instance 2017-12-19 12:59:10 +08:00
Zhuowen Zhao 14c0503a7e change tag to all lowercase; make pheno hardeing only depend on its own system 2017-12-14 16:51:58 -05:00
Zhuowen Zhao dcf9e139d0 question marks on those files 2017-12-13 19:18:45 -05:00
Fengbo Han d81870dc57 output the stress-strain curve to file if yield stop criterion is used 2017-11-22 09:02:35 +01:00
Fengbo Han 2b5a536458 calculate stress and strain from the average PK stress and average deformation gradient of the whole RVE 2017-11-22 08:52:48 +01:00
Martin Diehl 8d705522ea output already disabled for worldrank !=0 2017-11-21 15:10:48 +01:00
Martin Diehl 09a66d918d (in)equality comparison for double was far too tolerant 2017-11-21 09:24:25 +01:00
Martin Diehl 37e154de65 preventing division by zero 2017-11-20 23:43:06 +01:00
Martin Diehl c81a438546 SCHMID-BOAS notation for reference 2017-11-18 22:39:13 +01:00
Zhuowen Zhao 2b8baa2f01 fixed backstress rate of change based on its own slip system evolution and its sense 2017-11-14 12:25:55 -05:00
Philip Eisenlohr e4700cda25 changed fixed_seed to random_seed for clarity 2017-11-07 14:56:28 -05:00
Zhuowen Zhao 2caf8b7ffd delete extra variable 2017-11-06 22:10:04 -05:00
Zhuowen Zhao ab11830e71 Merge branch '6-debug-replaces-openmp-preprocessor-switch' into 3-adding-plastic-constitutive-law-with-kinematic-hardening 2017-11-06 18:20:51 -05:00
Zhuowen Zhao 566cf3d855 Merge branch 'development' into 3-adding-plastic-constitutive-law-with-kinematic-hardening 2017-11-06 18:11:47 -05:00
Zhuowen Zhao 2b4a024671 renamed "tau0" to "crss0" 2017-11-06 18:11:02 -05:00
Zhuowen Zhao 23f9f03ca8 refined debug output 2017-11-06 18:09:04 -05:00
Philip Eisenlohr 426b2d0537 Merge branch 'development' into 6-debug-replaces-openmp-preprocessor-switch 2017-11-06 11:39:58 -05:00
Fengbo Han d599aec37f Merge branch 'development' into HMS 2017-10-24 11:24:54 +02:00
Fengbo Han 82758bd90f added yield criterion of facet potential 2017-10-24 11:15:34 +02:00
Martin Diehl 1c2af7bbc6 phenoplus has own brach, titanmod was not used for a long time 2017-10-08 13:41:54 +02:00
Martin Diehl eda8c24b7d Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2017-10-07 17:24:59 +02:00
Martin Diehl e32b9d9ca8 for comparison with de-facto stardard rotation definitions 2017-10-07 13:18:42 +02:00
Franz Roters 14bf4d5c7b added Marc 2017 link 2017-10-05 17:57:21 +02:00
Martin Diehl e9440ccd6f suppress warning when compiling with gfortran 2017-10-05 16:35:34 +02:00
Franz Roters 5011e201d6 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2017-10-04 17:18:57 +02:00
Franz Roters 4d4a546e2d hot fix for so far non-supported input file format of Marc 2017 2017-10-04 17:18:06 +02:00
Zhuowen Zhao 2f5d81e111 beautified debug output 2017-10-03 17:18:34 -04:00
Philip Eisenlohr 483ed745e0 replaced #ifndef _OPENMP with #ifdef DEBUG to trigger inclusion of parallelized debug statements; fixed minor bugs in debug output 2017-10-03 09:20:53 -04:00
Philip Eisenlohr 05bb3c109c Merge branch '5-flexible-dot-delta-state-relation' into 'development'
added offsetDeltaState to type-definition and respect this when applying deltaState

Closes #5

See merge request !15
2017-10-03 14:09:20 +02:00
Zhuowen Zhao 7d6d822ee0 Merge branch '5-flexible-dot-delta-state-relation' into 3-adding-plastic-constitutive-law-with-kinematic-hardening 2017-09-29 18:46:35 -04:00
Zhuowen Zhao b66a9a3527 Merge remote-tracking branch 'origin/development' into development 2017-09-29 18:40:00 -04:00
Zhuowen Zhao 81bcc72993 first shot at kinematic hardening constitutive law 2017-09-29 18:36:28 -04:00
Zhuowen Zhao d6cf3c4dd4 reduced size of aTolState from sizeState to sizeDotState
asb tolerance check is only meaningful for the state part affected by dotState
2017-09-29 18:35:36 -04:00
Zhuowen Zhao a153443239 clarified comment 2017-09-29 18:34:18 -04:00
Zhuowen Zhao fb4aadbafa moved deltaState to group of contigous memory pointers 2017-09-29 18:33:39 -04:00
Zhuowen Zhao 80bed8b8aa improved math_expand algorithm 2017-09-29 18:32:52 -04:00
Zhuowen Zhao f3292507b5 added more debugging messages and switched to DEBUG as flag 2017-09-29 18:32:07 -04:00
Philip Eisenlohr f5816a643d added offsetDeltaState to type-definition and respect this when applying deltaState 2017-09-29 17:44:10 -04:00
Martin Diehl e1bfde94f9 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2017-09-19 23:40:10 +02:00
Martin Diehl d8d42c32e7 cleaned + shortened, fixed handling of optional order parameter in math_exp33 2017-09-19 23:39:19 +02:00
Philip Eisenlohr 67ac5c7b84 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2017-09-19 08:13:08 -04:00
Philip Eisenlohr 330906d08f removed unneccesary detail from general error message, now caller gives specifics 2017-09-19 08:11:57 -04:00
Zhuowen Zhao 56f7836bf8 clarified composition of overall sizeState 2017-09-18 19:42:27 -04:00
Zhuowen Zhao ae868d3ada only one error for math_check; new "math_expand('what' by 'how')" 2017-09-14 15:25:22 -04:00
Martin Diehl f0d8d7c50a bug in eigenvalue calculation, caused wrong eigenvectors for sym33 matrices. Credits to Duancheng Ma 2017-09-06 16:20:24 +02:00
Philip Eisenlohr adc7c9d5b1 removed executable bit 2017-08-28 13:55:12 -04:00
Martin Diehl 7e0a9b75f9 simplified prime fuction 2017-08-12 06:35:44 +02:00
Martin Diehl cf6894442b moved specific functions into the scope of the calling functions 2017-08-12 06:03:40 +02:00
Martin Diehl 9823f5f495 one time used variables with name a and x to not help, assignement of i and j via loop is safe 2017-08-12 04:51:10 +02:00
Fengbo Han 0750f7fd01 fixed plastic work calculation 2017-08-10 15:40:18 +02:00
Fengbo Han 36c370e668 implemented fast yield surface fitting with yield stop criteria 2017-08-08 17:25:38 +02:00
Fengbo Han afda166fd8 calculate platic strain by subtracting elastic strain from total strain 2017-08-01 18:02:53 +02:00
Fengbo Han d51fa10ae5 implemented yield stop criteria 2017-07-27 16:33:05 +02:00
Fengbo Han 414faa53d3 implemented yield stop criteria 2017-07-27 16:31:16 +02:00
Fengbo Han b33d7e0585 implemented yield stop criteria 2017-07-27 16:28:33 +02:00
Fengbo Han 3f02844966 implemented yield stop criteria 2017-07-27 16:24:56 +02:00
Fengbo Han 5cedba0721 implemented yield stop criteria 2017-07-27 16:21:02 +02:00
Tias Maiti dd68374afd moved new constitutive law to new branch for further testing 2017-06-11 18:47:21 -04:00
Tias Maiti 9894af74ca new material subroutine implementing the diagonal hardening concept outlined by "Z. Zhao et al. / International Journal of Plasticity 24 (2008) 2278–2297" 2017-06-06 20:37:23 -04:00
Martin Diehl 618bf95a43 did not compile, adjusted dummy compilation routine to detect such errors 2017-05-24 22:16:35 +02:00
Martin Diehl 8b529d8b04 cleaner finalizing in case of interrupted simulation 2017-05-24 18:12:36 +02:00
Martin Diehl d3467705ca compilation exception not needed any more for intrinsic NaN function 2017-05-22 10:08:16 +02:00
Martin Diehl 12f66fd806 bug introduced during merge 2017-05-18 11:42:41 +02:00
Martin Diehl 9be3cac947 unused variable 2017-05-18 11:32:49 +02:00
Martin Diehl 590a5c8b91 using also variable cutback factor for Li 2017-05-18 11:30:14 +02:00
Martin Diehl 295bcd20f0 variable cut back factor for Lp as suggested by Duancheng 2017-05-18 11:30:14 +02:00
Martin Diehl be62abc2bc Merge branch 'development' into IntrinsicNaN 2017-05-17 07:36:47 +02:00
Martin Diehl 7da8bc8d4a symlinks can be handled by Git, so we can store them and simplify the installation 2017-05-16 11:10:01 +02:00
Martin Diehl 1f1a1826a1 string length was wrong, IO_warning now also with new style 2017-05-15 21:53:25 +02:00
Martin Diehl 4f3b0e4c34 symlinks should not be part of the repository 2017-05-15 06:45:53 +02:00
Martin Diehl 25865d4b54 using asinh (defined in F2008) instead of equivalent formulation using log 2017-05-10 07:40:26 +02:00
Martin Diehl b35ff67f99 using IEEE_is_NAN and IEEE_quiet_NaN instead of hand-written solution, will not work for gfortran < 5 2017-05-04 00:32:44 +02:00
Philip Eisenlohr 131e34ae8d nicer formatting of error reporting 2017-04-30 21:48:06 -04:00
Philip Eisenlohr 23e2cf9aad perform sanity checks at end to catch missing parameters 2017-04-30 17:10:31 -04:00
Franz Roters 3e52e8b3b2 fixed syntax errors 2017-04-28 12:39:01 +02:00
Franz Roters 7b2d901563 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2017-04-26 09:59:38 +02:00
Martin Diehl c5f1574f47 commands depend on build type 2017-04-26 09:40:45 +02:00
Franz Roters 597ee589a5 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2017-04-25 12:44:03 +02:00
Martin Diehl a0af685883 compiler complained 2017-04-25 12:34:14 +02:00
Franz Roters 14aeff50ba Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2017-04-24 09:10:51 +02:00
Martin Diehl 7cb2669648 sytaycheck only target was not working 2017-04-18 07:38:36 +02:00
Martin Diehl a5f8c5ba32 Merge branch 'development' into cmake 2017-04-15 16:17:50 +02:00
Martin Diehl a248a24250 consistent with other routines 2017-02-08 20:01:42 +01:00
Martin Diehl 89be6d0b08 intent(in/out) is self-explanatory 2017-02-08 19:44:19 +01:00
Martin Diehl b67f4dd324 Default cases seem to work 2017-02-04 01:01:42 +01:00
Martin Diehl 3e7ab76582 adding functionality from previous build system 2017-02-03 23:23:55 +01:00
Martin Diehl 2116226407 status from development branch 2017-02-03 20:35:05 +01:00
Martin Diehl d202e7dbd5 no dirty tricks needed 2017-02-03 20:19:02 +01:00
Martin Diehl cf36d4534f adjusting to development branch 2017-02-03 20:16:25 +01:00
Martin Diehl fd41681b19 not needed 2017-02-03 19:56:06 +01:00
Martin Diehl d86074829c Merge branch 'development' into cmake 2017-02-03 19:28:23 +01:00
Martin Diehl 21ad810209 changed to compile object files rather than libraries 2016-05-24 21:35:16 +02:00
Martin Diehl 0eb4c4867e build files should be ignored 2016-05-21 16:53:33 +02:00
Martin Diehl 13782f4ee0 simplified 2016-05-21 16:51:12 +02:00
Martin Diehl e3d8d48990 currently, only BUILD_CMD_TYPE release works 2016-05-21 15:19:21 +02:00
Martin Diehl 0810295fe9 Merge branch 'development' into cmake
Conflicts:
	code/Makefile
2016-05-21 14:56:57 +02:00
Martin Diehl 6023f64eff Merge branch 'cmake' of magit1.mpie.de:damask/DAMASK into cmake
Conflicts:
	CMakeLists.txt
2016-05-21 12:37:05 +02:00
Martin Diehl 475c864ea3 using different CMAKE projects for FEM/Spectral 2016-05-20 11:51:50 +02:00
Martin Diehl 8184f1c39a old Makefile is not needed anymore 2016-05-20 08:45:22 +02:00
Martin Diehl f4ddb0f9d2 was not doing anything 2016-05-20 08:09:06 +02:00
zhangc43 7c084f8bf5 lower strain path modifer to 3% 2016-05-03 10:38:04 -04:00
zhangc43 88cca87429 raise kappa_max to 4% 2016-04-27 15:48:27 -04:00
zhangc43 ab4ec134df reduce push up to 2% 2016-04-27 14:39:35 -04:00
zhangc43 8ddb024df3 lower magnitude of strain path modifier 2016-04-27 08:38:22 -04:00
zhangc43 513e3543b0 fix merging conflict 2016-04-26 14:23:05 -04:00
zhangc43 5e39d38a86 update formula for strain path modifier 2016-04-25 16:02:56 -04:00
zhangc43 b168317a17 modify fomular in pheno+ to remove dampping 2016-04-25 15:18:46 -04:00
zhangc43 bc4f04a1c5 Merge remote branch 'origin/development' into pheno+ 2016-04-25 14:16:56 -04:00
zhangc43 4eb45708a5 revert to old lattice.f90 file to suport ifrot v15.0 2016-04-25 09:55:50 -04:00
zhangc43 5fe177e43b remove build target for j2 2016-04-25 09:47:14 -04:00
zhangc43 e0f8699605 remove plastic_j2 2016-04-25 09:40:44 -04:00
zhangc43 4029346aed remove outdated code in comment 2016-04-21 14:07:20 -04:00
zhangc43 a99529b9b0 Merge remote branch 'origin/cmake' into pheno+ 2016-04-20 16:12:17 -04:00
zhangc43 3d0fe23919 tmp store before switch 2016-04-20 12:31:28 -04:00
Chen Zhang a7c4cdaa2f update cmake build system 2016-04-18 11:14:32 -04:00
Chen Zhang 672c8d0606 Merge remote branch 'origin/development' into cmake 2016-04-18 09:11:29 -04:00
Chen Zhang 610a54c048 remove options for building core module, which will be implemted in python 2016-03-14 17:49:36 -04:00
zhangc43 7aadfd56ca use options for future cross-platform support 2016-03-14 15:57:19 -04:00
Martin Diehl 1935d00e05 cleaned 2016-03-08 00:00:12 +01:00
Chen Zhang 81ac9aefa1 support special compile flags for single file 2016-03-04 17:32:26 -05:00
Chen Zhang e33594cb44 change code folder to src 2016-03-04 14:43:29 -05:00