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

calculating mean streamwise velocity in LES

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 10, 2010, 18:16
Arrow calculating mean streamwise velocity in LES
  #1
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 8
maysmech is on a distinguished road
Dear Foamers
i run a backward facing step case with pisoFoam LES.

Now, i want plot mean stream wise velocity diagram over a specific line.
i have values of stream wise velocity in all time steps but i don't know how can i reach a diagram which show mean stream wise velocity in last time steps. . please tell me its scheme in paraView or Tecplot.
(i know LES doesn't lead to steady state and doesn't have periodic manner but i saw different works which displayed mean stream wise velocity of BFS with LES.)

Best,
maysmech is offline   Reply With Quote

Old   August 10, 2010, 20:13
Default
  #2
Member
 
Simon Lapointe
Join Date: May 2009
Location: Québec, Qc, Canada
Posts: 33
Rep Power: 8
Simon Lapointe is on a distinguished road
To obtain mean velocity (or other variables), you can use the fieldAverage function object during your simulation. This will calculate the average at each time step, and create mean fields.

For example, to average U and p just add the following to your controlDict :

functions
(
fieldAverage1
{
// Type of functionObject
type fieldAverage;

// Where to load it from (if not already in solver)
functionObjectLibs ("libfieldAverage.so");

// Fields to be averaged - runTime modifiable
fields
(
U
{
mean on;
prime2Mean on;
base time;
}
p
{
mean on;
prime2Mean on;
base time;
}
);
}
);
Simon Lapointe is offline   Reply With Quote

Old   August 11, 2010, 04:31
Default
  #3
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 8
maysmech is on a distinguished road
Thanks Simon,
I don't want mean velocity in each time step. i want mean velocity in several time steps in end of simulation times to display a diagram of mean velocity over a line. i don't know how many time step should be considered to show MEAN manner and how to calculate this value.
Best,
maysmech is offline   Reply With Quote

Old   August 12, 2010, 16:07
Question
  #4
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 8
maysmech is on a distinguished road
Any idea ?
maysmech is offline   Reply With Quote

Old   September 6, 2010, 11:38
Default
  #5
Member
 
edison
Join Date: May 2009
Location: Australia
Posts: 33
Rep Power: 8
Edison_Ge is on a distinguished road
Quote:
Originally Posted by maysmech View Post
Any idea ?
I'm having the same problem. And I think the time average in the last time step is the result you are looking for. Just follow the link below and see how things go.

Incompressible LES tutorial (oodles) - time averaged statistics
Edison_Ge is offline   Reply With Quote

Reply

Tags
les, paraview, stream wise velocity

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with assigned inlet velocity profile as a boundary condition Ozgur_ FLUENT 5 August 25, 2015 04:58
Inlet Velocity in CFX aeroman CFX 12 August 6, 2009 18:42
LES: mean velocity and turbulent kinetic energy MET FLUENT 8 December 8, 2006 06:08
Variables Definition in CFX Solver 5.6 R P CFX 2 October 26, 2004 02:13
calculating pressure for given velocity Sergei Chernyshenko Main CFD Forum 0 September 12, 2003 12:27


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