Commit Graph

186 Commits

Author SHA1 Message Date
Martin Diehl a6e979ae1f simplified parsing of strings, floats, and ints
invalid characters for interpretation as float and int now raise error,
no warning
requesting invalid chunk now raises error, no warning
2020-01-26 18:23:23 +01:00
Martin Diehl e532641015 dependency on element not needed for homogeneous meshes 2020-01-25 09:24:42 +01:00
Martin Diehl b807406a70 avoid public variables 2020-01-23 14:08:14 +01:00
Martin Diehl bd67d2bb6a new mappings have clear name, not (1,2) 2020-01-23 13:16:45 +01:00
Martin Diehl 0d975e7023 polishing
- default string length
- Nslip/Ntwin/Ntrans not stored in state anymore
2019-12-21 12:42:18 +01:00
Martin Diehl 747a340599 unified string length 2019-12-21 11:46:12 +01:00
Martin Diehl 4b6388fbb2 always use HDF5 output 2019-12-18 20:05:51 +01:00
Martin Diehl 93da6d3f63 was not used 2019-12-02 23:07:01 +01:00
Martin Diehl 67c8d3899d crystallite output fully removed 2019-11-25 08:44:44 +01:00
Martin Diehl 97474e05a8 not needed anymore 2019-11-24 11:01:04 +01:00
Martin Diehl 603973e963 correct output for multipe integration points 2019-10-19 19:55:00 +02:00
Martin Diehl 8fd9341e39 not needed 2019-09-27 14:23:19 -07:00
Martin Diehl 77011a5dba this fix restores the previous behavior of dislotwin
very strange behavior in plasticity_detect changes for dislotwin. This
fix restores the old behavior with respect to number of iterations.
Using orientation%fromMatrix() results in much more iterations and an
increase in runtime for the test from approx 6 min to 40 min. Results
still match in the end. Also, crystallite_Fp0 differs by approx 1e-15
only between the two methods.
I assume that something is wrong with either dislotwin or the
state/stress integration
2019-09-22 07:46:30 -07:00
Martin Diehl de632ec85c better names 2019-09-22 07:22:24 -07:00
Martin Diehl ad83c8541d same names as in python 2019-09-20 17:18:09 -07:00
Martin Diehl 27732b1c0d better use rotation class functionality 2019-09-19 23:32:19 -07:00
Martin Diehl 792dda866d rotation class has consistent set of conversions
crytallite_oriention0 was essentially a copy of material_EulerAngles
2019-09-19 19:42:28 -07:00
Martin Diehl a94c104c75 using texture class 2019-09-19 19:14:37 -07:00
Martin Diehl 5d0a67e5dc texture class replaces manual conversions 2019-09-19 18:25:51 -07:00
Martin Diehl e48059d6f1 correct name 2019-09-19 16:56:43 -07:00
Martin Diehl be0d961954 cleaning 2019-09-19 13:40:03 -07:00
Martin Diehl 5f1934bacb adopting indentation 2019-09-19 11:40:59 -07:00
Martin Diehl 34e0dd1c64 polishing 2019-09-19 11:00:41 -07:00
Martin Diehl 2c4f1eb173 adjusting indentation 2019-06-15 20:37:53 +02:00
Martin Diehl 856ef15184 moved (back) to a better place 2019-06-15 15:37:13 +02:00
Martin Diehl 57a0d33293 consistent names 2019-06-15 14:33:20 +02:00
Martin Diehl 8c5d0a5591 populateGrains and material_phase not needed 2019-06-15 14:10:45 +02:00
Martin Diehl 59cb70198e phasememberAt not needed anymore 2019-06-14 09:17:05 +02:00
Martin Diehl 7a878cab3a phaseAt(c,i,e) substituted by material_phaseAt(c,e) 2019-06-14 09:02:28 +02:00
Martin Diehl b49feea5e9 polishing 2019-06-12 23:31:46 +02:00
Martin Diehl ecda57e29a using rotation class (where possible)
differences between backward rotation need to be investigated
2019-06-12 15:58:21 +02:00
Martin Diehl 648f899838 clearer (and possibly faster) logic 2019-06-12 15:58:21 +02:00
Martin Diehl 04a6054047 no need to transfer data via global variables 2019-06-12 15:58:21 +02:00
Martin Diehl a6c0f500ff simplifying 2019-06-12 15:58:21 +02:00
Martin Diehl cb3ce1edd3 removing leftovers from populate grains 2019-06-07 13:39:40 +02:00
Martin Diehl 52f036e062 fixed outdated comment 2019-06-07 08:19:24 +02:00
Martin Diehl b77ce718cf mesh_element/theMesh deprecated 2019-06-07 07:49:45 +02:00
Martin Diehl 2a35a78d93 phase out mesh_elem and theMesh 2019-06-07 07:38:48 +02:00
Martin Diehl 64ae894e5e leaner code 2019-06-05 10:02:55 +02:00
Martin Diehl d0602513ac write out and calculate cell and element connectivity 2019-06-04 21:30:51 +02:00
Martin Diehl 51e19048f7 pInt not needed anymore 2019-05-14 22:52:33 +02:00
Vitesh 387c45d0f4 Merge branch 'MiscImprovements' into 'development'
Misc improvements

See merge request damask/DAMASK!79
2019-05-14 07:32:57 +02:00
Franz Roters 998789528c Merge branch 'HDF5-out-homog-2' into 'development'
Hdf5 out homog 2

See merge request damask/DAMASK!78
2019-05-13 17:34:59 +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 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 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 434813e6e5 use unique IDs among all models 2019-04-30 23:06:16 +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
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 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 11662033c3 seems to cause problems with PGI as well 2019-03-10 10:05:47 +01:00
Martin Diehl 66e6a6ec68 cleaning 2019-03-09 11:11:40 +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
Martin Diehl b7ee4318b7 copy and paste error 2019-02-27 07:22:59 +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
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
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 61baa66c38 avoid code duplication 2019-02-13 07:22:37 +01:00
Martin Diehl dcd16dda70 variables from mesh object 2019-02-02 12:15:05 +01:00
Martin Diehl f0b5b9fd59 unused variable 2019-02-02 10:34:38 +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
Satya Gupta 1c4dc2e05f material_allocatePlasticState now takes care of setting offsetDeltaState 2019-01-24 19:18:11 -05:00
Martin Diehl ed79c7f75c all not compatible with new structure 2018-12-30 10:41:11 +01:00
Martin Diehl 13f321d992 cleaning almost done 2018-12-22 09:05:46 +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
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 be8d7e19fe missing use statement caused compilation error 2018-10-15 22:38:34 +02:00
Martin Diehl 57ca93c3c9 added missing allocation 2018-10-15 05:28:52 +02:00
Martin Diehl 767ca0edd4 avoid code repetition 2018-10-14 20:16:30 +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 7217cdac1b Merge branch '29-rename-mesh_element-array' into development 2018-10-10 15:55:23 +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 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 c42eb87a33 using arrays with new names 2018-09-23 20:53:35 +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 ab45818d51 seems to work now
anyway, nicer code
2018-08-22 14:30:51 +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 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 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
Philip Eisenlohr 8edeeaf213 renaming of p_vec and friends to names based on "group" 2018-08-03 19:39:14 -04: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
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 98cc56968e don't rely on a variable, use the array size directly 2018-06-26 20:33:02 +02:00
Martin Diehl 66a254f8fb polishing 2018-06-26 19:09:46 +02:00
Martin Diehl a5ca26ab10 bug (copy and paste): fiber should be counted, not gauss 2018-06-26 08:20:40 +02:00
Sharan Roongta 300b2827b2 Using new functions for parsing material config 2018-06-25 15:28:15 +02:00
Martin Diehl 1add0f3d84 gfortran does not recognice an empty array as 'present' 2018-06-22 08:03:22 +02:00