SimVascular / svFSI

A multi-physics finite element solver for patient-specific blood flow simulation including fluid-structure interaction and cardiac electrophysiology
Other
31 stars 48 forks source link

Allow the user to add Prestress contribution to stress tensor results #119

Open baeumler opened 9 months ago

baeumler commented 9 months ago

Problem

Currently, when using a prestress tensor for FSI simulation, the prestress contributions are not added to the stress result in TPOST when writing out either the second Piola Kirchhoff, Cauchy, or vonMises stress tensor. This results in wrong stress output in the vtu files.

Solution

In VTKXML/TPOST: If the prestress tensor is assigned, add the prestress tensor S0 to the final stress outputs (Piola Kirchhoff, Cauchy and VonMises). Maybe let user set a flag if they don't want the prestress added.

Additional context

No response

Code of Conduct