cratepy.online.loading.macloadincrem.IncrementRewinder¶
- class IncrementRewinder(rewind_inc, phase_clusters)[source]¶
Bases:
object
Rewind analysis to rewind state increment (initial instant).
- _loading_path¶
Loading path instance rewind state.
- Type:
- _material_state¶
CRVE material constitutive state at rewind state.
- Type:
- _clusters_sct_mf¶
Fourth-order strain concentration tensor (matricial form) (item, numpy.ndarray (2d)) associated with each material cluster (key, str).
- Type:
- _ref_material¶
Elastic reference material at rewind state.
- Type:
- _global_strain_mf¶
Global vector of clusters strain tensors (matricial form).
- Type:
numpy.ndarray (1d)
- _farfield_strain_mf¶
Far-field strain tensor (matricial form).
- Type:
numpy.ndarray (1d)
- save_material_state(self, material_state)[source]¶
Save material constitutive state at rewind state.
- save_asca_algorithmic_variables(self, global_strain_mf, farfield_strain_mf)[source]¶
Save ASCA algorithmic variables at rewind state.
- rewind_output_files(self, hres_output=None, efftan_output=None, ref_mat_output=None, voxels_output=None, adapt_output=None, vtk_output=None)[source]¶
Increment rewinder constructor.
- Parameters:
List of Public Methods
Get ASCA algorithmic variables at rewind state.
Get clusters strain concentration tensors at rewind state.
Get loading path at rewind state.
Get material constitutive state at rewind state.
Get elastic reference material at rewind state.
Get increment associated with the rewind state.
Rewind output files to the rewind state.
Save ASCA algorithmic variables at rewind state.
Save clusters strain concentration tensors at rewind state.
Save loading path rewind state.
Save material constitutive state at rewind state.
Save elastic reference material at rewind state.
Methods
- get_asca_algorithmic_variables()[source]¶
Get ASCA algorithmic variables at rewind state.
- Returns:
global_strain_mf (numpy.ndarray (1d)) – Global vector of clusters strain tensors (matricial form).
farfield_strain_mf (numpy.ndarray (1d), default=None) – Far-field strain tensor (matricial form).
- get_clusters_sct()[source]¶
Get clusters strain concentration tensors at rewind state.
- Returns:
clusters_sct_mf – Fourth-order strain concentration tensor (matricial form) (item, numpy.ndarray (2d)) associated with each material cluster (key, str).
- Return type:
- get_loading_path()[source]¶
Get loading path at rewind state.
- Returns:
loading_path – Loading path instance rewind state.
- Return type:
- get_material_state(crve)[source]¶
Get material constitutive state at rewind state.
- Parameters:
crve (CRVE) – Cluster-Reduced Representative Volume Element.
- Returns:
material_state – CRVE material constitutive state at rewind state.
- Return type:
- get_reference_material()[source]¶
Get elastic reference material at rewind state.
- Returns:
ref_material – Elastic reference material at rewind state.
- Return type:
- get_rewind_inc()[source]¶
Get increment associated with the rewind state.
- Returns:
rewind_inc – Increment associated with the rewind state.
- Return type:
- rewind_output_files(hres_output=None, efftan_output=None, ref_mat_output=None, voxels_output=None, adapt_output=None, vtk_output=None)[source]¶
Rewind output files to the rewind state.
- Parameters:
hres_output (HomResOutput) – Output associated with the homogenized results.
efftan_output (EffTanOutput) – Output associated with the CRVE effective tangent modulus.
ref_mat_output (RefMatOutput) – Output associated with the reference material.
voxels_output (VoxelsOutput) – Output associated with voxels material-related quantities.
adapt_output (ClusteringAdaptivityOutput) – Output associated with the clustering adaptivity procedures.
vtk_output (VTKOutput) – Output associated with the VTK files.
- save_asca_algorithmic_variables(global_strain_mf, farfield_strain_mf)[source]¶
Save ASCA algorithmic variables at rewind state.
- Parameters:
global_strain_mf (numpy.ndarray (1d)) – Global vector of clusters strain tensors (matricial form).
farfield_strain_mf (numpy.ndarray (1d), default=None) – Far-field strain tensor (matricial form).
- save_clusters_sct(clusters_sct_mf)[source]¶
Save clusters strain concentration tensors at rewind state.
- Parameters:
clusters_sct_mf (dict) – Fourth-order strain concentration tensor (matricial form) (item, numpy.ndarray (2d)) associated with each material cluster (key, str).
- save_loading_path(loading_path)[source]¶
Save loading path rewind state.
- Parameters:
loading_path (LoadingPath) – LoadingPath instance.
- save_material_state(material_state)[source]¶
Save material constitutive state at rewind state.
- Parameters:
material_state (MaterialState) – CRVE material constitutive state at rewind state.
- save_reference_material(ref_material)[source]¶
Save elastic reference material at rewind state.
- Parameters:
ref_material (ElasticReferenceMaterial) – Elastic reference material at rewind state.