Tias Maiti
654aacf207
removed invalid options (options.packing, options.shift)
2015-03-05 21:41:53 +00:00
Haiming Zhang
5d9abc16e8
the number of grains starts with one.
2015-03-05 20:16:17 +00:00
Haiming Zhang
aeb468254d
missing file.close()
2015-03-05 19:12:07 +00:00
Haiming Zhang
4579a696e8
use OptionParse to parse the command-line options, add help information,
...
add the output of material.config file.
2015-03-05 19:01:31 +00:00
Haiming Zhang
d188f35c17
use OptionParse to parse the command-line options, add help information, format the header of output file, now the output file can be used by hydribIA_linODFsampling.py directly
2015-03-05 17:04:16 +00:00
Martin Diehl
f1df6cf40f
copied some stcopied some scripts from the Code folder that are of interest for DAMASK
2015-03-05 10:05:00 +00:00
Chen Zhang
8c91d174fa
remove some debugging print;
...
add meshgrid2, but stick with list comprehension since it is actually faster.
2015-03-02 16:20:47 +00:00
Tias Maiti
0077177c05
some polishing (numpy —> np, theTable —> table)
2015-03-02 05:06:29 +00:00
Chen Zhang
0d7355a49f
correct help information.
2015-02-27 23:08:48 +00:00
Chen Zhang
1742725963
interpolate microstructure using Delaunay triangulation and Barycentric interpolation.
2015-02-27 22:59:09 +00:00
Haiming Zhang
9203b37fbc
1. Implement Hill1979 yield criterion (the residum and Jacobian);
...
2. Hill1979 works
2015-02-25 17:24:33 +00:00
Haiming Zhang
8b1846e78e
1. Implement Karafillis-Boyce yield criterion (the residum and Jacobian);
...
2. Karafillis-Boyce works
2015-02-24 16:46:09 +00:00
Haiming Zhang
39e17fc95a
1. add __init__() for the "Class" of each Criterion;
...
2. Polishing
2015-02-20 20:51:23 +00:00
Haiming Zhang
a3e5da0bfd
1. Implement 2D and 3D Cazacu-Barlat yield criteria(the residum and Jacobian);
...
2. Both work
2015-02-20 20:34:47 +00:00
Haiming Zhang
09c357c70f
1. Fix bug of Yld2004-18p;
...
2. get deformation rate tensor and Lankford coefficient.
2015-02-20 14:40:24 +00:00
Martin Diehl
425251ae2b
fixed bug: theTable -> table
2015-02-14 11:23:50 +00:00
Haiming Zhang
4a63aff1ed
1. Implement Yld2004-18p yield criterion(the residum and Jacobian);
...
2. Yld2004-18p yield criterion takes effect
2015-02-13 17:22:19 +00:00
Haiming Zhang
77cffd8040
1. fix up Banabic-Balan-Comsa 2003 (BBC2003) yield criterion;
...
2. add the calculation Jacobian of BBC2003;
3. Now BBC2003 yield criterion takes effect
2015-02-12 20:48:03 +00:00
Haiming Zhang
69af205721
add the calculation of Jacobian of isotropic and anisotropic Barlat1991, shows better performance.
2015-02-12 11:04:00 +00:00
Haiming Zhang
40f1f3af23
add the calculation of Jacobian of Hill1948 and Drucker family criteria.
2015-02-11 19:06:23 +00:00
Philip Eisenlohr
53b40662ec
now with executable, correct line endings, and ID tags.
2015-02-11 17:26:56 +00:00
Philip Eisenlohr
d5f9f543ca
Script to generate PNG image from given column (or 2D data in overall ASCIItable) with custom colormap and pixel sizes.
...
Supersedes “imageFromData” from “Code” repository.
2015-02-11 17:25:49 +00:00
Philip Eisenlohr
9eae665365
fixed ‘too many files open’ issue when processing a large list of input tables.
2015-02-11 17:22:47 +00:00
Haiming Zhang
eed00007f9
Re-write the script:
...
1. replace curve_fit with leastsq, which supports the analytical Jacobian
2. specify a "class" (contains both residum and jacobian) for each criterion.
3. add the calculation of Jacobian
2015-02-11 16:49:40 +00:00
Tias Maiti
1b1ed3bbcf
removed unnecessary lines
2015-02-11 06:18:08 +00:00
Martin Diehl
40a792d785
fixed bug in consistency check
2015-02-10 13:49:47 +00:00
Martin Diehl
63434c2ddb
corrected error checking for correct type
2015-02-09 08:57:14 +00:00
Martin Diehl
7edd209ce4
corrected wrong name in add..., more verbose error checking for geom_from...
2015-02-07 22:22:28 +00:00
Martin Diehl
6140285ddd
small changes (use ip.x instead of 1_ip). Probably we should modify postResults to use the 1_, 2_, 3_, standard notation for ip as well
2015-02-07 18:13:51 +00:00
Martin Diehl
e4a94aa72b
put changes on algorithm from geom_fromEuclideanDistance into addEuclideanDistance
2015-02-07 17:11:46 +00:00
Haiming Zhang
f3bab46275
addthe Cazacu–Barlat (CZ) yield criterion (3D and 2D), Banabic–Balan–Comsa (BBC) Yield Criterion.
2015-02-07 16:58:57 +00:00
Haiming Zhang
cdb7795956
1. Add default boundary constraint(no constraint) and initial guess to the dictionary
...
2. With the boundary constraint of exponential term, now non-quadratic yield criteria (isotropic Barlat 1991, anisotropic Barlar 1991, Hosford) take effect.
2015-02-07 11:07:45 +00:00
Haiming Zhang
0350b1829c
1. Replace curve_fit(see minpack.py) with curve_fit_bound(see damask/util.py), now the boundary constraint can be applied.
...
2. Transfer the output information into dictionary 'fittingCriteria', compact subroutine 'fit'.
2015-02-06 14:01:04 +00:00
Haiming Zhang
ce09e992cc
1. Change yieldStress from 'list' to 'numpy.arrary', thanks to Martin's suggestion (3907);
...
2. Change '3*3' Cauchy stress tensor to '1*6', now the number of input 'xdata' for fitting is 6*Points, which is less than the former 9*Points.
2015-02-06 13:48:14 +00:00
Martin Diehl
0b3205a24b
some suggestions how to simplify
2015-02-06 09:29:21 +00:00
Haiming Zhang
4f2c07063b
Fix general Hosford!
2015-02-05 20:18:07 +00:00
Haiming Zhang
2b704b3905
Fix: Tresca, von Mises, Drucker, Hill 1948 criteria.
2015-02-04 16:47:35 +00:00
Haiming Zhang
2d568b49f2
add the output of standard deviation errors;
...
fix Hill 48 and anisotropic Barlat 1991
2015-02-04 13:04:34 +00:00
Haiming Zhang
3845c47e61
complement of 3897: add isotropic and anisotropic Barlat 1991 to the dictionary
2015-02-03 12:57:18 +00:00
Haiming Zhang
bef846d294
add isotropic and anisotropic Barlat1991 yield criteria.
2015-02-03 12:54:16 +00:00
Haiming Zhang
55445af9bc
1. add initial guess and weight to the fitting (nonlinear least square regression);
...
2. extend the dictionary:fittingCriteria
2015-02-03 12:18:53 +00:00
Haiming Zhang
cc6138ec41
rewrite "def fit()";
...
add format output.
2015-02-02 17:41:19 +00:00
Haiming Zhang
fd75772a3f
Fix the bug of calculating principal stresses. Now the fitting result is better for the criteria which expressed in principal stresses.
...
Thanks to Martin.
2015-02-02 16:52:28 +00:00
Martin Diehl
4772efbc45
fixed syntax error
2015-01-23 10:11:12 +00:00
Tias Maiti
2c9c04eb76
added script to replace all rows of an ASCII table by a single row containing their average
2015-01-23 00:57:10 +00:00
Martin Diehl
5be9a75cff
fixed indentation
2015-01-22 09:04:01 +00:00
Martin Diehl
440263f2f0
simplified, removed deprecated synonyms
2015-01-22 09:03:18 +00:00
Martin Diehl
ed6b4fe50a
fixed issues when having grains and eulers
2015-01-13 16:04:49 +00:00
Martin Diehl
c08f704dee
added Id + a little help
2015-01-07 19:29:27 +00:00
Tias Maiti
ca58216134
added missing math module import
2015-01-05 12:25:03 +00:00