Commit Graph

1565 Commits

Author SHA1 Message Date
Martin Diehl e62c5fdc05 added consistency check in material.f90: Microstructure index in geometry must not exceed number of sections in material.config
better error messages in case of recursive file input in IO.f90. also supports absolute path now
2014-05-15 09:40:43 +00:00
Martin Diehl 715e7fd918 some small iprovements: reading in geometry in mesh, readability of math, output formatting in fesolving and debug, hdf5 in constitutive 2014-05-15 08:52:16 +00:00
Martin Diehl 4da866b29b exchanged race condition prevention from waiting random amount of time to omp critical 2014-05-14 13:57:25 +00:00
Martin Diehl 4bfced1a70 fixed small allocation flaws for new state 2014-05-12 13:00:37 +00:00
Martin Diehl 838a8be1b9 removed forgotten debug statements from last commit
fixed material.config for abaqus example
2014-05-12 09:28:32 +00:00
Luv Sharma d820a5aaa6 fixed some errors in changes related to newstate 2014-05-12 00:44:44 +00:00
Martin Diehl ee31bb1cae some changes related to new state 2014-05-09 09:04:09 +00:00
Martin Diehl 1298f6ea5e updated material.config of tests, had too many slip systems defined.
simplified none homogenization
2014-05-08 17:44:28 +00:00
Martin Diehl 986926aaf2 some changes related to new state
fixed assigning of wrong output in J2 model
2014-05-08 14:55:19 +00:00
Martin Diehl 72c7cfc7af still some linking issues 2014-04-30 21:13:06 +00:00
Martin Diehl e8df11b62f splitted link and compile options 2014-04-30 14:13:21 +00:00
Martin Diehl 8cc3bf4049 added forgotten linker options 2014-04-30 13:22:08 +00:00
Christoph Kords c027e8e1a8 added comment and citation for non-Schmid matrices for bcc 2014-04-30 09:56:30 +00:00
Martin Diehl 5b5a6ceaac makefile modified not to link against wrong libraries when using PETSc, reading in of values in phenopowerlaw improved, HDF5 in mesh 2014-04-29 17:50:59 +00:00
Martin Diehl 6bce04df48 changed linker command slightly to ensure dynamic linking and link now agains non-parallel (but threadsafe) versions of LAPACK
(compile_CoreModule.py, Makefile, abaqus_v6.env, mod_MarcMentat)

openmp is not working for Abaqus exp, probably because the ifort 14 is not supported.
Test is now using a version without openmp
2014-04-29 16:43:59 +00:00
Martin Diehl 01416b7ab6 set num threads back and forth between abaqus and DAMASK (like marc) 2014-04-29 16:11:13 +00:00
Martin Diehl 3fdf602acc modified reading in of values (realizes, if phase is not used in the model at all), started to include HDF5 output and new state 2014-04-15 10:49:24 +00:00
Martin Diehl 9b220c5c9a modified reading in of values (realizes, if phase is not used in the model at all), started to include HDF5 output and new state 2014-04-15 10:09:20 +00:00
Martin Diehl 6314271136 polishing, HDF5 related changes 2014-04-15 09:49:50 +00:00
Martin Diehl 6f2f04fa49 added and modified a bunch of HDF5 related functions/subroutines/variables 2014-04-15 09:43:35 +00:00
Martin Diehl 302423d266 introduced new state structure, compile with STATE=NEW 2014-04-15 09:20:38 +00:00
Martin Diehl eca211588e new compiler is more sensitive, needed to disable complaints in case of DEBUG=ON 2014-04-11 08:00:20 +00:00
Martin Diehl ac3bd2d725 space in frot caused compilation problem, fixed now 2014-04-07 14:35:40 +00:00
Martin Diehl e62bf8b1b7 some minor polishing on the way 2014-04-04 14:40:30 +00:00
Martin Diehl c712f30635 some hdf5 related functions added 2014-04-04 07:33:13 +00:00
Martin Diehl c365e1995c remove zeros for non existing slip/twin families 2014-04-02 10:59:14 +00:00
Martin Diehl 4aacca9f63 changed encodig of abaqus files, wrong directory in deploy me 2014-04-02 06:32:43 +00:00
Martin Diehl 342ca0be47 tested new scripts to update shebang, all files got same shebang (and for python files encoding) 2014-04-01 18:41:14 +00:00
Martin Diehl 436fa63912 corrected svn properties (executable, Id etc.) 2014-04-01 16:34:04 +00:00
David Mercier 11e138150a Update material config file for cp-Ti (alpha) 2014-03-31 16:49:05 +00:00
Martin Diehl 84ce6e429a changed handling of non-converged BVP solution: By default, exit if no solution is found to prevent "user errors"
Removed ambiguous "regridMode" keyword which was used to trigger this behavior in favor of  "continueCalculation", Set this to 1 to get back old behavior, e.g. report non-converged increments.
2014-03-31 10:04:11 +00:00
Franz Roters 7b27606000 modified constitutive description in line with other dislocation density based models 2014-03-30 15:04:06 +00:00
Martin Diehl 4bb5439994 removed copyright from *.f90 and *.f files, will be added using the deployMe script for release/nightly build. Now based on presence of svn:keywords property set (usually "Id"). Similar thing will be done for .py, .sh, and .config files but more involved because they might be executable 2014-03-29 08:20:36 +00:00
Martin Diehl aae3f95f76 added script to add Copyright information (complete header) to f90 files having the svn property "MPIE" set.
Development version don't need an header anymore
2014-03-26 14:57:33 +00:00
Martin Diehl 62497b648a removed forgotten debug statement 2014-03-26 09:09:28 +00:00
Martin Diehl 58ad750b2a small changes regarding restart and HDF5 2014-03-26 08:41:45 +00:00
Martin Diehl 99fe2dfccd small changes to HDF5, put link to homepage into README not to have double effort 2014-03-25 17:21:47 +00:00
Martin Diehl 2659ee51d4 restart is working for all solvers, but slight deviations still occur. Reason is most probably, that for CPFEM init, a 0s timestep is required which seems to alter the state a tiny bit, leading to small deviations. For AL and Polarization, this is even more severe since the regular call to CPFEM has F-residual as the current deformation gradient, however the init step uses only F. 2014-03-25 15:44:16 +00:00
Martin Diehl c7994db5ef writing out f_aim and f_aim_last inc for restart, was calculated as average before 2014-03-24 09:59:30 +00:00
Franz Roters 04b2011195 reintroduced dislocation hardening for bcc 2014-03-17 15:42:46 +00:00
Martin Diehl bac0e24d21 added parameter to dislotwin 'dipoleformationfactor'. set it to 0.0 to turn hardening due to dipole formation off (like in the updated tungsten example). standard behavior (e.g. a value of 1) is recovered if no value is given 2014-03-13 23:50:55 +00:00
Martin Diehl 5d4017bbfc introduced homogenization_none to substitute isostrain with ngrains 1.
cleaned up homogenization isostrain (has no state)
2014-03-13 23:20:50 +00:00
Duancheng Ma 670c0caabc 2014-03-13 12:12:19 +00:00
Martin Diehl 3f7a389ff7 changed state parsing for local models (and for delta_state) such that only the needed part of the state array (for the given material point) is used 2014-03-13 06:43:49 +00:00
Martin Diehl 7c79b31f6c remove not needed use statement 2014-03-13 05:50:56 +00:00
Martin Diehl e1a31457ba fixed potential array mismatch in assignment 2014-03-13 05:49:07 +00:00
Martin Diehl fced0168f0 added a little bit more HDF5 functionality
made abbreviations in  configure options consistently capitals
2014-03-12 16:51:01 +00:00
Martin Diehl 9afc1e3a15 fixed wrong omp statement 2014-03-12 15:29:14 +00:00
Martin Diehl 3aea8b39e9 added some HDF5 functionality (needs to be activated with preprocessor makro) 2014-03-12 07:33:51 +00:00
Martin Diehl ff1b1c1a50 fixed bug introduced with lattice_structure change nonlocal, but with DEBUG=ON OPTIMIZATION=OFF there is an FPE. Division by zero? Marked in the code
forgot to commit dislotwin last time, now seems to work
2014-03-11 23:55:40 +00:00
Martin Diehl ef8fbf4dda introduced case in dislotwin for bcc (peierls stress as critical stress)
renamed some parameters, now exponents (p,q) for slip are per family, shear band got own ones. exponent for twin (r) now per family

fixed bugs in lattice ("empty" interactions should be 1 not zero)

see both Phase examples to check what is needed
2014-03-11 17:40:59 +00:00
Franz Roters 6781d7d8a5 last line got lost
as it is fcc it should actually be only one slip system family
2014-03-11 10:49:48 +00:00
Martin Diehl c2e81414e3 updated TWIP steel data set to have only 2 slip system families, added data set for tungsten 2014-03-11 10:34:36 +00:00
Martin Diehl 721183e702 removed some forgotten debug statements 2014-03-08 22:51:32 +00:00
Martin Diehl 2b589c3d71 moved reading in of lattice type and elastic constants to lattice module
removed structure type for hex, fcc, bcc, now defining slip/twin systems for each phase found in material.config
constitutive modules will only be initialized if needed
homogenizedC function is only needed for models incorporating twinning in a physical way (titanmod and dislotwin)
2014-03-08 20:50:31 +00:00
Martin Diehl 32493675d6 fixed bug in constitutive introduced in rev 2988 causing wrong names in *.outputConstitutive 2014-03-05 08:06:21 +00:00
Christoph Kords 0265978941 renamed "maxNmatIDs" accordingly to "maxNinstances" 2014-03-04 13:47:04 +00:00
Martin Diehl a0d75ee05e moved quaternion disorientation to lattice because it requires the knowledge of the lattice structure. 2014-02-28 13:28:27 +00:00
Martin Diehl 92bf1565fc formatting 2014-02-28 13:05:11 +00:00
Martin Diehl b0f191c88c also rename matID/i to instance like in the other constitutive models 2014-02-28 13:03:21 +00:00
Martin Diehl b9722b866c improved error handling when getting number of threads 2014-02-28 10:30:07 +00:00
Martin Diehl 650b71ffa9 renamed instance consistently to "instance" as a preparation for new structure / elastic matrix handling 2014-02-28 10:18:40 +00:00
Martin Diehl fe13bb16fe added some consistency check and remove unnamed constants 2014-02-27 18:57:46 +00:00
Martin Diehl ad203d32c1 circular dependencie (copy and paste error) removed 2014-02-26 12:04:52 +00:00
Martin Diehl 35be468b24 fixed detection of working directory for ifort 2014-02-25 21:10:55 +00:00
Martin Diehl a554bc5267 now ignoring c/a ratio keyword 2014-02-19 07:40:21 +00:00
Martin Diehl 69992638a8 added missing covera_ration in hex test. was not necessary before for constitutive_none, now it is 2014-02-17 09:45:54 +00:00
Martin Diehl 8bbba55506 function version seems to be quasei-standard, not subroutine for getcwd 2014-02-14 19:59:37 +00:00
Martin Diehl 4efb1e5617 fixed bug: wrong initialization of lattice structure, had effect on j2 and phenopowerlaw 2014-02-14 18:05:59 +00:00
Franz Roters d3d4931061 corrected checking for ~/.damask/damask.conf 2014-02-14 15:58:01 +00:00
Franz Roters 4399fb9535 improved comment on Euler angles, now includes unit 2014-02-10 15:48:00 +00:00
Martin Diehl d8311d46b3 .. last commit message was missing because I wanted to abort, so:
move reading in of lattice structure to lattice (elastic constants, c/a ratio, lattice structure). Still needs a little bit of documentation, the lattice structure names are not easy to understand.
tested it for j2 and phenopowerlaw and seems ok, but before continuation with the other constitutives models might simplifiy a little bit.
2014-02-10 14:38:05 +00:00
Martin Diehl d45aea4467 moved reading in of lattice stru 2014-02-10 14:31:19 +00:00
Martin Diehl 20bea80f0c changed order to have PETSc variables before others, fixed problem when MPI and FFTW were installed in standard location but PETSc build own MPI 2014-02-09 18:30:31 +00:00
Martin Diehl 33ab0ff0fe introduce enums, remove gdot_twin and tau_twin from possible outputs because they weren't output anyway 2014-02-09 17:08:13 +00:00
Martin Diehl a07c738778 polished a little bit 2014-02-08 10:48:09 +00:00
Martin Diehl 8741f2368d first (not too complicated) workaround for the shortcomings of the new intel compiler. still crashes, but later ;) 2014-02-06 17:48:01 +00:00
Martin Diehl bc4cc20c55 slightly polished makefile and numerics, recompile fftw with icc; still not running with ifort 14.01 2014-02-06 10:41:34 +00:00
Martin Diehl 1ea48bb8ff added accumulatedshear as output for twin and slip 2014-02-05 15:26:22 +00:00
Martin Diehl 83e4bc3247 updated test for restart, now also checking if number of increments is the same
fixed output of test class
fixed small bug? in asciitable.py, @philip: please check
2014-02-03 19:30:28 +00:00
Martin Diehl 1444739d60 prevent ifort from complaining too loud about old syntax in openmpi files 2014-02-03 16:47:16 +00:00
Christoph Kords caca65148d fixed bug in restart: stiffness values that were read from file used to be overwritten by "utilities_constitutiveResponse"
Still not fixed in polarization and AL solver !!!
2014-02-03 15:57:04 +00:00
Christoph Kords b9b87a785c added crystallite_F to debugging output 2014-02-03 13:19:49 +00:00
Franz Roters c5b31b373c no longer needed 2014-02-03 10:38:59 +00:00
Christoph Kords aa4eee2b50 fixed bug in math_rotate_forward3333 2014-01-31 14:28:20 +00:00
Martin Diehl c7e59821d1 fixed compilation bug when using IMKL single core 2014-01-30 15:38:10 +00:00
Martin Diehl 986591682c remove equals sign in rpath definition to work with mac, changed linker options in compile_CoreModule to work with linux again, please let me know if mac doesn't work anymore (it should) 2014-01-30 13:07:44 +00:00
Martin Diehl 9e5a2d8e10 fixed runpath 2014-01-29 19:52:53 +00:00
Martin Diehl f82e5ec26e some small changes on the installation scripts, IMKL now works with gfortran, more verbosity and more sanity checks 2014-01-29 12:20:56 +00:00
Martin Diehl ee99216edc polishing compile_CoreModule, bug fix for Makefile 2014-01-28 07:34:13 +00:00
Martin Diehl 02441bef0f introduced rpath to tell executable where libraries are located 2014-01-27 14:10:49 +00:00
Pratheek Shanthraj b9e55b4495 moved setting of CPFEM forwarding flag to the forwarding subroutine 2014-01-27 11:05:36 +00:00
Martin Diehl 656e3cc6ca some more small changes, including bug fix in configure + relative linking in Makefile for spectral solver 2014-01-27 10:12:29 +00:00
Martin Diehl 4850e5987d remove LD_LIBRARY_PATH (http://linuxmafia.com/faq/Admin/ld-lib-path.html) and fixed wrong named xxx_ROOT 2014-01-25 00:15:04 +00:00
Martin Diehl d66b41c686 fixed installation, will test now 2014-01-24 12:30:27 +00:00
Martin Diehl c99ca8b0ee fixed magnesium parameters 2014-01-23 13:33:09 +00:00
Martin Diehl e6d88e4458 prevent twin volume fraction from going above 1.0 2014-01-22 15:47:49 +00:00
Christoph Kords 391d83fa2b moved rate sensitivity block to where it belongs to, namely the analytic jacobian calculation 2014-01-22 15:34:10 +00:00
Pratheek Shanthraj 4b7890f133 fixed wrong indices in analytic jacobian calculation following christoph's changes. convergence is restored at least for the spectral solver 2014-01-22 10:16:55 +00:00
Christoph Kords 3dfdbaff5b Fixed wrong indices in tangents dT_dFe and dFe_dLp, which however luckily did not have any effect in the perturbed stiffness since they were transposed such that the double contraction of both remained unchanged.
In contrast, the analytical jacobian will probably be affected by this change!
@Pratheek: Can you check with me how this can be fixed?
2014-01-22 08:38:13 +00:00
Christoph Kords c10d0d15cb crystallite_integrateStateFPI: convergence check always ran about all e,i,g; now checking only those specified in FEsolving_execElem, FEsolving_execIP 2014-01-21 18:45:41 +00:00
Christoph Kords ff648492c1 perturbation calculation in crystallite_stressAndItsTangent: only backup and restore those chunks of crystallite_Fe, _Fp etc that are actually used in order to avoid pointless data copying in non ping pong mode
(missed some part in last commit)
2014-01-21 18:28:21 +00:00
Christoph Kords 029826d84f perturbation calculation in crystallite_stressAndItsTangent: only backup and restore those chunks of crystallite_Fe, _Fp etc that are actually used in order to avoid pointless data copying in non ping pong mode 2014-01-21 16:35:12 +00:00
Christoph Kords 351aa6ba29 setting todo and converged flag only for those e,i,g that are to be executed (FE_elemExec etc)
used to spoil convergence checking in non ping pong mode and lead to slow performance
2014-01-21 16:09:00 +00:00
Philip Eisenlohr 74cbfb6d48 added few comments 2014-01-17 01:38:35 +00:00
Christoph Kords 77cba87bf3 in crystallite_integrateStress: pass full 2nd PK stress to LpAndItsTangent instead of only the deviatoric part; otherwise constitutive laws that depend on the hydrostatic pressure do not work; constitutive laws that require a deviatoric stress need to calculate it internally (as is e.g. already done in the J2 model) 2014-01-16 10:36:40 +00:00
Christoph Kords a011b0a4a2 corrected tangent of plastic velocity gradient dLp_dT for slip (twin volume fraction was missing) 2014-01-16 09:53:45 +00:00
Christoph Kords 9223cf52b4 corrected non-Schmid effect: used to calculate resolvedstress based on Mandel notation which can be incorrect for nonsymmetric non-Schmid tensors 2014-01-16 09:50:40 +00:00
Christoph Kords b24dd62431 corrected tangent of plastic velocity gradient dLp_dT for slip (twin volume fraction was missing) 2014-01-16 09:29:21 +00:00
Christoph Kords 563c4ac94b corrected tangent of plastic velocity gradient dLp_dT, which improves convergence a lot 2014-01-16 09:18:26 +00:00
Martin Diehl 278f854e41 introduced functionality to get output results by point from the HDF5 file 2014-01-15 22:17:32 +00:00
Martin Diehl 3fffb2ae3e added parameter set for Magensium 2014-01-15 12:29:44 +00:00
Martin Diehl 9f3a17b1b6 fixed bug in hexagonal slip system definition 2014-01-15 12:08:46 +00:00
Franz Roters 98f677916c fixed crash in RtoEuler for PHI=180° 2014-01-15 08:32:43 +00:00
Martin Diehl 449c66c70f did some testing... 2014-01-14 19:32:55 +00:00
Martin Diehl 01c8c434f7 finished work on the new installation scheme (if no bugs are found ;)) 2014-01-14 19:03:41 +00:00
Martin Diehl aab0208c65 more modifications, only configure needs modifications 2014-01-12 17:29:00 +00:00
Martin Diehl 00eb9b2cf6 forgot Makefile 2014-01-11 17:18:59 +00:00
Christoph Kords a1927b60a7 allow flux between neighboring material points if one of both got a velocity of zero 2014-01-08 16:35:10 +00:00
Christoph Kords b41593f279 blocked density does no longer contribute to dislocation flux; used to generate source term for mobile density if burgers vector had any non-zero component perpendicular to blocking boundary. 2014-01-08 16:31:50 +00:00
Christoph Kords 629295242f added two new outputs: "rho_dot_flux_mobile" and "rho_dot_sgl_mobile"
corrected outputs of dislocation density rates: take into account that blocked dislocation density is a signed quantity
2014-01-07 15:55:28 +00:00
Martin Diehl 79307de6a7 added some code parts for HDF5 in Fortran 2013-12-30 10:06:01 +00:00
Martin Diehl 5b4b132176 introduced preprocessor statements in mesh to hide unneeded variables as a preparation for HDF5 2013-12-27 20:03:28 +00:00
Martin Diehl 831e905b16 added missing lp output to crystallite 2013-12-20 11:13:12 +00:00
Pratheek Shanthraj de3fc70a02 moved restart writing to the forwarding routine 2013-12-20 10:49:14 +00:00
Martin Diehl 98d5a99a43 reverted unwanted changes to Makefile (configure) 2013-12-20 10:31:33 +00:00
Martin Diehl d595f59f0e improved sanity checks, mainly for RGC 2013-12-20 08:36:15 +00:00
Martin Diehl af075aaa9d found bug (array index out of bounds), Philip/Franz please check if correct (Gfortran was complaining) 2013-12-20 08:33:46 +00:00
Franz Roters 543639bb8f added support for Marc/Mentat2013.1 2013-12-19 13:37:35 +00:00
Martin Diehl 61c6839723 fixed over-sensitive error in homogeniztion and ifort option in makefile 2013-12-19 08:49:47 +00:00
Pratheek Shanthraj 6f6bd86078 fixed bug in heat generation and analytic jacobian calculations 2013-12-18 10:19:48 +00:00
Pratheek Shanthraj f3ea92f50c fixed error in previous commit 2013-12-18 09:38:44 +00:00
Pratheek Shanthraj 61981617d7 separated forwarding and solution subroutines for better control at the load step looping level 2013-12-18 09:35:05 +00:00
Pratheek Shanthraj ff6211b78c rolled back phase field changes 2013-12-18 09:09:32 +00:00
Martin Diehl 6fa9ed8f48 homogenization: added enums and sourced allocation for RGC, some higher verbosity for isostrain 2013-12-18 07:28:01 +00:00
Martin Diehl c4a592867f updated to PETSc 3.4.3, will not compile on all workstations except for maws0X 2013-12-17 15:37:14 +00:00
Martin Diehl 676e621af2 new version of Lib_VTK_IO 2013-12-17 13:24:34 +00:00
Martin Diehl 7b9d76cdcc added missing allocation of outputID caused crashing 2013-12-17 08:02:21 +00:00
Martin Diehl ba89df7784 continued with sourced allocation and EOL improvements 2013-12-16 11:58:03 +00:00
Martin Diehl 118dff9f23 fixed wrong initialized symmetry value 2013-12-16 10:56:56 +00:00
Martin Diehl d5bdcf5a6d some small improvements, still something wrong, probably in crystallite.f90 2013-12-13 14:14:17 +00:00
Martin Diehl 84d51d743c fixed small issues, ATTENTION: Still a bug introduced with rev. 2783 not fixed 2013-12-13 13:19:17 +00:00
Martin Diehl 7ba3cc0ab7 removed symlink to marc 2010 2013-12-13 10:04:25 +00:00
Martin Diehl acad3d4a33 using sourced allocation 2013-12-12 23:03:37 +00:00
Martin Diehl da337962af fixed bug for Abaqus input parsing 2013-12-12 22:29:40 +00:00
Martin Diehl 65ae979920 indroduced sourced allocation, enums where applicable (some parts still missing). fixed bug when having recursive file input 2013-12-12 17:09:59 +00:00
Christoph Kords 9b9f4dd624 adapted changes from rev 2776 for constitutive_nonlocal: improved usage of "enum", fixed bug in file reading, usage of "source" specifier for "allocate" 2013-12-12 10:16:50 +00:00
Christoph Kords dd77690a68 fixed bug introduced in rev2777: renamed all remaining occurrences of variable "ncomponents" to "nconstituents" 2013-12-12 10:06:39 +00:00
Martin Diehl 102712d91f added enum for dislotwin output, fixed bug when using recursive file input function 2013-12-11 23:42:33 +00:00
Martin Diehl 95d6430b09 improved on enums (introduced them for output in j2), fixed wrong recursion depth bug in IO, fixed a bug in reading in for none, j2, phenopowerlaw 2013-12-11 22:03:09 +00:00