CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

calculate velocity difference

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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 21, 2016, 08:49
Default calculate velocity difference
New Member
Join Date: Aug 2010
Posts: 6
Rep Power: 15
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


velocity difference

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

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