febiosoftware / FEBioStudio

https://febio.org/
MIT License
61 stars 21 forks source link

Mirror feature not showing correct data #37

Open SteveMaas1978 opened 3 years ago

SteveMaas1978 commented 3 years ago

This is a re-post of a forum issue . Certain data fields (e.g. displacement, strains, etc.) may need to flip signs when mirrored. This is currently not done, and thus data is not always shown correctly on the mirrored parts.

BabakNSafa commented 2 years ago

hi Steve, I was wondering if there is a workaround in FEBio Studio to multiply the strain field with a -1. The other solution might be Paraview and doing an arithmetic filter. Any thoughts?

SteveMaas1978 commented 2 years ago

You can apply arithmetic filters to most data fields in FEBio Studio: after you load the plot file, go to the Data panel and click the "Add" button at the topic. Select "Filter" from the option. You can then apply the Scale filter with a scale factor of -1. Please give that a try and let me know if that worked for you.

BabakNSafa commented 2 years ago

That filter applies the -1 to the entire data field and not only to the mirror. I think adding an option to the mirror menu such as "Mirror Data" or something similar to turn on and off in this this menu would help. image