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

How to use fieldAverage for cylinder-like flow simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 20, 2017, 06:37
Question How to use fieldAverage for cylinder-like flow simulation
  #1
New Member
 
Zinedine
Join Date: Sep 2010
Posts: 19
Rep Power: 15
Zinedine is on a distinguished road
Dear foamers,

Maybe my query might sound obvious, but afrer many attempts I
could not resolve the following:

Let's say you are simulating a cylinder-like fluid flow systems.
You have periodic inlet flow velocity BC and you wish to time
average at certain times.
To be more specific let say that inlet velocity is:
V(t)=Asin(2pi.freq.time).

Now I wish to time average at times where:

1. V(t) = 0 at upstroke
2. V(t) = 0 at down-stroke
2. V(t) = A
4. V(t) = -A

Assume that V(t) = 0 at upstroke at t=0, 1, 2, .... etc ...
V(t) = 0 at downtroke at t=0.5, 1.5, 2.5, .. etc ..
V(T) = A at t= 0.25, 1.25, 2.25, etc
V(T) = -A at t = 0.75, 1.75, 2.75, etc.

using the fieldAverage utility.

I would like time average a times:
1. t=0,1,2,3,4, etc..
2. t= 0.5,1.5,2.5, etc.
3. t= 0.25,1.25,2.25, etc. and
4. t= 0.75, 1.75, 2.75 etc..

This means I need to setup fieldAverage utility in controlDict
four times to achieve the aforementioned, however I am completely
lost in translation !

Your help is greatly appreciated.

Cheers



Z.
Zinedine is offline   Reply With Quote

Reply

Tags
fiedlaverage, openfoam, postprocessing


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
About Some Concepts:Laminar flow, turbulent flow, steady flow and time-dependent flow Jing Main CFD Forum 8 October 5, 2018 17:02
Flow rate restriction simulation set-up siw CFX 4 February 16, 2016 12:15
Numerical simulation of DBD plasma actuator induced flow mukut OpenFOAM 5 January 7, 2014 05:30
Convergence of jet flow simulation MiraLisa FLUENT 0 August 15, 2013 04:44
Coupling of drying process and flow simulation franzdrs Main CFD Forum 0 April 29, 2013 14:11


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