Commit Graph

42 Commits

Author SHA1 Message Date
Philip Eisenlohr 4f705f524f major restructuring of code.
homogenization as well as constitutive are now free to choose. the runtime got somewhat longer (25% on simple tests) compared to a hardcoded isostrain homogenization. this might be a point of further optimization at a later stage...

please use homogenization_isostrain.f90 as starting point / example for future developments of homog-schemes.

the homogenization scheme now can additionally output certain results. hence, the userdata structure at each integration point now looks like this:
- sizeHomogPostResults
- block of that size containing homogPostResults
then for each grain:
- sizeGrainPostResults
- block of that size containing crystallitePostResults, which consist of:
+ phaseID
+ volFrac
+ Eulers (3)
+ any constitutive post results requested
2009-05-07 16:27:36 +00:00
Franz Roters a5a2fdb306 introduced pLongInt for Long Integers 2009-03-31 08:51:14 +00:00
Philip Eisenlohr a9824e473d added function (math_inv3x3) for inverting a 3x3 matrix by Cramer's methods 2009-03-31 07:31:38 +00:00
Luc Hantcherli e5255f4384 Update in order to include the c/a-ratio as additional information about the structure (modules lattice, constitutive_ changed accordingly)
Correction of the expression for the velocity of mobile dislocation densities in constitutive_dislobased.f90

Correction of some Fortran syntax, incompatible with Compaq Visual Fortran (e.g. integer(8))
2009-03-20 14:34:24 +00:00
Philip Eisenlohr 121723ffa5 corrected (?) RodrigToR 2009-03-18 14:05:27 +00:00
Philip Eisenlohr 9007fbc73c added math_tensorproduct 2009-03-17 15:13:17 +00:00
Luc Hantcherli 31f15ee146 Add constitutive_dislobased.f90, containing the current dislocation based model for dislocation glide.
Add corresponding changes in constitutive.f90 and IO.f90

Compilation errors in math.f90 corrected
2009-03-05 16:06:01 +00:00
Christoph Kords 599ba2453c added math_mul6x6 and math_mul3x3 to replacce more general calls to "dot_product" 2009-03-05 14:37:59 +00:00
Philip Eisenlohr 9351508ae1 overhaul to allow for multiphase/homogenization setup. 2009-03-04 11:48:54 +00:00
Eralp Demir 5a09badb71 corrected another small mistake, sorry for the inconvenience 2009-01-26 13:14:25 +00:00
Eralp Demir f3e5be4b54 small mistake corrected! 2009-01-26 13:07:10 +00:00
Eralp Demir 3625afff3b add symmetry operators and a subroutine for misorientation calculation 2009-01-26 12:58:58 +00:00
Philip Eisenlohr cbd7c279d4 changed Line Ending to Unix style (LF) 2009-01-19 19:10:58 +00:00
Eralp Demir de04c4cccd added functions
-- math_volTetrahedron: calc the volume of a tetrahedron from four vertices
-- math_vectorproduct: return vector product of two dim(3) vectors

rendered most of the math lib to be "pure" functions
2009-01-16 15:27:13 +00:00
Franz Roters cf1c7ce82a replaced almost all calls of matmul by our own code, gives better performance in parallel computations 2008-07-23 12:49:40 +00:00
Philip Eisenlohr 63d81b92b7 added math_mul33x33, 66x66, and 99x99 to avoid OMP_Critical "evilmatmul" 2008-07-08 19:38:22 +00:00
Franz Roters 2472de77c2 OpenMP seems to work now
watch out for critical sections
write and matmul statements need to be marked accordingly!!!
2008-06-17 13:15:36 +00:00
Franz Roters 60f3571266 added code lines for OpenMP, however it does not work yet! 2008-05-26 13:11:25 +00:00
Denny Tjahjanto 12dfbaf6b4 # separated CPFEM_Crystallite from CPFEM. Now in separate module crystallite.f90 as "SingleCrystallite"
# improved SingleCrystallite to advance by true cutbacking (instead of improving guess and integrating always from t_0)
# module "crystal" renamed to "lattice" together with its prefix for variables
# extension of "computationMode" to deal with cutbacks (CPFEM_general).
# cutback and new inc detection for MARC is based on common block variable cptim (and inc), not incsub anymore!
# generalized GrainInterAction as new homogenization scheme

# two symbolic links are required: constitutive.f90 and CPFEM.f90
2008-04-07 14:54:29 +00:00
Denny Tjahjanto c063ce5bc1 add a kronecker delta function 2008-03-27 11:54:34 +00:00
Denny Tjahjanto f3eda7cdaa include a new function epsilon_ijk, i.e., the permutation function (used to compute the cross product of two tensors) 2008-03-26 13:35:01 +00:00
Franz Roters 6f06133b90 removed some unused variables 2008-03-14 08:23:43 +00:00
Philip Eisenlohr cfaa0e696d exchanged TINY (from prec) with intrinsic "tiny" function (Fortran90) 2008-02-15 12:42:27 +00:00
Luc Hantcherli fe70a82d6d !!!!! IMPORTANT !!!!!
All subroutines were committed at once:
- constitutive_pheno works
- constitutive_dislo without twinning also works

This release should serve as reference
2007-12-14 13:36:04 +00:00
Franz Roters e5749cbff0 changed scatter check for gauss components to if(noise==0) 2007-04-26 14:46:54 +00:00
Franz Roters 11cc6d1ee1 math_sampleGaussOri did not treat the special case of zero noise (scatter) 2007-04-26 11:46:58 +00:00
Franz Roters 3a4ec4c2d1 removed several unused variables 2007-04-24 06:49:13 +00:00
Philip Eisenlohr 4743c1cd86 error from inversion routines now boolean type 2007-04-11 10:04:22 +00:00
Luc Hantcherli ea20fc73c1 Added pure statements 2007-04-04 13:55:21 +00:00
William Counts f1653ad88c debugged quicksort algorithm slightly (now able to do multiple identical keys) 2007-04-04 08:49:48 +00:00
Philip Eisenlohr 1f37cd897b added quicksort 2007-04-03 08:17:58 +00:00
Philip Eisenlohr 836a22270a rewrote _sampleXXXori functions
set of angles is now always an array
2007-03-29 15:32:52 +00:00
Luc Hantcherli 3ba46ac7d7 Added ideas for Voigt<->Mandel transformations (PE) 2007-03-28 17:41:54 +00:00
William Counts 882a074cea fixed dsqrt intrinsic call in Mandel parameter list 2007-03-28 08:51:31 +00:00
Philip Eisenlohr 181f96fcdf polishing of Mandel notation 2007-03-28 08:20:50 +00:00
Philip Eisenlohr 9241c7de91 added Mandel notation transformations for sym 3x3x3x3 and 3x3 tensors 2007-03-28 07:21:47 +00:00
Philip Eisenlohr 31d5ccf16d added math_Hooke to calc stress from stiffness and strain 2007-03-27 15:57:18 +00:00
Philip Eisenlohr 4bd3bbd2f5 added 4th order identity 2007-03-27 15:13:08 +00:00
Franz Roters b439a1209a changed pi
added math_invert3x3 and math_invert6x6
2007-03-26 12:50:04 +00:00
Philip Eisenlohr 72e2bb12e4 inserted MISSING comments and math_I3 global 2007-03-22 14:48:16 +00:00
Philip Eisenlohr c47cb7655a polished syntax to conform with f90 2007-03-21 10:20:25 +00:00
Philip Eisenlohr 80facb8b30 let's see whether this is the thing to do..!?!? 2007-03-20 13:55:22 +00:00