Martin Diehl
9e76b51014
fixing global variables handling (need to be defined before being used)
2016-10-31 22:53:14 +01:00
Martin Diehl
a62ab3b5d4
fixes (mainly tuple arguments for functions and lambda functions)
2016-10-25 21:52:51 +02:00
Martin Diehl
5951b45259
only grain file type 1 seems to make sense (type 2 has average values).
...
For type one, data is fixed i.e. flexible labels are not useful
2016-10-06 15:22:05 +02:00
Martin Diehl
de88bebe99
handling defaults correctly for extend option
2016-10-06 12:14:07 +02:00
Martin Diehl
fb23c49b41
should be executable
2016-09-24 15:58:13 +02:00
Jennifer Nastola
0f09a66b62
pyflake was complaining
2016-09-22 15:36:28 +02:00
Jennifer Nastola
f8901220ab
Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development
2016-09-22 15:34:28 +02:00
Martin Diehl
d239cab3ae
corrected help
2016-08-11 13:48:15 +02:00
Jennifer Nastola
a0567e8642
added FeatureID and right coordniates to table
2016-08-04 11:11:24 +02:00
Jennifer Nastola
ccc0ac35ac
copied from ang_toTable
2016-08-02 11:30:36 +02:00
Martin Diehl
cd63a92733
using python 2.7 has shebang will also work on mac without symlink
...
unless someone uses the 6 year old python 2.6, this should be save
2016-07-18 19:35:35 +02:00
Martin Diehl
40414c767c
like ang_toTable (not sure if both are needed anyway)
2016-07-15 21:03:10 +02:00
Martin Diehl
ce7cd36bf5
better be done with load case rotation
2016-07-15 20:23:20 +02:00
Martin Diehl
5fb5edc2ed
should be executable
2016-06-24 07:31:46 +02:00
Philip Eisenlohr
12affbd240
simplified and corrected
2016-05-17 11:23:57 -04:00
Philip Eisenlohr
a8765a963d
more fixing of old .labels use
2016-05-17 11:12:26 -04:00
Martin Diehl
a21e8cd863
usind explicitly python2 to run in environments with python 3 as default
2016-05-11 11:01:39 +02:00
Martin Diehl
a51f2a29f6
cleaning
2016-03-03 14:53:55 +01:00
Martin Diehl
76a0a93c42
removed unneeded variables, fixed docstrings. missing variable jc in Barlat1989 from 46c33b0
2016-03-03 14:52:47 +01:00
Martin Diehl
7c9d344601
python files now report their version depending on VERSION file in $DAMASK_ROOT
2016-01-27 17:06:00 +00:00
Martin Diehl
ebf20f2ebc
unified style and other minor improvements
2015-10-15 19:51:27 +00:00
Martin Diehl
dd0167821f
corrected reporting and convergence check
2015-10-14 20:33:22 +00:00
Martin Diehl
bdfd9c69bb
simplified dimension handling
2015-10-14 18:45:33 +00:00
Martin Diehl
46564d3df8
commenting and introducing functions for regulary used code
2015-10-14 18:40:02 +00:00
Martin Diehl
180d4625c1
trying to simplify
2015-10-13 21:00:12 +00:00
Martin Diehl
61090c955d
removed code doubling
2015-10-09 05:51:58 +00:00
Philip Eisenlohr
f982f42839
convert TSL/EDAX ang file format to proper ASCIItable.
2015-08-12 22:14:19 +00:00
Haiming Zhang
61e3987bfa
extract the deformation anisotropic coefficients (r values) and strength anisotropic coefficients (normalized yield stress) automatically.
2015-06-29 15:57:31 +00:00
Haiming Zhang
088299daf2
fix the bug in the calculation of RMSD, replace N with sqrt(N).
2015-06-25 12:41:26 +00:00
Haiming Zhang
f5ccc37125
re-write Karafillis-Boyce yield criterion, the old version is actually the generalized Karafillis-Boyce yield criterion, i.e., Born-Besson yield criterion, which has three exponents, it seems unstable. Now retreat to the original Karafillis-Boyce yield criterion (Karafillis, Boyce 1993), which has only one exponents.
2015-05-04 15:00:02 +00:00
Haiming Zhang
1e6c4fa988
re-write Yld2000
2015-05-04 14:54:48 +00:00
Haiming Zhang
e0e7bb7a24
fix bugs of barlat1989, barlat1991
2015-05-04 14:52:33 +00:00
Haiming Zhang
1b9595d012
1. add the option 'all', fit all criteria automatically
...
2. generate equivalent stress automatically for advanced criteria.
2015-04-25 17:08:38 +00:00
Haiming Zhang
a55b0c54c6
change the unit of stress
2015-04-25 16:22:32 +00:00
Haiming Zhang
edb559d2fa
1. Judge the validity of stress points, and skip the invalid stress points.
...
2. change the defaulted unit
2015-04-25 16:19:06 +00:00
Haiming Zhang
46c33b0d98
polishing
2015-04-21 18:55:10 +00:00
Haiming Zhang
976647b9e4
add the convergence criterion, the method is :
...
1. calculate the L2 norm of the residual of all the stress points
2. store the relative errors of the L2 norm
3. if the standard deviation of the relative errors of last five fittings is less than 0.05, that it is considered that the relative errors is stabilized, so the fitting is finished.
2015-04-08 17:48:26 +00:00
Haiming Zhang
b77768fd4d
all the criteria support plane stress
2015-04-08 16:24:20 +00:00
Martin Diehl
6e650a42b4
some comments for discussion
2015-04-07 07:42:46 +00:00
Haiming Zhang
ab89c84ec8
Correct the message of last change
...
1. rename BBC2003 as BBC2000;
2. add the real BBC2003 yield criterion, BBC2003 works;
3. now the BBC family yield criteria include: BBC2000, BBC2003, BBC2005
2015-04-03 21:01:37 +00:00
Haiming Zhang
412028f33f
1. rename BBC2003 as BBC2000;
...
2. add the real BBC2003 yield criterion, BBC2003 works;
3. now the BBC family yield criteria include: BBC2000, BBC2003, BBC2008
2015-04-03 20:59:23 +00:00
Haiming Zhang
cd2a744db9
add Yld2000 yield criterion, Yld2000 works
2015-04-03 16:20:03 +00:00
Haiming Zhang
2b9964bba5
add Barlat-Lian 1989 yield criterion, Barlat1989 works.
2015-04-03 12:31:13 +00:00
Haiming Zhang
0097d39873
fix some type errors; add more comments
2015-04-02 19:32:48 +00:00
Martin Diehl
86f39de462
remove non-utf symbol
2015-04-02 16:13:00 +00:00
Haiming Zhang
d8a99b23bf
1.compact all the criteria into a single Class;
...
2.the first thorough check of the script;
3.add the option of exponents for all non-quadratic yield criteria, now the user 1)can specify the exponent, for example, m=6 for Barlat 1991, or 2)see the exponent as an undetermined parameters;
4.add the pre-specified bounds for all criteria;
5.add the user defined equivalent stress for some anisotropic yield criteria
2015-04-02 12:08:55 +00:00
Haiming Zhang
72c2ead277
polishing, replace variables calculation with arrays calculation.
2015-03-27 17:58:49 +00:00
Haiming Zhang
226381586c
compact the code of Yld2004-18p and Karafillis-Boyce, use array instead of components to calculate the partial derivative.
2015-03-16 16:42:26 +00:00
Haiming Zhang
a048b2ec15
1. Implement bbc2005 yield criterion (the residum and Jacobian); 2. bbc2005 works
2015-03-13 10:07:23 +00:00
Haiming Zhang
56cf1b53eb
add Fourier interplation, anisotropic Vegter yield criterion is okay
2015-03-13 08:50:47 +00:00