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

Inconsistent WSS in rigid fluid pipe mesh? #69

Open schwarz-e opened 2 years ago

schwarz-e commented 2 years ago

I am running a simple rigid pipe simulation with a mesh generated with a prismatic boundary layer/outer wall.

Screenshot from 2022-03-23 10-56-31

However, the WSS field generated is not uniform. Ignoring effects at the end caps, within one axial slice the WSS can vary by 10-20%.

Screenshot from 2022-03-23 10-58-39

Slice taken at mid-vessel:

Screenshot from 2022-03-23 11-01-40

Here are the input file and mesh for reference:

setup.zip

vvedula22 commented 2 years ago

@schwarz-e While the spatial variation is not surprising when using FEM over unstructured meshes, the range is intriguing. Have you tested refining the mesh, particularly in the interior? Can you plot element WSS that is computed over the face (#62)?

schwarz-e commented 2 years ago

I used Martin's method to calculate the WSS at the faces on a more refined mesh- the mid-slice range is a lot better (only about 5%) but there is a large axial variation when it should be constant.

image

image

image

vvedula22 commented 2 years ago

Axial variation is indeed strange. This didn't happen in your previous test case. Is there a chance for a bug in your element-based calculation around the inlet plane?

schwarz-e commented 1 year ago

It seems like this stems from the velocity solution at the outlet which has non-zero tangential components. This doesn't seem to be a bug, its a consistent steady-state solution when Direchlet at the inlet and Neumman at the outlet is perscribed. However, it's still undesirable.