CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Average velocity of two different planes

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 3 Post By Tobi
  • 1 Post By Tobi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2010, 10:34
Default Average velocity of two different planes
  #1
New Member
 
Naveed Iqbal
Join Date: Oct 2009
Location: Germany
Posts: 19
Rep Power: 16
niqbal is on a distinguished road
Hi Foam Users,
I have done some MD simulations in OpenFOAM.The simulation is of water flow in a nanoChannel. At the center of the channel I had taken a slice along the z-axis and draw a velocity profile along the vertical line (y-axis). The velocity profile is atomistic. I want to take a couple of slices and want to take the profile of average velocity at those planes. Is there some way to combine the the velocity profiles and take the average of these profiles in paraview directly? or is there any other suitable way to do it? I am attaching screen shots also. The velocity profiles are at the same vertical line but at two different slices along the z-axis. I want to have the average of these velocity profiles.
Thanks in Advance.

slice1.jpg

velocity_profile1.jpg

velocity_profile2.jpg
niqbal is offline   Reply With Quote

Old   October 22, 2010, 16:35
Default average velocity profile in 3D space
  #2
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
I'm curious about this one as well. I would like to either obtain and average velocity profile from many slices or over a whole 3d domain. Anyone do this before?
chegdan is offline   Reply With Quote

Old   December 20, 2010, 06:59
Default
  #3
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
What do the same with my temperatur profil.

I just can average my Inlet and outlet with "patchAverage T inlet/outlet" but i want to get the average temperature in some other planes. I heard that it is possible to make that with paraview but i don 't know how this works and which filter i have to use.

Some ideas ?
Tobi is offline   Reply With Quote

Old   December 28, 2010, 01:14
Exclamation hi friends
  #4
New Member
 
Abusha
Join Date: Dec 2010
Posts: 2
Rep Power: 0
misge98 is on a distinguished road
I am trying to simulate twin screw pump by using ANSYS-FLUENT and I used dynamic mesh but I have a problem when I preview mesh motion and I got negative volume. before that I used ANSA for intial meshing of the model I think I have to smoothing the mesh but I couldn't, please can you suggest me how can I have to solve it and if you know any other refference on screw pump simulation please tell me.

Thank you!!!
misge98 is offline   Reply With Quote

Old   January 3, 2011, 15:02
Default
  #5
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
I solved it.

You have to do the following steps:

1. open paraview
2. load your file or paraFoam etc.

3. set a slice and apply
4. use the filter -> integrateVariables and apply
5. use the filter -> calculator and apply
6. attribute mode: cell data
7. set a name and then use U/Area for average the velocity over that area ... T/Area for temperatur and so on and apply
8. activate integrateVariables and use "showing -> calculator" and change it to cell data.

The name "result" is the average velocity or so on... you can change the name "result" in the calculator...

thats it ...

bye tobi
pavelow, indy07cz and shadabdyn like this.
Tobi is offline   Reply With Quote

Old   June 17, 2017, 16:12
Default
  #6
New Member
 
shadab ilahi
Join Date: Aug 2016
Posts: 11
Rep Power: 9
shadabdyn is on a distinguished road
Dear Tobi,

I have followed the above steps to calculate the average velocity on the slice but I have one confusion i.e by dividing the velocity by area the result will be of dimension [LT]^-1 which clearly is not the dimension of velocity but according to you the result is giving average velocity.
How is that possible?

Thanks & Regards
Shadab Mohammed
shadabdyn is offline   Reply With Quote

Old   June 19, 2017, 06:08
Default
  #7
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
IntegrateVariable will multiply the quantity by the area or volume of the face/cell. Thats why you have to divide by the complete area/volume at the end again.
You can also make some simple tests to see that this holds or not. E.g. hotRoom tutorial -> uniform field (like T) at time = 0 - slice it, integrateVariable -> T gets 15000 K which could not be correct. Using caluclator filter and divide by the area lead to the average temperature of 300 K again (of course it is the new field).

Hope that it gets clear now. The evaluation should be like (for integrated values):
\phi_A = \sum_i^n \phi_i A_i
\phi_V = \sum_i^n \phi_i V_i
Shadab_Ilahi likes this.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Reply


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
Average Facet, Surface Vertex or Area-Weighted Emmanuel FLUENT 3 March 27, 2020 10:55
Advective BC: local velocity? dany OpenFOAM Running, Solving & CFD 0 July 3, 2009 08:48
Variable for AVERAGE VELOCITY, Pressure etc. in UDF? aam Fluent UDF and Scheme Programming 0 May 15, 2009 05:21
is there any method give node based velocity BC? daniel FLUENT 2 July 18, 2006 21:21
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 05:13


All times are GMT -4. The time now is 19:49.