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
Martin Diehl
3e3c13bf0b
added missing math module import
2015-01-04 21:02:17 +00:00
Martin Diehl
8dea16c07f
fixed wrong assignment of phase and made orientation comparison robust
2014-12-20 12:42:21 +00:00
Martin Diehl
5e8fff13d9
worked on the vtk binary out, still some problems with multicomponent datatypes
2014-12-18 21:46:38 +00:00
Martin Diehl
6604d0f8e8
polishing
2014-12-18 19:26:52 +00:00
Martin Diehl
9ac62e42df
added possibility to specify number of bins to be sorted in advance to current cleared stage
2014-12-18 18:03:36 +00:00
Philip Eisenlohr
89f8ba979e
Add x,y coordinates of stereographic projection of given direction (pole) in crystal frame.
2014-12-13 00:12:55 +00:00
Martin Diehl
f8ce57abc8
removed aliases 'resolution' and 'dimension' for 'grid' and 'size' because some scripts did not have it anyway and the rename happened quite a while ago
2014-12-08 08:48:55 +00:00
Martin Diehl
c067d0dc69
fixed wrong periodicity treatment
2014-12-05 10:35:56 +00:00
Luv Sharma
30920801aa
extended for 2D, finds the bounding edges and assigns them 'physical' attribute.
2014-12-04 11:33:06 +00:00
Martin Diehl
47685ac7c4
added output of script ID do material.config
2014-12-03 10:09:47 +00:00
Martin Diehl
590106b889
added possibility to add randomly distributed second phase (index = indexGiven+1)
2014-12-02 22:22:11 +00:00
Philip Eisenlohr
3cfabe3b83
standardized script name reporting
2014-11-18 15:31:39 +00:00
Philip Eisenlohr
b17dcd7652
added options ’—origin’ and ‘—geom’. Latter interprets the geom-header to derive voxel sizes.
2014-11-18 15:26:59 +00:00
Philip Eisenlohr
461a3fa979
fixed syntax error and added ‘—render’ option to immediately see output on screen
2014-11-18 15:24:09 +00:00
Philip Eisenlohr
a3196669ea
exchanged deprecated data array read function
2014-11-18 15:22:00 +00:00
Philip Eisenlohr
7136db1fd8
fixed syntax error: ’options.error’ —> ‘parser.error’ for error handling
2014-11-18 15:20:57 +00:00
Philip Eisenlohr
99ffa554eb
added ‘1_*’ to ‘*’ as possible column label indicator
2014-11-18 15:20:10 +00:00
Philip Eisenlohr
b5ef329f34
changed default position column format from .x,.y,.z to more standard 1_,2_,3_
2014-11-18 15:18:27 +00:00
Martin Diehl
b656113b11
added missing string import in marc_addUserOutput (introduced with rev 3718) and removed unwanted imports and introduce use of damask.extendableParser in some other scripts
2014-11-18 08:00:45 +00:00
Martin Diehl
409a75c964
fixed 2 small flaws in geom_fromAng, corrected stringID and stringName in all remaining files in 'pre'
2014-11-16 21:44:46 +00:00
Philip Eisenlohr
6a3546cee2
script to produce ASCIItable from geom dataset.
...
contains best-practice for looping over multiple input files (to avoid error caused by too many open file handles!)
2014-11-14 15:16:00 +00:00
Philip Eisenlohr
deee3a175a
polishing and simplifications
2014-11-14 14:53:48 +00:00
Martin Diehl
733e85f6e6
fixed bug in material.config when do not compress the data. Thanks to Noriki for figuring out
2014-11-14 13:53:55 +00:00