cratepy.clustering.solution.ffthombasicscheme.MacroscaleStrainIncrementer¶
- class MacroscaleStrainIncrementer(strain_formulation, problem_type, mac_strain_total, mac_strain_init=None, inc_lfacts=[1.0], max_subinc_level=5, max_cinc_cuts=5)[source]¶
Bases:
object
Macroscale strain loading incrementer.
- _inc_mac_strain_total¶
Total incremental macroscale strain second-order tensor. Infinitesimal strain tensor (infinitesimal strains) or deformation gradient (finite strains).
- Type:
numpy.ndarray (2d)
- _mac_strain¶
Current macroscale strain second-order tensor. Infinitesimal strain tensor (infinitesimal strains) or deformation gradient (finite strains).
- Type:
numpy.ndarray (2d)
- _mac_strain_old¶
Last converged macroscale strain tensor. Infinitesimal strain tensor (infinitesimal strains) or deformation gradient (finite strains).
- Type:
numpy.ndarray (2d)
Constructor.
- Parameters:
strain_formulation ({'infinitesimal', 'finite'}) – Problem strain formulation.
problem_type (int) – Problem type: 2D plane strain (1), 2D plane stress (2), 2D axisymmetric (3) and 3D (4).
mac_strain_total (numpy.ndarray (2d)) – Total macroscale strain tensor. Infinitesimal strain tensor (infinitesimal strains) or deformation gradient (finite strains).
mac_strain_init (numpy.ndarray (2d), default=None) – Initial macroscale strain tensor. Infinitesimal strain tensor (infinitesimal strains) or deformation gradient (finite strains).
inc_lfacts (list[float], default=[1.0,]) – List of incremental load factors (float). Default applies the total macroscale strain tensor in a single increment.
max_subinc_level (int, default=5) – Maximum level of macroscale loading subincrementation.
max_cinc_cuts (int, default=5) – Maximum number of consecutive macroscale loading increment cuts.
List of Public Methods
Get current macroscale strain.
Get current increment counter.
Get increment output data.
Get last increment flag.
Perform macroscale strain increment cut.
Update increment counter, total load factor and current loading.
Methods
- __init__(strain_formulation, problem_type, mac_strain_total, mac_strain_init=None, inc_lfacts=[1.0], max_subinc_level=5, max_cinc_cuts=5)[source]¶
Constructor.
- Parameters:
strain_formulation ({'infinitesimal', 'finite'}) – Problem strain formulation.
problem_type (int) – Problem type: 2D plane strain (1), 2D plane stress (2), 2D axisymmetric (3) and 3D (4).
mac_strain_total (numpy.ndarray (2d)) – Total macroscale strain tensor. Infinitesimal strain tensor (infinitesimal strains) or deformation gradient (finite strains).
mac_strain_init (numpy.ndarray (2d), default=None) – Initial macroscale strain tensor. Infinitesimal strain tensor (infinitesimal strains) or deformation gradient (finite strains).
inc_lfacts (list[float], default=[1.0,]) – List of incremental load factors (float). Default applies the total macroscale strain tensor in a single increment.
max_subinc_level (int, default=5) – Maximum level of macroscale loading subincrementation.
max_cinc_cuts (int, default=5) – Maximum number of consecutive macroscale loading increment cuts.
- get_current_mac_strain()[source]¶
Get current macroscale strain.
- Returns:
mac_strain – Current macroscale strain tensor. Infinitesimal strain tensor (infinitesimal strains) or deformation gradient (finite strains).
- Return type:
2darray
- get_inc_output_data()[source]¶
Get increment output data.
- Returns:
inc_data – Increment output data.
- Return type: