Commit Graph

1711 Commits

Author SHA1 Message Date
Franz Roters b6847ebb01 added use mesh statement needed for output of mesh_element 2014-09-09 15:18:49 +00:00
Luv Sharma 923adbc2d3 added auxillary functions: get/put 'Physics' to communicate regularised/ unregularised values between solver and constitutive physics 2014-09-05 16:31:27 +00:00
Luv Sharma a7741457b9 more work on field state. 2014-09-04 16:11:00 +00:00
Philip Eisenlohr 6612603a23 changed naming convention (keeping backward compatibility in numerics.config):
myspectralsolver --> spectral_solver (called "spectralsolver")
myfilter --> spectral_filter (called "spectralfilter")
2014-09-03 19:59:47 +00:00
Luv Sharma 79f572f869 more work on homogenisation new state and introduced field state 2014-09-03 17:12:06 +00:00
Philip Eisenlohr 2435c8d836 dropped "elasticState" (for now) 2014-09-02 20:18:37 +00:00
Philip Eisenlohr f05f47f6e3 optical polishing 2014-09-02 20:16:33 +00:00
Philip Eisenlohr e8a428613c general polishing; simplification of RKCK45 dotstate assembly for different stages. 2014-09-02 20:11:57 +00:00
Philip Eisenlohr 630d9efffd Heavy bug fixing: Butcher tableau multiplication in RK45 integration scheme, state updating of adaptive Euler, wrong assignment to evolution rate instead of state in fixed-point iterator.
Exchanged possibly non thread-safe matmul in RKCK45, simplified RK45 integration step 1--3 vs 4 handling.
(Thanks to Pratheek, Luv, and Chen for their help!)
2014-09-02 19:46:52 +00:00
Su Leen Wong 5f1e49c053 Cleaner way of calculating the Bain strain 2014-09-01 10:47:48 +00:00
Su Leen Wong 565e703f49 Minor fix for now 2014-09-01 09:30:33 +00:00
Pratheek Shanthraj fc941a6436 fixed some bugs in previous commit 2014-09-01 08:57:34 +00:00
Su Leen Wong e8a3b7ed19 Pitsch orientation relationship for phase transformation 2014-08-29 13:03:48 +00:00
Philip Eisenlohr 929ba1b04b reporting of elFE (instead of elCP) when advertised as such. 2014-08-27 15:54:50 +00:00
Philip Eisenlohr a360f14581 debug now reporting elFE in addition to elCP 2014-08-27 15:54:11 +00:00
Philip Eisenlohr 19bd2d1430 changed CPFEM_COLLECT to be 2^0=1 such that computation modes with collection step are always an odd number. (used to be 2^4 with no particular intrinsic meaning...) 2014-08-26 17:39:52 +00:00
Chen Zhang 5bc49e6441 change the debug level of cutback reporting to non-selective, of central solution from basic to extensive, of stiffness perturbation to selective.
fixed few typos and deleted excess whitespace.
2014-08-26 14:44:32 +00:00
Chen Zhang e8649ded56 change debug level for OUTDATED info from extensive to basic 2014-08-26 14:21:24 +00:00
Martin Diehl 06988353ee now compiling spectral solver even if private folder is missing 2014-08-25 06:20:25 +00:00
Martin Diehl 977392cfe7 compiler for spectral solver is now the version provided by petsc (similar to linking)
added option to compile FEM solver with same Makefile
2014-08-24 22:07:53 +00:00
Luv Sharma e555ce4827 started introducing new state structure in homogenisation 2014-08-21 17:48:20 +00:00
Luv Sharma 594c3c007b fixed wrong index 2014-08-21 12:02:09 +00:00
Pratheek Shanthraj 1e8139452c added functions for factorial, binomial and multinomial coefficients 2014-08-21 08:33:55 +00:00
Philip Eisenlohr 5c429a9939 added ..._ROOT/lib64 as possible locations for FFTW and HDF5 libraries 2014-08-20 19:13:28 +00:00
Luv Sharma ab5033adde improved strain splitting (tangent) 2014-08-19 11:27:58 +00:00
Pratheek Shanthraj 2d0c9e03c8 all constitutive models coupled with damage 2014-08-15 09:09:31 +00:00
Pratheek Shanthraj 7666013758 use subF instead of F for analytic jacobian calculation 2014-08-15 09:04:00 +00:00
Su Leen Wong 1da874a6db Modification of basic states for phase transformation 2014-08-14 13:18:33 +00:00
Su Leen Wong 591a82de26 Fixed issue with previous commit 2014-08-14 12:21:51 +00:00
Su Leen Wong 5719987f95 Calculation of eigendeformation tensor for phase transformation 2014-08-14 10:04:13 +00:00
Pratheek Shanthraj ad6467638f minor change to strain energy calculation 2014-08-14 09:59:16 +00:00
Pratheek Shanthraj 47707f86b6 fixed typo 2014-08-11 21:28:15 +00:00
Pratheek Shanthraj b36b38d7c3 introduced non-zero residual damage to prevent stiffness matrix from being ill-conditioned 2014-08-11 17:13:06 +00:00
Luv Sharma 33b4c0d908 minor typo 2014-08-11 13:33:17 +00:00
Pratheek Shanthraj 584beee94e dTdFe bug fix 2014-08-11 08:34:44 +00:00
Pratheek Shanthraj 8f444b0695 minor changes to multiphysicsOut 2014-08-10 11:14:43 +00:00
Pratheek Shanthraj 0a01d5f3a1 hardening does not depend on damage 2014-08-10 10:47:12 +00:00
Pratheek Shanthraj b6ccbc0fe9 reworked energy splitting for damage 2014-08-10 10:45:07 +00:00
Pratheek Shanthraj ec71d77038 corrections to analytic dPdF calculation 2014-08-10 10:27:35 +00:00
Pratheek Shanthraj cfab313e3f corrected incorrectly set dLp/dS for plasticity none 2014-08-10 10:06:03 +00:00
Pratheek Shanthraj 3700e132b0 cleaned up strain energy splitting. coupled damage to plasticity for J2 and phenopowerlaw 2014-08-08 22:29:38 +00:00
Pratheek Shanthraj 9c40f187a0 corrections to plastic work calculation and volumetric strain split 2014-08-08 17:01:20 +00:00
Luv Sharma c4b9ddf45d added strain decomposition to uncouple damage from negative hydrostatic part 2014-08-08 15:37:32 +00:00
Pratheek Shanthraj 10d2cfebd3 changed naming scheme for helper functions. damage and thermal dependent stress calculation more modularised 2014-08-08 14:02:20 +00:00
Pratheek Shanthraj da5f3d8f85 removed some unused variables 2014-08-08 13:54:08 +00:00
Martin Diehl f55dc4b639 added kmc example material.config
added elastic test for mkc, titanmod, and J2
2014-08-08 13:51:11 +00:00
Martin Diehl 0ecdd2692b started to introduce state for phase transformation (adding one set of additional basic states) 2014-08-08 12:20:43 +00:00
Martin Diehl dafccad7f5 bufgix for last commit, Franz please rather check this 2014-08-08 12:16:51 +00:00
Martin Diehl 1a0e0f4fa2 fixed wrong? homogenizedC calculation 2014-08-08 11:13:04 +00:00
Martin Diehl ea66511160 added dislokmc (dislotwin modification) 2014-08-08 11:04:40 +00:00
Pratheek Shanthraj 9d615b3d3b added getDamage and getTemperature helper functions 2014-08-08 07:39:17 +00:00
Pratheek Shanthraj 2f5d9376dc call IO_error if inversion error in analytic jacobian calculation 2014-08-07 21:16:37 +00:00
Pratheek Shanthraj 98a297cd9e removed old inaccurate analytic jacobian with exact jacobian. seems to work as well as perturbed jacobian and better than the old analytic jacobian for some simple tests. 2014-08-07 21:08:34 +00:00
Martin Diehl 0fc5e3717c finished updating to new state of dislokmc 2014-08-07 15:50:52 +00:00
Martin Diehl f0ade8d0a3 started to add David Cerecedas Model 2014-08-07 14:59:28 +00:00
Martin Diehl fcfe26f7d3 added lineaODF example file 2014-08-07 09:29:50 +00:00
Pratheek Shanthraj 8a683e2371 reactivated plastic work contribution to damage. default state integration tolerance is 0.001. use aTol_damage tag in material.config to specify your own tolerance 2014-08-06 11:37:47 +00:00
Martin Diehl fa45ef456e fixed commercial FEM interfaces to work with damage_local 2014-08-04 18:18:28 +00:00
Martin Diehl a787d66763 updated restart test, deviations seems to be related to tolerance in stress BC 2014-08-04 17:50:01 +00:00
Pratheek Shanthraj 6371d0d2bc slight modifications to gradient damage 2014-08-01 15:15:02 +00:00
Pratheek Shanthraj 3d83ac64fd added code for local damage 2014-08-01 14:54:57 +00:00
Martin Diehl 2e377056ed missing adjustment of interface for call to CPFEM_general related to last commit 2014-07-24 12:26:01 +00:00
Martin Diehl e7962e6dd1 disabled calculation and storage of Cauchy stress and derived quantities for spectral solver and own FEM:
command: /usr/bin/time -v
OLD DAMASK terminated on:
Date:               24/07/2014
Time:               12:03:58
STOP 0
	Command being timed: "DAMASK_spectral -l tensionX.load -g 20grains16x16x16.geom"
	User time (seconds): 12230.57
	System time (seconds): 45.98
	Percent of CPU this job got: 353%
	Elapsed (wall clock) time (h:mm:ss or m:ss): 57:49.24
	Average shared text size (kbytes): 0
	Average unshared data size (kbytes): 0
	Average stack size (kbytes): 0
	Average total size (kbytes): 0
	Maximum resident set size (kbytes): 243392
	Average resident set size (kbytes): 0
	Major (requiring I/O) page faults: 0
	Minor (reclaiming a frame) page faults: 13839
	Voluntary context switches: 452541
	Involuntary context switches: 2233168
	Swaps: 0
	File system inputs: 0
	File system outputs: 556112
	Socket messages sent: 0
	Socket messages received: 0
	Signals delivered: 0
	Page size (bytes): 4096
	Exit status: 0

NEW DAMASK terminated on:
Date:               24/07/2014
Time:               14:12:16
STOP 0
	Command being timed: "DAMASK_spectral -l tensionX.load -g 20grains16x16x16.geom"
	User time (seconds): 11948.80
	System time (seconds): 37.28
	Percent of CPU this job got: 365%
	Elapsed (wall clock) time (h:mm:ss or m:ss): 54:42.97
	Average shared text size (kbytes): 0
	Average unshared data size (kbytes): 0
	Average stack size (kbytes): 0
	Average total size (kbytes): 0
	Maximum resident set size (kbytes): 235280
	Average resident set size (kbytes): 0
	Major (requiring I/O) page faults: 0
	Minor (reclaiming a frame) page faults: 14200
	Voluntary context switches: 362509
	Involuntary context switches: 1808383
	Swaps: 0
	File system inputs: 0
	File system outputs: 556192
	Socket messages sent: 0
	Socket messages received: 0
	Signals delivered: 0
	Page size (bytes): 4096
	Exit status: 0
2014-07-24 12:19:15 +00:00
Martin Diehl 7afc21f48f fixed reading in of state for restarting 2014-07-24 08:38:52 +00:00
Martin Diehl a8c0ca66fc corrected linking: use PETSC MPI (when available) rather then system wide version.
little polishing (e.g. debug output for new state)
2014-07-23 13:26:05 +00:00
Martin Diehl ab9f36cfe7 fixed bug in J2 related to new state.
make clean now deletes old marc compilations
2014-07-23 08:23:56 +00:00
Martin Diehl 4e3a202f02 set local option as default for plastic state 2014-07-22 17:38:49 +00:00
Su Leen Wong 1707f7d367 updated to read in TRIP parameters 2014-07-22 07:43:03 +00:00
Martin Diehl 0252fea3d7 fixed small bug in newstate 2014-07-10 08:47:00 +00:00
Martin Diehl 146d151357 disabled multiphysics output because homogenization output was not accessible anymore 2014-07-09 13:34:33 +00:00
Luv Sharma e16eb379ad some more consistency 2014-07-09 12:47:42 +00:00
Luv Sharma a1162e6fb4 removed some redundant parts 2014-07-08 14:58:23 +00:00
Pratheek Shanthraj 4af3459424 fixed bug in symmetrizing 2nd order tensor 2014-07-08 01:02:29 +00:00
Pratheek Shanthraj a68b216773 reworked damage. cleaned up homogenisation. removed VI stuff and using projection instead 2014-07-07 17:50:40 +00:00
Luv Sharma 7dfda9d8af remved bug in phenopower law state initialization and a minor change in Makefile 2014-07-07 14:21:58 +00:00
Pratheek Shanthraj cd1d286611 updated makefile for FEM solver and minor changes to spectral makefile 2014-07-04 10:46:23 +00:00
Pratheek Shanthraj e71241a627 reverted change in commit 3263. correct index was being used in use of mapping. changed to material_phase for clarity 2014-07-04 09:46:43 +00:00
Luv Sharma a1468b2693 for consistency, pushed assignment of sizePostResults from aggregators to individual thermal/damage label. Also fixed wrong index while use of mapping 2014-07-04 09:22:57 +00:00
Pratheek Shanthraj 9cc20ad751 fixed bug in counting outputs and changed damage formulation 2014-07-04 08:26:59 +00:00
Pratheek Shanthraj 546984b075 fixed bug in phase instance initialisation 2014-07-04 08:26:25 +00:00
Luv Sharma a2cd7815e9 corrected none variable in pheno case 2014-07-03 14:02:20 +00:00
Pratheek Shanthraj 3ee743ce66 corrected dependencies for thermal and damage modules in makefile 2014-07-03 13:32:21 +00:00
Martin Diehl 27d861decc fixed calculation of post results size introduced with new state 2014-07-03 13:17:29 +00:00
Luv Sharma d5952138e3 corrected wrong dimensions of aTolstate and inclusion order of files in abaqus and marc interfaces 2014-07-03 12:52:33 +00:00
Luv Sharma 499eb7cdbe included damage and thermal files in Abaqus and Marc intefaces 2014-07-03 10:59:27 +00:00
Luv Sharma 4812939b21 fixed error concerning state indices check 2014-07-02 14:54:43 +00:00
Martin Diehl 8fa2dcffbd changed to new state, please report bugs to Luv or Martin 2014-07-02 12:27:39 +00:00
Pratheek Shanthraj ad452508b0 cleaned up some errors with post results size 2014-07-01 23:02:24 +00:00
Pratheek Shanthraj ac36190f10 no need to allocate a large array for constitutive(thermal,damage)_sizePostResults (changes apply only to new state) 2014-06-30 14:47:30 +00:00
Martin Diehl 9be7c0d5f3 fixed floating point exception in nonlocal (calculation of dUpper at several places) 2014-06-26 20:01:38 +00:00
Luv Sharma 4c7d6c4464 fixed error with Noutput counter and few other newstate related changes (nonlocal) 2014-06-26 13:53:12 +00:00
Pratheek Shanthraj 57a865c886 changed pointer attribute to allocatable in p_vec and p_intvec 2014-06-25 16:08:49 +00:00
Pratheek Shanthraj 03d1bb6b8b changed thermal and damage defaults from undefined to none 2014-06-25 16:06:21 +00:00
Pratheek Shanthraj baaf104238 changed pointer attribute to allocatable in tState. since the pointers are only used for allocation, allocatables should do the same job more efficiently 2014-06-25 14:22:08 +00:00
Pratheek Shanthraj 8b11b1b6b0 added thermal and damage effects to elastic hooke's law 2014-06-24 23:22:52 +00:00
Pratheek Shanthraj 676cba13a8 modified state integrators to perform staggered integration of plasticity damage and thermal internal variables 2014-06-24 23:21:25 +00:00
Pratheek Shanthraj 6dc7f1bac9 thermal and damage modules now synched with DAMASK 2014-06-24 23:19:21 +00:00
Pratheek Shanthraj ab9a9f4f58 thermal and damage modules now linked to DAMASK 2014-06-24 23:18:39 +00:00
Pratheek Shanthraj d594996e7c added mesh dependent characteristic length as a numerical parameter needed for gradient and phase field problems on unstructured meshes 2014-06-24 23:18:07 +00:00
Pratheek Shanthraj 5d88a78206 added thermal and damage modules as examples of multi physics modules. only works with new state layout and still under testing.
damage_none: does nothing
damage_gradient: interacts with solver to solve gradient damage problems

thermal_none: does nothing
thermai_adiabatic: local heating only
thermal_conduction: interacts with conduction solver to solve coupled heat transfer problems
2014-06-24 22:59:16 +00:00
Pratheek Shanthraj 0c66204904 reference temperature for thermal problems parsed and stored in lattice 2014-06-24 22:54:19 +00:00
Pratheek Shanthraj 81729dab2a changed output parsing slightly to not give an error for undefined (for plasticity) parameters or outputs. get Noutput for plasticity from constitutive_xxx_noutput and not from phase_Noutput which is the total number of outputs (plasticity+thermal....) 2014-06-24 22:53:25 +00:00
Pratheek Shanthraj 18b1245874 added damage and thermal state vectors and phase instances. only works with new state layout. 2014-06-24 13:51:17 +00:00
Pratheek Shanthraj 9cdee47500 now parsing thermal conductivity, thermal expansion coeff and damage tensor from material config if present and symmetrizing according to lattice structure. setting up for multi physics 2014-06-24 13:48:29 +00:00
Pratheek Shanthraj c1fab338c3 new state with constitutive none was giving segfaults. fixed. 2014-06-24 13:44:50 +00:00
Luv Sharma 6ad6c7ad82 removed few bugs from nonlocal (newstate) 2014-06-24 09:24:59 +00:00
Luv Sharma 9ef7d2261e removed few bugs from nonlocal (newstate) 2014-06-24 09:24:19 +00:00
Pratheek Shanthraj 6347adcb65 fixed error in previous commit 2014-06-23 22:09:15 +00:00
Pratheek Shanthraj d3356bde4e moved mappings for new state layout to material 2014-06-22 18:58:29 +00:00
Martin Diehl 257bf2f9e4 renamed to fit naming scheme 2014-06-18 14:36:29 +00:00
Pratheek Shanthraj bf24bd83f2 fixed error check for CoverA ratio 2014-06-18 13:26:16 +00:00
Martin Diehl eaa3e32f21 improved warning and error messages 2014-06-18 09:10:16 +00:00
Martin Diehl 2160b37b1e fixed warning message in constitutive 2014-06-17 15:24:44 +00:00
Martin Diehl 3533138936 removed delta state for J2 and phenopowerlaw when using new state 2014-06-17 06:54:49 +00:00
Martin Diehl 5bd80123b4 fixed two severe bugs in new state, now a little bit faster (399 vs. 378 sec) and more memory efficicient (251312 vs. 236832 kbytes) for Phenopowerlaw 16x16x16 example (short load only) 2014-06-16 19:19:38 +00:00
Luv Sharma 6da07dd437 new state nonlocal output fixed 2014-06-16 14:28:11 +00:00
Martin Diehl 488927a231 worked on phenopowerlaw test, made material.config writer case insensitive, polished lattice, removed deprecated part of documentation 2014-06-16 13:11:26 +00:00
Luv Sharma e8be3b871b commented out the logical 'nonlocal' from newState structure(might be used later) 2014-06-14 11:50:46 +00:00
Luv Sharma 5755ed547b applied new State for nonlocal model and a trivial changes in crystallite 2014-06-13 20:53:17 +00:00
Martin Diehl da8f10fe6f consistency checks for lattice type improved 2014-06-13 08:57:00 +00:00
Martin Diehl bc5456b6c7 added dummy homogenization 2014-06-12 13:58:54 +00:00
Luv Sharma 0ca7f01186 fixed previous incomplete commit and few other trivial changes in newstate 2014-06-11 16:52:18 +00:00
Luv Sharma 8130f4b21f changes to make newstate aware of damage variables 2014-06-11 16:32:09 +00:00
Luv Sharma 401b31c951 new state related changes 2014-06-11 12:27:41 +00:00
Luv Sharma a54bb6ab24 prepared new State for dislotwin 2014-06-11 12:11:14 +00:00
Martin Diehl f5ca6b5b36 made (homogeneous) temperature working for spectral solver 2014-06-11 08:19:07 +00:00
Martin Diehl 6327a0c471 removed debug statement 2014-06-10 18:00:13 +00:00
Pratheek Shanthraj 01a0a0d0bb reverted some changes from previous commit 2014-06-06 08:57:24 +00:00
Pratheek Shanthraj 639ca89133 DAMASK (except nonlocal) now sees and interacts with FEM solver 2014-06-06 00:38:29 +00:00
Martin Diehl 4d3b09030c fixed array out of bounds error due to misplaced #ifdef 2014-06-05 15:22:35 +00:00
Luv Sharma bc1750f6f3 prepared new state for dislotwin 2014-06-03 13:46:42 +00:00
Martin Diehl 164252213b more work on the new state 2014-05-27 14:46:03 +00:00
Martin Diehl f7e574d7ab fixed missing sizeState initialization causing problem with output (only for new state) 2014-05-27 12:10:16 +00:00
Martin Diehl 8f6200d01a small bug fix for last commit 2014-05-23 23:17:22 +00:00
Martin Diehl fcb89f7e75 polishing (partly redoing changes that got lost when going to rev 3000) 2014-05-23 17:13:08 +00:00
Martin Diehl a284e7e6c0 more changes related to new state 2014-05-22 15:24:12 +00:00
Martin Diehl adfa634d05 improved on new state, fixed wrong indices in output 2014-05-22 15:16:05 +00:00
Martin Diehl 052aee6d04 new state copying/restoring 2014-05-22 12:07:50 +00:00
Martin Diehl 8480fc706d some changes on the new state, J2 seems to work already 2014-05-22 10:37:57 +00:00
Martin Diehl d9e8e8fc10 added consitency check: At least one phase must be present 2014-05-21 13:03:59 +00:00
Martin Diehl 8044c5b737 improved on IO_read for recursion case 2014-05-21 10:03:57 +00:00
Philip Eisenlohr 5d21ef5a84 fixed selective debugging logic flaw in crystallite_stressAndItsTangent 2014-05-19 16:43:32 +00:00
Martin Diehl 880f0a0c48 remove OMP Critical for output in regions not parallel 2014-05-16 14:01:27 +00:00
Martin Diehl 8be013b6ea removed unneeded omp pragmas 2014-05-16 10:23:10 +00:00
Philip Eisenlohr ae7adcaa2b error 100 now reports iostat return value (as "element") 2014-05-15 13:08:02 +00:00
Philip Eisenlohr 88f94cbbec increased debug threshold for some outputs (decreased verbosity level at "basic") 2014-05-15 13:01:54 +00:00
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