CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Is there a B.C. for pressure-velocity Ratio?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2018, 22:58
Exclamation Is there a B.C. for pressure-velocity Ratio?
  #1
New Member
 
Payar Radfar
Join Date: Feb 2018
Location: Auckland, New Zealand
Posts: 24
Rep Power: 8
PayarRadfar is on a distinguished road
Hi Everyone,

I was wondering if there is a possibility, probably using UDF, to give a boundary condition as pressure to velocity ratio? I am modelling human Aorta and if this is possible it fixes lots of problems we have in the project.

So at the moment lets just consider a simple case, a pipe with one end as Velocity inlet and the other as pressure outlet. Now is it possible to change the pressure outlet to an outlet which is a ratio of pressure to velocity?

Thank you and sorry if the question is dumb!
__________________
Best Regards
Payar Radfar
Payar.Radfar@gmail.com
PayarRadfar is offline   Reply With Quote

Old   July 9, 2018, 20:57
Default
  #2
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
You could use the DEFINE_PROFILE macro for assigning a boundary condition as a function of the pressure and velocity. However, it would be interesting as to whether or not the simulation would converge. Are there any references with a similar approach, or is there a physical explanation for this boundary condition?
`e` is offline   Reply With Quote

Old   July 9, 2018, 21:10
Default
  #3
New Member
 
Payar Radfar
Join Date: Feb 2018
Location: Auckland, New Zealand
Posts: 24
Rep Power: 8
PayarRadfar is on a distinguished road
Quote:
Originally Posted by `e` View Post
You could use the DEFINE_PROFILE macro for assigning a boundary condition as a function of the pressure and velocity. However, it would be interesting as to whether or not the simulation would converge. Are there any references with a similar approach, or is there a physical explanation for this boundary condition?
Hi there,

Thank you for the response. Alright I will have a look see if I can get it working.

Yes there is a physical explanation. I am doing an FSI simulation and there is another vibration approach for modelling blood pressure and velocity in human aorta and arteries by which it defines pressure and velocity at every point as a addition of two waves back and forward waves. Essentially P = P_b + P_f. This approach does take into account of the stiffness of Aorta/arteries and it is very interesting to compare the values with an FSI simulation as well as the lab results.

It would be interesting to see if we could apply similar approach and see whether it converges or not.
__________________
Best Regards
Payar Radfar
Payar.Radfar@gmail.com
PayarRadfar is offline   Reply With Quote

Old   October 7, 2018, 11:03
Default
  #4
New Member
 
Payar Radfar
Join Date: Feb 2018
Location: Auckland, New Zealand
Posts: 24
Rep Power: 8
PayarRadfar is on a distinguished road
Quote:
Originally Posted by `e` View Post
You could use the DEFINE_PROFILE macro for assigning a boundary condition as a function of the pressure and velocity. However, it would be interesting as to whether or not the simulation would converge. Are there any references with a similar approach, or is there a physical explanation for this boundary condition?
Hi "e",

I am trying to do what you told me earlier. However, I dont know how to tell the code that for example: F_PROFILE(f, ft, i) = "Velocity of the Face" * 6360.0;

Can you please advise me how I can call it? I tried C_U (c,t) But it has an error which I think is due to the fact that C_U is the cell variable not face!

Also ultimately, do you know how I could give it different ratio values at different times? e.g. 6360 at first second 10,000 at 2nd second etc.

Sorry for bothering you with simple questions. I have mainly coded in MATLAB before and do not have much experience.

Regards
__________________
Best Regards
Payar Radfar
Payar.Radfar@gmail.com
PayarRadfar is offline   Reply With Quote

Old   October 7, 2018, 16:36
Default
  #5
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
Remember that velocity is a vector component of u (x-direction), v (y-direction) and w (z-direction) in 3-D Cartesian coordinates. Each of these components can be retrieved at faces with F_U(f,t), F_V(f,t) and F_W(f,t) respectively. For example, with applying a boundary condition dependent on u:

Code:
F_PROFILE(f,t,i) = F_U(f,t) * 6360.0;
For time dependence, you could use conditional cases (like in MATLAB) for discrete time intervals, or use an equation for a continuous time dependence, for example:

Code:
F_PROFILE(f,t,i) = F_U(f,t) * (3.0 + 2.0*CURRENT_TIME);
`e` is offline   Reply With Quote

Reply

Tags
advanced, boundary condition, pressure-velocity ratio, udf


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple floating objects CKH OpenFOAM Running, Solving & CFD 14 February 20, 2019 10:08
Projection method: B.C. for intermediate velocity field pranavladkat Main CFD Forum 2 August 13, 2014 08:35
Results of CFX Simulations Sof_70_Usthb CFX 3 July 9, 2011 07:15
Velocity slip+temperature jump B.C. anon_d Fluent UDF and Scheme Programming 1 April 27, 2011 09:39
How to set pressure & velocity in inlet B.C??? asghari FLUENT 2 February 7, 2007 09:00


All times are GMT -4. The time now is 06:09.