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

calculate velocity difference

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 21, 2016, 09:49
Default calculate velocity difference
  #1
New Member
 
helle
Join Date: Aug 2010
Posts: 6
Rep Power: 16
helly is on a distinguished road
Hello foamers
I am simulating channel395 using pimplefoam (for LES simulation) and now I want to do postprocessing. I need to calculate second order structure function which is defined as:
<(del(u))**2> = <(u(x+del(x))-u(x))**2> (Davidson et al, Journal of fluid mechanics, 2006)

Here <> means averaged quantity and u is the streamwise velocity in x direction and I need to calculate this parameter for w(spanwise velocity) too. but I dont know how to calculate these parameters!!! I need to calculate them in special y (distance from wall) but if It will be possible to calculate them for all y it would be perfect.
I tried to change postchannel.C and foamCalc.C but it was not possible for me as I couldnt understand the commands. I am used to work with an in house code by fortran and use the loops like:
do i=1,x
do j=1,y
....
end do
end do

so I dont have any idea how to change these code or calculate these parameters, so I want to ask for help is anyone can help me.

Thanks in advance
helly is offline   Reply With Quote

Reply

Tags
velocity difference


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
Difficulty in calculating angular velocity of Savonius turbine simulation alfaruk CFX 14 March 17, 2017 07:08
In fluent post processing, difference between, x velocity and axial velocity? padmanathan FLUENT 3 December 20, 2014 16:13
What's the difference between velocity inlet and mass flow inlet? soheil.e.nia FLUENT 5 August 20, 2014 15:08
How to calculate heat transfer for two different velocity fields? eneja Fluent UDF and Scheme Programming 0 June 10, 2014 03:52
Calculate velocity components from shear stress Arnoldinho OpenFOAM Running, Solving & CFD 0 August 29, 2011 13:07


All times are GMT -4. The time now is 12:54.