Releases: LightForm-group/formable
Releases · LightForm-group/formable
v0.1.21
v0.1.20
v0.1.19
v0.1.18
[0.1.18] - 2021.08.06
Added
- Add option
include_yield_functions
toLoadResponseSet.show_yield_functions_2D
andLoadResponseSet.show_yield_functions_3D
, which is a list of fitted yield function indices to include in the visualisation. - Add
get_load_case_planar_2D
load case function. - Add option
strain_rate_mode
toget_load_case_plane_strain
, which determines if the load case is defined by deformation gradient (F_rate
), velocity gradient (L
) or an approximation excluding the stress condition (L_approx
), which is useful when we want to avoid using mixed boundary conditions.
Changed
- Functions
get_load_case_uniaxial
,get_load_case_biaxial
andget_load_case_plane_strain
have been refactored, documented and generalised where applicable. The returneddict
from these functions now includes passing throughdirection
androtation
. A new keyrotation_matrix
is the matrix representation of the rotation specified, if specified.
v0.1.17
v0.1.16
[0.1.16] - 2021.04.23
Changed
- 2D yield function plotting now use scikit-image to compute the zero-contour, which can then be plotted as scatter-plot data, instead of a Plotly contour plot. Partial fix (2D only) for #9. The old behaviour can be switched on with
use_plotly_contour=True
in methods:YieldFunction.compare_2D
,YieldFunction.show_2D
andLoadResponseSet.show_yield_functions_2D
. - The
YieldFunction.yield_point
attribute is saved in the dict representation of a eachLoadResponseSet.fitted_yield_function
, and loaded correctly when loading from a dict, via a change toYieldFunction.from_name
. - Parameter fitting using the
LMFitter
class now scales the fitting parameters to one.
v0.1.15
v0.1.14
[0.1.14] - 2021.04.10
Added
- Add ability to specify fitting bounds and other optimisation parameters in
YieldFunction.from_fit
andLoadResponseSet.fit_yield_function
.
Changed
LoadResponseSet.yield_functions
attribute renamedLoadResponseSet.fitted_yield_functions
.
v0.1.13
v0.1.12
[0.1.12] - 2020.12.16
Added
- Add
LMFitter.from_dict
Fixed
- Add
single_crystal_parameters
to returned dict ofLMFitter.to_dict
.
[0.1.11] - 2020.12.16
Fixed
- Set float values in
get_new_single_crystal_params
.
[0.1.10] - 2020.12.15
Added
- Add new module,
levenberg_marquardt
for fitting single crystal parameters.