Commit Graph

4903 Commits

Author SHA1 Message Date
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