Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in computing hemodynamic indicies #147

Open
keiyamamo opened this issue Apr 9, 2024 · 2 comments
Open

Bug in computing hemodynamic indicies #147

keiyamamo opened this issue Apr 9, 2024 · 2 comments

Comments

@keiyamamo
Copy link
Collaborator

Same problem as KVSlab/VaSP#157

@hkjeldsberg
Copy link
Contributor

@keiyamamo Any updates on this? A fix for P1 elements would be of great interest!

@keiyamamo
Copy link
Collaborator Author

Hi @hkjeldsberg
Fixing the problem of wall shear stress magnitude having negative value should be easy.
You just need to replace tawss = project(inner(tau, tau) ** (1 / 2), U_b1) as follows.

https://github.com/KVSlab/VaSP/pull/160/files

This should work for P1 since we are just taking the magnitude of dofs instead of using project.

To me, the other problem is that VaSP and VaMPy produce different values. I tested VaSP implementation against analytical solution and it is integrated as pytest. Therefore, I’m pretty confident that the implantation in VaSP is correct, but I might be wrong. Additionally, the old (see below) and current implementation of wall shear stress seems different in VaMPy . Maybe they produce the same result anyway, but it is unclear why or how these changes are made.

Screenshot 2024-05-06 at 9 34 33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants