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

Average of time on streamline in Transient analysis

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 6, 2014, 14:02
Default Average of time on streamline in Transient analysis
  #1
New Member
 
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11
sonu rao is on a distinguished road
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?
sonu rao is offline   Reply With Quote

Old   September 7, 2014, 06:19
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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)
rajann_786 likes this.
ghorrocks is offline   Reply With Quote

Old   September 7, 2014, 07:16
Default
  #3
New Member
 
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11
sonu rao is on a distinguished road
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?
sonu rao is offline   Reply With Quote

Old   September 7, 2014, 07:43
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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?
ghorrocks is offline   Reply With Quote

Old   September 7, 2014, 07:54
Default
  #5
New Member
 
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11
sonu rao is on a distinguished road
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?
sonu rao is offline   Reply With Quote

Old   September 7, 2014, 08:20
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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?
ghorrocks is offline   Reply With Quote

Old   September 7, 2014, 08:29
Default
  #7
New Member
 
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11
sonu rao is on a distinguished road
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...
Attached Images
File Type: jpg IMG332.jpg (88.4 KB, 32 views)
sonu rao is offline   Reply With Quote

Old   September 7, 2014, 09:03
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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?
ghorrocks is offline   Reply With Quote

Old   September 7, 2014, 09:11
Default
  #9
New Member
 
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11
sonu rao is on a distinguished road
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?
sonu rao is offline   Reply With Quote

Old   September 7, 2014, 18:28
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
areaAve(Velocity^2)@plane, or you could do a mass average if that is more physical for you.
ghorrocks is offline   Reply With Quote

Old   September 8, 2014, 01:04
Default
  #11
New Member
 
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11
sonu rao is on a distinguished road
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...
sonu rao is offline   Reply With Quote

Old   September 8, 2014, 01:17
Default
  #12
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   September 8, 2014, 01:25
Default
  #13
New Member
 
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11
sonu rao is on a distinguished road
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...
sonu rao is offline   Reply With Quote

Old   September 8, 2014, 06:09
Default
  #14
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   September 8, 2014, 06:28
Default
  #15
New Member
 
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11
sonu rao is on a distinguished road
okk thanks...
sonu rao is offline   Reply With Quote

Old   September 9, 2014, 07:21
Default
  #16
New Member
 
Sonu rao
Join Date: Sep 2014
Posts: 9
Rep Power: 11
sonu rao is on a distinguished road
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?
Attached Images
File Type: jpg IMG337.jpg (88.6 KB, 21 views)
File Type: jpg IMG338.jpg (102.3 KB, 20 views)
File Type: jpg IMG341.jpg (100.2 KB, 21 views)
sonu rao is offline   Reply With Quote

Old   September 9, 2014, 07:29
Default
  #17
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,696
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I do not know what is wrong there.
ghorrocks is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[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


All times are GMT -4. The time now is 04:40.