Commit Graph

1768 Commits

Author SHA1 Message Date
Luv Sharma ee60ea8d5b some improvements in ductile model 2014-10-01 15:18:33 +00:00
Martin Diehl baa08d8155 made analytic tangent default for spectral solver
removed possibility to compile without PETSc (a lot of effort for little/no use)
2014-10-01 12:29:12 +00:00
Su Leen Wong 0824335b10 TRIP contribution to Lp and dotState 2014-10-01 08:11:39 +00:00
Pratheek Shanthraj 3aa5ca68c5 marc/abaqus includes for ductile damage 2014-09-30 13:25:07 +00:00
Pratheek Shanthraj 3da023a1ba thermo-mechanical example 2014-09-29 12:40:57 +00:00
Pratheek Shanthraj c7a746ddc1 constitutive dot state now takes Lp which is needed to the thermal dot state.
thermal problems should be working now
2014-09-26 20:49:25 +00:00
Pratheek Shanthraj ce3be666e8 redoing previous changes that were lost in commit 3502
please please please make sure you merge your changes to an updated version of the code before committing them
2014-09-26 18:49:40 +00:00
Pratheek Shanthraj 590eb31ed0 some more renaming or thermal related routines 2014-09-26 18:07:48 +00:00
Pratheek Shanthraj c39aac9c9d makefile to go with renaming 2014-09-26 16:10:41 +00:00
Pratheek Shanthraj 40cd991496 thermal_none to thermal_isothermal 2014-09-26 16:09:25 +00:00
Pratheek Shanthraj dabfa6d2e6 renamed get/put thermal to get/put temperature and thermal_none to thermal_isothermal 2014-09-26 16:07:26 +00:00
Pratheek Shanthraj d4076e4db9 some fixes to get ductile damage working with recent changes 2014-09-26 15:23:10 +00:00
Pratheek Shanthraj 5c3f4e3e69 some fixes to get homogenisation none working with recent changes 2014-09-26 15:16:10 +00:00
Luv Sharma d3fd4bdf90 started adding a ductile damage model 2014-09-26 10:38:13 +00:00
Pratheek Shanthraj 82932c3708 added field quantity output 2014-09-26 10:34:36 +00:00
Pratheek Shanthraj 280e563fa0 removed homogenization_sizepostresults. This information only needs to be stores per homog type in homogState and not for every element and ip 2014-09-26 10:32:56 +00:00
Pratheek Shanthraj a42fd0608a use constitutive_xxx_Noutput instead of phase_Noutput as number of outputs for more consistency with constitutive multi physics output 2014-09-26 10:25:26 +00:00
Pratheek Shanthraj 34c33cca13 changed Noutput to constitutive_nonlocal_Noutput for consistency 2014-09-26 10:21:00 +00:00
Su Leen Wong 1c38d42a0b Projection matrices for transformation 2014-09-24 12:31:16 +00:00
Luv Sharma c38b80ad49 updated module include list for abaqus interface also. 2014-09-24 11:11:17 +00:00
Luv Sharma a0b724836e typo fixed 2014-09-24 10:45:46 +00:00
Su Leen Wong 4d351ccba1 Outputs for TRIP volume fraction 2014-09-24 07:26:27 +00:00
Su Leen Wong c2ee6ff299 Renaming transformation input variables to more logical names 2014-09-23 15:38:41 +00:00
Pratheek Shanthraj 556d485ca4 typo: diffusion not difusion 2014-09-23 12:30:52 +00:00
Pratheek Shanthraj 5ce49387f6 added history variable for brittle damage to prevent healing. renamed/removed some lattice damage tensors and symmetrize them. 2014-09-23 12:22:34 +00:00
Pratheek Shanthraj d2dee58703 removed obsolete thermal and damage modules 2014-09-23 10:42:57 +00:00
Pratheek Shanthraj c2c5c0c521 subsumed constitutive_damage/thermal into constitutive 2014-09-23 10:38:20 +00:00
Pratheek Shanthraj c029554c31 better naming damage_local --> damage_brittle 2014-09-23 08:43:16 +00:00
Pratheek Shanthraj 854879d277 undid some marc/abaqus related changes 2014-09-23 08:19:15 +00:00
Pratheek Shanthraj bb7f9be6ea remove obsolete constitutive field modules 2014-09-22 20:57:12 +00:00
Pratheek Shanthraj cb4117df95 adiabatic part of possibly conductive thermal model 2014-09-22 20:55:54 +00:00
Pratheek Shanthraj 3948d99f4f local part of possibly nonlocal brittle damage model 2014-09-22 20:38:19 +00:00
Pratheek Shanthraj f6c0f7062e moved field initialization from homogenization to material since it is needed in crystallite 2014-09-22 20:36:55 +00:00
Pratheek Shanthraj 6ace12be0c removed unused variables 2014-09-22 20:34:42 +00:00
Luv Sharma e83a0fb3f7 polished field state related changes and brittle damage 2014-09-22 18:15:19 +00:00
Martin Diehl 2b35cc041e fixed wrong line continuation 2014-09-19 19:38:59 +00:00
Luv Sharma 649ec1fca8 Finished applying newstate to Homogenization. 2014-09-19 17:59:06 +00:00
Luv Sharma 4bbd6583a0 prepared for using new state structure in homogenization 2014-09-18 15:27:52 +00:00
Martin Diehl f64418f29a removed multithreaded FFTW, does not make a big time difference and will simplify linking when using PETSc 2014-09-18 15:23:11 +00:00
Chen Zhang 2d460c3b78 remove redundant debug output 2014-09-16 18:22:03 +00:00
Pratheek Shanthraj cc7064d025 changed default petsc_options for FEM and removed unused variables 2014-09-16 10:02:37 +00:00
Martin Diehl 27026c7f6a fixed missing initialization of output in RGC that got lost in Rev 3452 2014-09-16 09:50:37 +00:00
Su Leen Wong 74db2ef064 Small fix for missing constitutive dislotwin output 2014-09-16 08:02:19 +00:00
Martin Diehl 7cb7815176 polishing style 2014-09-13 10:04:44 +00:00
Luv Sharma 05d980f1e3 minor fixes 2014-09-12 15:58:03 +00:00
Su Leen Wong f8646daf85 Added projection matrix for strain-induced transformation 2014-09-12 09:10:19 +00:00
Martin Diehl 5b6f143fb0 intel fortran behaves strange for standard check:
https://software.intel.com/en-us/forums/topic/506419
worked around that
2014-09-11 16:02:05 +00:00
Pratheek Shanthraj d6080d332d updated to be compatible with latest version of petsc.
Please change your PETSC_DIR to /opt/petsc-dev and PETSC_ARCH to ifort (gfort or ifort-debug for gfortran and debugging version respectively on maws01 also available)
2014-09-11 13:28:15 +00:00
Martin Diehl 4aa2c65d1e next try to make the makefile work in all possible cases for FEM and spectral 2014-09-11 09:51:38 +00:00
Luv Sharma 7c60c45f80 corrected typos and some field related changes 2014-09-10 18:26:12 +00:00
Martin Diehl 0af667e94d set search path (VPATH) to ../private/FEM/code only in case FEM solver is the target 2014-09-10 16:27:53 +00:00
Luv Sharma 2f76ecf0e3 fixed error in use statement. 2014-09-10 15:12:14 +00:00
Luv Sharma 7b5cbf4199 now compiling thermal_adiabatic.f90 also and some field related changes 2014-09-10 15:05:28 +00:00
Luv Sharma e8f8655c98 fixed buggy initialization. Now initialising in similar way to constitutive models. 2014-09-10 14:14:03 +00:00
Su Leen Wong 8e6ea7d9c7 Added Ctrans to homogenizedC and strain-induced martensite part to basic states 2014-09-10 12:12:17 +00:00
Luv Sharma dc406a01c0 added funtions to get averged properties at integration points. 2014-09-10 08:37:12 +00:00
Martin Diehl f1e345dcdb fixed compilation for FEM 2014-09-09 15:59:41 +00:00
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