Support for stress tensor components in FEM stress linearization (#11724)

* Stress components in linearization

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
FEA-eng
2023-12-18 17:42:04 +01:00
committed by GitHub
parent 15e42a9b87
commit 1455382651

View File

@@ -2013,7 +2013,10 @@ void CmdFemPostLinearizedStressesFilter::activated(int)
if ((FieldName == "Tresca Stress") || (FieldName == "von Mises Stress")
|| (FieldName == "Major Principal Stress")
|| (FieldName == "Intermediate Principal Stress")
|| (FieldName == "Minor Principal Stress")
|| (FieldName == "Minor Principal Stress") || (FieldName == "Stress xx component")
|| (FieldName == "Stress xy component") || (FieldName == "Stress xz component")
|| (FieldName == "Stress yy component") || (FieldName == "Stress yz component")
|| (FieldName == "Stress zz component")
// names need to match with names in FemVTKTools.cpp, this is not failsafe,
// but at the moment there is no better way for test on a stress result in vtk pipeline
) {