[FEM] pipelines: distinguish stresses (#7246)

- it seems using the same Field name for a vector and a scalar result causes problems with ParaView, see https://forum.freecadweb.org/viewtopic.php?p=601775#p601775
 therefore rename the vectors
This commit is contained in:
Uwe
2022-08-23 02:22:52 +05:00
committed by GitHub
parent 3f07755a8f
commit 4f8ceb287e
2 changed files with 8 additions and 4 deletions

View File

@@ -689,9 +689,9 @@ std::map<std::string, std::string> _getFreeCADMechResultVectorProperties() {
// the following three are filled only if there is a reinforced mat object
// https://forum.freecadweb.org/viewtopic.php?f=18&t=33106&start=70#p296317
// https://forum.freecadweb.org/viewtopic.php?f=18&t=33106&p=416006#p412800
resFCVecProp["PS1Vector"] = "Major Principal Stress";
resFCVecProp["PS2Vector"] = "Intermediate Principal Stress";
resFCVecProp["PS3Vector"] = "Minor Principal Stress";
resFCVecProp["PS1Vector"] = "Major Principal Stress Vector";
resFCVecProp["PS2Vector"] = "Intermediate Principal Stress Vector";
resFCVecProp["PS3Vector"] = "Minor Principal Stress Vector";
return resFCVecProp;
}