cratepy.ioput.miscoutputfiles.voxelsoutput.VoxelsOutput¶
- class VoxelsOutput(voxout_file_path, strain_formulation, problem_type)[source]¶
Bases:
object
Output file: Voxels material-related output.
- _output_variables¶
Each item is a tuple associated with a material-related output variable that contains the variable name (index 0) and the variable number of dimensions (index 1). This list sets the order by which the material-related output variables are output.
- write_voxels_output_file(self, n_dim, comp_order, crve, clusters_state, clusters_def_gradient_mf)[source]¶
Write output file.
Constructor.
- Parameters:
List of Public Methods
Open output file and write file header.
Rewind output file.
Write output file.
Methods
- init_voxels_output_file(crve)[source]¶
Open output file and write file header.
- Parameters:
crve (CRVE) – Cluster-Reduced Representative Volume Element.
- rewind_file(rewind_inc)[source]¶
Rewind output file.
- Parameters:
rewind_inc (int) – Increment associated with the rewind state.
- write_voxels_output_file(n_dim, comp_order, crve, clusters_state, clusters_def_gradient_mf)[source]¶
Write output file.
- Parameters:
n_dim (int) – Problem dimension.
comp_order (list[str]) – Strain/Stress components (str) order.
crve (CRVE) – Cluster-Reduced Representative Volume Element.
clusters_state (dict) – Material constitutive model state variables (item, dict) associated to each material cluster (key, str).
clusters_def_gradient_mf (dict) – Deformation gradient (item, numpy.ndarray (1d)) associated with each material cluster (key, str), stored in matricial form.