|
[Sponsors] |
Womersley pulsatile boundary condition for blood flow. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 5, 2011, 03:03 |
Womersley pulsatile boundary condition for blood flow.
|
#1 |
Member
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15 |
Dear all,
I know this topic is discussed before, but I didn't find solutions. So please bear with me. I try to use groovyBC to implement this function but: The womersley formula include a Bessel function which need to be passed into a imaginary complex number. To my knowledge, Bessel function under OpenFOAM J0(s) can only solve the real number. And I don't know how to transfer womersley function to real domain. I write a matlab code to simulate the womersley pulsatile flow that I want. (besselj can resolve imaginary complex number). But that's it, no idea how to corporate my mat-lab data with OpenFOAM since the data is dependent on both t (time) and y (position). I have beening struggling with this for a while and quite frustrated... Can anyone give some help or hint please? |
|
August 5, 2011, 04:47 |
|
#2 |
Senior Member
|
Hello,
have you tried to play around with pythonflu? http://pythonflu.wikidot.com/ maybe it gives you some opportunities that might be of value to you. |
|
August 5, 2011, 07:02 |
|
#3 | |
Member
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15 |
Quote:
Thanks for your reply, I went to pythonflu, is seems like can integrate with Matlab results. But I didn't find any manual of pythonflu. Can you please suggest me in some details how to solve womersley inlet in pythonflu. Do I need to import data from matlab or I can just write some function in pythonflu? Cheers! |
||
August 5, 2011, 08:06 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
August 5, 2011, 08:32 |
|
#5 |
Member
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15 |
I forgot to say is that the Womersley number is known in my experiment.
Last edited by liguifan; August 5, 2011 at 10:56. |
|
August 5, 2011, 10:55 |
|
#6 | |
Member
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15 |
Quote:
Do you think I can use the following formula which which is in real domain to implement the Womersley solution so that I can pass into groovyBC. Many thanks |
||
August 8, 2011, 06:40 |
|
#7 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
If the computer algebra program of your choice (or you calculating by hand) gives back a reasonable expression for the closed part (like "Re[u[y,t]]" in Mathematica) there should be no problem. I only glanced at your formula and I don't quite get what sould make it complex anyway (if t and y are real)
|
|
August 10, 2011, 07:59 |
|
#8 | |
Member
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15 |
Quote:
"FullSimplify[Re[u[y,t]]]" , the return value is still in the form of "Re[...]". I will put more time on this see whether can I get a nice derivation. Thanks again for your help! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
Need Help on boundary condition in Multi-Phase flow | creddy_trddc | CFX | 0 | December 9, 2010 08:53 |
Swirling flow as a boundary condition | hami9293 | FLUENT | 0 | November 2, 2010 08:09 |
Convective Heat Transfer - Heat Exchanger | Mark | CFX | 6 | November 15, 2004 16:55 |