hookeai.simulators.fetorch.math.matrixops.get_state_3Dmf_from_2Dmf¶
- get_state_3Dmf_from_2Dmf(problem_type, mf_2d, comp_33, device=None)[source]¶
Build 3D counterpart of 2D strain/stress second-order tensor.
- Parameters:
problem_type (int) – Problem type: 2D plane strain (1), 2D plane stress (2), 2D axisymmetric (3) and 3D (4).
mf_2d (torch.Tensor(1d)) – Matricial form of 2D strain/stress second-order tensor.
comp_33 (float) – Out-of-plane strain/stress component.
device (torch.device, default=None) – Device on which torch.Tensor is allocated.
- Returns:
mf_3d – Matricial form of 3D strain/stress second-order tensor.
- Return type:
torch.Tensor(1d)