Commit Graph

82 Commits

Author SHA1 Message Date
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 d86f091026 some small fixes, reporting still needs update 2014-10-06 12:47:52 +00:00
Martin Diehl 2836b2fb35 work in progress, extending to more criteria 2014-10-03 09:27:20 +00:00
Martin Diehl 033a275d82 a bunch of small changes. deleted compiled FFTW libraries 2014-10-02 21:27:03 +00:00
Martin Diehl afb9a2186b removed explicit default setting: type='string' and action='store' 2014-09-12 14:14:55 +00:00
Martin Diehl c6eab9dab7 fixed wrong order in linear interpolation for stress 2014-08-18 20:09:09 +00:00
Martin Diehl e637f6344c added possibility to fit to more than one yield point, now using linear interpolation between around given threshold value 2014-08-18 18:21:36 +00:00
Martin Diehl ad7fe1ecbc fixed bug (wrong index in stress tensor for Hill48) and possible deadlock 2014-08-10 21:22:22 +00:00
Martin Diehl c8f16f16fa fixed bug in hill criterion 2014-08-06 20:07:47 +00:00
Martin Diehl 649e637561 added some more post processing tests and improved output 2014-08-06 19:06:33 +00:00
Martin Diehl 96fe818f5d added more options to command line 2014-08-05 14:29:36 +00:00
Martin Diehl b4b9835d18 some work on the yield surface generator 2014-08-04 21:15:56 +00:00
Martin Diehl a804b23b7a bugfixing 2014-07-24 22:02:10 +00:00
Martin Diehl 42032cbc25 started to restructure fitting to criterion 2014-07-22 21:59:58 +00:00
Martin Diehl c8cd775747 added spectral solver grid location and index function to util library 2014-07-21 17:49:45 +00:00
Martin Diehl fd2164b391 von Mises fitting seems to work, still needs polishing (adding options etc) 2014-07-09 09:31:26 +00:00
Martin Diehl 5f638a059a corrected string substitution 2014-07-09 07:17:58 +00:00
Martin Diehl fdb4f2ffea now the program flow is working 2014-07-08 16:09:02 +00:00
Martin Diehl 7a478d646a added call to DAMASK spectral 2014-07-07 14:17:44 +00:00
Martin Diehl a48b4cfc95 improved dummy yield surface generator 2014-07-04 13:40:15 +00:00
Martin Diehl a68fe7c77b first draft of a script to compute yield surfaces with the spectral solver 2014-07-02 10:42:51 +00:00