|
[Sponsors] |
Average of time on streamline in Transient analysis |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 6, 2014, 14:02 |
Average of time on streamline in Transient analysis
|
#1 |
New Member
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11 |
I did a transient analysis of flow in blood vessel. There is an option in function calculator "average". I used that for "streamline" as location and then "time on streamline" as variable. It gave me some time values. Is it residence time?
|
|
September 7, 2014, 06:19 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143 |
No. You are calculating streamlines on a transient flow. Streamlines only use the instantaneous flow field, so time varying flow fields will not be accurate.
To get residence time in a transient flow you should use massless particles or a additional variable (the additional variable approach is described here: http://www.cfd-online.com/Forums/cfx...ution-cfx.html) |
|
September 7, 2014, 07:16 |
|
#3 |
New Member
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11 |
Ok thanks...I'll try out that...
I want to calculate the absolute mass flow rate on a plane...I have done CFD in aneurysm but i am not able to get mass flow rate on the plane at neck of aneurysm...since whatever is going inside through this plane is coming out also so mass flow rate is coming near to zero...so i need to calculate absolute mass flow rate...can you please tell me how to do that? |
|
September 7, 2014, 07:43 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143 |
This question appears unrelated to your initial question on streamlines.
In a transient flow what goes into the domain does not necessarily equal what goes out. There can be accumulation (or loss) of stuff within the domain as well. So if you are getting no flow at one point then are you sure the flow is not accumulating somewhere? |
|
September 7, 2014, 07:54 |
|
#5 |
New Member
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11 |
I just want to know flow rate in aneurysm...both mass flow rate and residence time can give me that...hence i asked the second question though both appears to you unrelated...
Mass flow rate at inlet and outlet are equal and opposite hence there should be no accumulation or any losses...problem is at a plane (on the neck of aneurysm) I want inflow rate...how to get that? |
|
September 7, 2014, 08:20 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143 |
Can you post an image of what you are trying to do? Your question does not make sense to me - you say there is no accumulation in the domain, so the inflow equals the outflow. But that means that any cross section through the flow will also have the same flow - so why are you trying to calculate it?
|
|
September 7, 2014, 08:29 |
|
#7 |
New Member
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11 |
may be I am not saying correctly..here is the picture...in this picture one plane is there at the neck of aneurysm...I want to calculate how much flow is going in the aneurysm only...so created a plane at the neck and want to calculate flow on that...
|
|
September 7, 2014, 09:03 |
|
#8 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143 |
Oh, I think I understand now. You could use something like massFlowAveAbs(plane_normal_velocity)@plane where plane_normal_velocity is the velocity field at the plane which is normal to the plane.
But have a think about what you are trying to do. Is the absolute value of the mass flow rate meaningful? Would something like RMS (root mean square) be better? |
|
September 7, 2014, 09:11 |
|
#9 |
New Member
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11 |
ok thanks I'll try out with that expression...In case I want to calculate RMS also could you tell me how to do that?
|
|
September 7, 2014, 18:28 |
|
#10 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143 |
areaAve(Velocity^2)@plane, or you could do a mass average if that is more physical for you.
|
|
September 8, 2014, 01:04 |
|
#11 |
New Member
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11 |
What is the direction of Velocity in the expression "areaAve(Velocity^2)@plane" ? Is it normal to the plane?I think just taking the velocity like this will give magnitude of velocity not direction... Don't you think I should take velocity normal to the plane ...I may be wrong just need your suggestion...
|
|
September 8, 2014, 01:17 |
|
#12 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143 |
Velocity returns the magnitude of the velocity. The magnitude normal to the plane may be more appropriate in your case.
I cannot comment on the appropriateness of any of these approaches as I do not know what you are trying to do with it. All these approaches sound somewhat artificial to me. |
|
September 8, 2014, 01:25 |
|
#13 |
New Member
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11 |
How to get velocity normal to the plane as I have showed in image? In this expression "massFlowAveAbs(plane_normal_velocity)@plane where plane_normal_velocity is the velocity field at the plane which is normal to the plane" is velocity normal to the plane I have created or is in a plane which is normal to plane I have created in image?... I want some measure of flow only for aneurysm... Which function to use for that and in which way is where I am having problem...
|
|
September 8, 2014, 06:09 |
|
#14 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143 |
You can define a local coordinate frame on the plane and use the _x, _y, _z modifiers of velocity to get the normal. Have a look in the CFX reference manual for the available functions, variables and modifiers.
|
|
September 8, 2014, 06:28 |
|
#15 |
New Member
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11 |
okk thanks...
|
|
September 9, 2014, 07:21 |
|
#16 |
New Member
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11 |
I made a local coordinate frame on the plane and tried to use the expression "areaAve_z_Coordinate Frame 1(Velocity)@Plane"...I saw that the values are same for X, Y and Z axis....Could you tell me by seeing images where I am doing wrong?
|
|
September 9, 2014, 07:29 |
|
#17 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143 |
I do not know what is wrong there.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[solidMechanics] solidMechanics gear contact in rotation | nlc | OpenFOAM CC Toolkits for Fluid-Structure Interaction | 3 | January 11, 2015 06:41 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 00:01 |
AMI interDyMFoam for mixer nu problem | danny123 | OpenFOAM Programming & Development | 8 | September 6, 2013 02:34 |
Average value of expression in transient flow analysis | JFK | CFX | 1 | May 22, 2013 08:52 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 18:07 |